Changeset 829 for trunk/utils.c


Ignore:
Timestamp:
2012-03-23T09:38:00+01:00 (3 years ago)
Author:
moo
Message:

tests/bug52160.phpt: report multiple error correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/utils.c

    r822 r829  
    617617            compilererror = &sandbox->compilererrors[i]; 
    618618            CG(zend_lineno) = compilererror->lineno; 
    619             zend_error(type, "%s", compilererror->error); 
     619            zend_error(compilererror->type, "%s", compilererror->error); 
    620620        } 
    621621        CG(zend_lineno) = orig_lineno; 
Note: See TracChangeset for help on using the changeset viewer.