mirror of
https://github.com/nlohmann/json.git
synced 2026-05-20 13:15:23 +00:00
🐛 fix lexer to properly cope with repeated comments #2330
This commit is contained in:
@@ -1511,7 +1511,7 @@ scan_number_done:
|
||||
skip_whitespace();
|
||||
|
||||
// ignore comments
|
||||
if (ignore_comments && current == '/')
|
||||
while (ignore_comments && current == '/')
|
||||
{
|
||||
if (!scan_comment())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user