mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-07 12:54:00 +00:00
bug-fix: comments were eating up newlines
This commit is contained in:
parent
8930134d82
commit
fda7077cf2
@ -52,7 +52,14 @@ namespace Compiler
|
|||||||
}
|
}
|
||||||
else if (c==';')
|
else if (c==';')
|
||||||
{
|
{
|
||||||
while (get (c) && c!='\n');
|
while (get (c))
|
||||||
|
{
|
||||||
|
if (c=='\n')
|
||||||
|
{
|
||||||
|
putback (c);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
mLoc.mLiteral.clear();
|
mLoc.mLiteral.clear();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user