Fixed infinine loop bug when the dot was the last character in the file
This commit is contained in:
parent
ce53b1643b
commit
31548a6e6d
|
@ -497,6 +497,7 @@ L_advance:
|
||||||
{
|
{
|
||||||
current.type = TokenType.dot;
|
current.type = TokenType.dot;
|
||||||
current.value = tokenValue!(TokenType.dot);
|
current.value = tokenValue!(TokenType.dot);
|
||||||
|
nextCharNonLF();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
switch (src.peek())
|
switch (src.peek())
|
||||||
|
|
Loading…
Reference in New Issue