mirror of
https://github.com/dlang-community/D-Scanner.git
synced 2025-04-27 13:50:02 +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':
|
case 'L':
|
||||||
if (isLong)
|
if (isLong)
|
||||||
break decimalLoop;
|
break decimalLoop;
|
||||||
++endIndex;
|
|
||||||
lexingSuffix = true;
|
|
||||||
if (isReal)
|
if (isReal)
|
||||||
break decimalLoop;
|
break decimalLoop;
|
||||||
|
++endIndex;
|
||||||
|
lexingSuffix = true;
|
||||||
if (isDouble)
|
if (isDouble)
|
||||||
token.type = TokenType.realLiteral;
|
token.type = TokenType.realLiteral;
|
||||||
else if (isUnsigned)
|
else if (isUnsigned)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue