[Issue 2840] Missing line number for int %= complex

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 9 16:38:35 PDT 2009


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


Don <clugdbug at yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |patch
         AssignedTo|nobody at puremagic.com        |bugzilla at digitalmars.com




--- Comment #1 from Don <clugdbug at yahoo.com.au>  2009-06-09 16:38:34 PDT ---
Root cause: ErrorExp() should not generate more error messages (ErrorExp never
has a line number).

PATCH: Solve it for all expression error messages.
expression.c, line 948

void Expression::error(const char *format, ...)
{
+   if (type==Type::terror) return;
    va_list ap;
    va_start(ap, format);
    ::verror(loc, format, ap);
    va_end( ap );
}

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


More information about the Digitalmars-d-bugs mailing list