diff options
| author | Zeev Suraski <zeev@php.net> | 1999-12-21 20:30:04 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 1999-12-21 20:30:04 +0000 |
| commit | f0888ccaef222093c962eef72857e424f0fc5cb7 (patch) | |
| tree | dd5ae96c2287110b9cd62898ec5b10908460ccf1 /Zend/zend_compile.c | |
| parent | 42847f7d5c434b5ee9c57026b8215df883575d4e (diff) | |
| download | php-git-f0888ccaef222093c962eef72857e424f0fc5cb7.tar.gz | |
Fix the highlighting problem. STR_REALLOC() should be used instead of plain erealloc()
whenever you're dealing with strings that might be coming back from the engine - there seem
to be a few other places like this in PHP.
Diffstat (limited to 'Zend/zend_compile.c')
| -rw-r--r-- | Zend/zend_compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index dbc413b15d..9d70d255fd 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -1251,9 +1251,9 @@ void do_switch_cond(znode *cond CLS_DC) switch_entry.control_var = -1; zend_stack_push(&CG(switch_cond_stack), (void *) &switch_entry, sizeof(switch_entry)); - if (opline->result.op_type == IS_VAR) { +/* if (opline->result.op_type == IS_VAR) { opline->result.u.EA.type |= EXT_TYPE_UNUSED; - } + }*/ do_begin_loop(CLS_C); |
