mirror of
https://github.com/dlang-community/D-Scanner.git
synced 2025-04-26 13:20:07 +03:00
Fixed infinine loop bug when the dot was the last character in the file
This commit is contained in:
parent
ce53b1643b
commit
31548a6e6d
1 changed files with 1 additions and 0 deletions
|
@ -497,6 +497,7 @@ L_advance:
|
|||
{
|
||||
current.type = TokenType.dot;
|
||||
current.value = tokenValue!(TokenType.dot);
|
||||
nextCharNonLF();
|
||||
return;
|
||||
}
|
||||
switch (src.peek())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue