1
0
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:
Marc Zinnschlag 2010-06-28 11:40:48 +02:00
parent 8930134d82
commit fda7077cf2

View File

@ -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();