http://d.puremagic.com/issues/show_bug.cgi?id=4864


Don <clugd...@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                 CC|                            |clugd...@yahoo.com.au


--- Comment #2 from Don <clugd...@yahoo.com.au> 2010-11-17 00:13:39 PST ---
PATCH: statement.c 337.
CompileStatement::flatten()

    Statements *a = new Statements();
    while (p.token.value != TOKeof)
    {
+       int olderrs = global.errors;
        Statement *s = p.parseStatement(PSsemi | PScurlyscope);
+       if (olderrs == global.errors) // discard it if parsing failed
            a->push(s);
    }

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to