🐛 fix lexer to properly cope with repeated comments #2330
This commit is contained in:
parent
1da931730a
commit
3888b1642a
4 changed files with 12 additions and 2 deletions
|
@ -1511,7 +1511,7 @@ scan_number_done:
|
|||
skip_whitespace();
|
||||
|
||||
// ignore comments
|
||||
if (ignore_comments && current == '/')
|
||||
while (ignore_comments && current == '/')
|
||||
{
|
||||
if (!scan_comment())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue