Skip to content

Commit

Permalink
fixed duplicate #else
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHaxe committed Nov 9, 2023
1 parent 5f3d79c commit aaba928
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion .haxerc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "4.3.1",
"version": "bdd7bf4",
"resolveLibs": "scoped"
}
5 changes: 0 additions & 5 deletions src/haxeparser/HaxeParser.hx
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ class HaxeCondParser extends hxparse.Parser<hxparse.LexerTokenSource<Token>, Tok
case [{tok:Const(CFloat(f, s)), pos:p}]:
{tk:None, expr:{expr:EConst(CFloat(f, s)), pos:p}};
#else
case [{tok:Const(CInt(i)), pos:p}]:
{tk:None, expr:{expr:EConst(CInt(i)), pos:p}};
case [{tok:Const(CFloat(f)), pos:p}]:
{tk:None, expr:{expr:EConst(CFloat(f)), pos:p}};
#else
case [{tok:Const(CInt(i)), pos:p}]:
{tk:None, expr:{expr:EConst(CInt(i)), pos:p}};
case [{tok:Const(CFloat(f)), pos:p}]:
Expand Down

0 comments on commit aaba928

Please sign in to comment.