Fix comment parsing error in CommandManager
This commit is contained in:
parent
ac5cbba0ae
commit
e6699c66ed
|
@ -172,8 +172,11 @@ void skip_blanks_and_comments(StringView base, ByteCount& pos)
|
|||
pos += 2;
|
||||
else if (base[pos] == '#')
|
||||
{
|
||||
while (pos != length and base[pos] != '\n')
|
||||
++pos;
|
||||
while (pos != length)
|
||||
{
|
||||
if (base[pos++] == '\n')
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user