Fixed lexing error in floating point literals
This commit is contained in:
parent
0561a686d9
commit
bae501e5b1
|
@ -716,7 +716,7 @@ public struct DLexer(R)
|
|||
case '.':
|
||||
if (foundDot)
|
||||
break decimalLoop;
|
||||
auto lookahead = range.lookahead(1);
|
||||
auto lookahead = range.lookahead(2);
|
||||
if (lookahead.length == 1 && lookahead[0] == '.')
|
||||
break decimalLoop;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue