AS2 pcode lexer fix

This commit is contained in:
honfika@gmail.com
2015-05-01 12:15:54 +02:00
parent 45251ada53
commit 6df9ea4e76
2 changed files with 128 additions and 129 deletions

View File

@@ -93,7 +93,7 @@ NegativeNumberLiteral = - {PositiveNumberLiteral}
NumberLiteral = {PositiveNumberLiteral}|{NegativeNumberLiteral}
/* floating point literals */
FloatLiteral = -?"NaN" | -?{Infinity} | -?(({FLit1}|{FLit2}|{FLit3}) {Exponent}?)
FloatLiteral = "NaN" | {Infinity} | -?(({FLit1}|{FLit2}|{FLit3}) {Exponent}?)
FLit1 = [0-9]+ \. [0-9]*
FLit2 = \. [0-9]+