Remove forgotten debug echo statement.
This commit is contained in:
parent
6a43b0e817
commit
4a1e45e3f8
1 changed files with 0 additions and 1 deletions
|
|
@ -414,7 +414,6 @@ proc getNumber(L: var TLexer): TToken =
|
||||||
# Is there still a literalish char awaiting? Then it's an error!
|
# Is there still a literalish char awaiting? Then it's an error!
|
||||||
if L.buf[postPos] in literalishCharsNoDot or
|
if L.buf[postPos] in literalishCharsNoDot or
|
||||||
(L.buf[postPos] == '.' and L.buf[postPos + 1] in {'0'..'9'}):
|
(L.buf[postPos] == '.' and L.buf[postPos + 1] in {'0'..'9'}):
|
||||||
echo "likely literal error, additionally: '", L.buf[postPos], L.buf[postPos+1], L.buf[postPos+2], L.buf[postPos+3], "', ", postPos
|
|
||||||
lexMessageLitNum(L, errInvalidNumber, startpos)
|
lexMessageLitNum(L, errInvalidNumber, startpos)
|
||||||
# Third stage, extract actual number
|
# Third stage, extract actual number
|
||||||
L.bufpos = startpos # restore position
|
L.bufpos = startpos # restore position
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue