bug-fix: comments were eating up newlines

pull/7/head
Marc Zinnschlag 15 years ago
parent 8930134d82
commit fda7077cf2

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

Loading…
Cancel
Save