mirror of
https://github.com/dlang-community/D-Scanner.git
synced 2025-04-26 21:30:14 +03:00
Fixed a small bug in lexDecimal
This commit is contained in:
parent
18889620b5
commit
e528248c59
1 changed files with 2 additions and 2 deletions
|
@ -407,10 +407,10 @@ pure nothrow void lexDecimal(S)(ref S inputString, size_t startIndex,
|
|||
case 'L':
|
||||
if (isLong)
|
||||
break decimalLoop;
|
||||
++endIndex;
|
||||
lexingSuffix = true;
|
||||
if (isReal)
|
||||
break decimalLoop;
|
||||
++endIndex;
|
||||
lexingSuffix = true;
|
||||
if (isDouble)
|
||||
token.type = TokenType.realLiteral;
|
||||
else if (isUnsigned)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue