fixed fileparser bug (empty line before the initial begin statement were not handled correctly

actorid
Marc Zinnschlag 15 years ago
parent 592fa84e2d
commit 5a1dd4fedd

@ -75,6 +75,12 @@ namespace Compiler
{
if (code==Scanner::S_newline)
{
if (mState==BeginState)
{
// ignore empty lines
return true;
}
if (mState==BeginCompleteState)
{
// parse the script body

Loading…
Cancel
Save