1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 19:19:56 +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==';')
{
while (get (c) && c!='\n');
while (get (c))
{
if (c=='\n')
{
putback (c);
break;
}
}
mLoc.mLiteral.clear();