Ignore:
Timestamp:
2008-01-04T12:38:57+01:00 (6 years ago)
Author:
moo
Message:

fixed #157: support user error handler for E_STRICT. E_STRICT is now cached

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/processor.m4

    r495 r496  
    741741dnl }}} 
    742742#endif 
     743#ifdef E_STRICT 
     744DEF_STRUCT_P_FUNC(`xc_compilererror_t', , `dnl {{{ 
     745    DISPATCH(int, type) 
     746    DISPATCH(uint, lineno) 
     747    DISPATCH(int, error_len) 
     748    PROC_STRING_L(error, error_len) 
     749') 
     750dnl }}} 
     751#endif 
    743752DEF_STRUCT_P_FUNC(`xc_entry_data_php_t', , `dnl {{{ 
    744753    zend_uint i; 
     
    790799    ') 
    791800#endif 
     801#ifdef E_STRICT 
     802    DISPATCH(zend_uint, compilererror_cnt) 
     803    IFRESTORE(` 
     804        COPY(compilererrors) 
     805    ', ` 
     806        STRUCT_ARRAY(compilererror_cnt, xc_compilererror_t, compilererrors) 
     807    ') 
     808#endif 
    792809    DISPATCH(zend_bool, have_early_binding) 
    793810    DISPATCH(zend_bool, have_references) 
Note: See TracChangeset for help on using the changeset viewer.