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


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

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




--- Comment #1 from Don <clugd...@yahoo.com.au>  2009-08-25 02:30:46 PDT ---
Here's a superficial patch. If an error occurs while determining the arguments,
it shouldn't try to determine which template is intended.


Patch: template.c, line 4542.
--------
    // Run semantic on each argument, place results in tiargs[]
+    int olderrors = global.errors;
    semanticTiargs(sc);
+    if (global.errors != olderrors) return; // Quit immediately if error
occurs in argument

    tempdecl = findBestMatch(sc);
    if (!tempdecl)
    {    inst = this;
    return;        // error recovery
    }

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

Reply via email to