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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Out of Memory error on      |Compiler hangs on poorly
                   |poorly formed recurrence    |formed recurrence function
                   |function                    |
         OS/Version|Linux                       |All
           Severity|minor                       |major




--- Comment #2 from Don <clugd...@yahoo.com.au>  2009-08-05 08:18:18 PDT ---
Gets into an infinite loop while parsing the mixin.

Here's a superficial patch, which turns it into an ICE with line number.
Doesn't fix the root cause, but still an improvement.
parse.c, line 3358:

        while (token.value != TOKrcurly)
        {
 +           if (token.value==TOKeof) { 
 +               printf("%s Internal Compiler Error: } expected, not EOF\n",
 +                   loc.toChars());
 +               assert(0);
 +           }

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

Reply via email to