Closed PeyTy closed 7 years ago
https://github.com/Simn/haxeparser/blob/master/src/haxeparser/HaxeLexer.hx#L64
I think it's incorrect:
"[0-9]+\\.[0-9]+" => mk(lexer, Const(CFloat(lexer.current))),
It should take only single zero or [1-9][0-9]*. Same stuff for other [0-9]+ cases.
[1-9][0-9]*
[0-9]+
https://github.com/Simn/haxeparser/blob/master/src/haxeparser/HaxeLexer.hx#L64
I think it's incorrect:
It should take only single zero or
[1-9][0-9]*
. Same stuff for other[0-9]+
cases.