diff options
author | Andi Gutmans <andi@php.net> | 1999-05-20 09:02:03 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 1999-05-20 09:02:03 +0000 |
commit | 0bc950bcd52846ca2caf23f93f053a939af9ec8d (patch) | |
tree | e23b0e40d14a21484fe497b0452b578e94e79d2e | |
parent | db6ce2f2a9e7b54f3c0bf2920eb8583b09ffcfda (diff) | |
download | php-git-0bc950bcd52846ca2caf23f93f053a939af9ec8d.tar.gz |
-Open curly braces fix?
-rw-r--r-- | Zend/zend-scanner.l | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Zend/zend-scanner.l b/Zend/zend-scanner.l index cd1af3af69..a13ae4a545 100644 --- a/Zend/zend-scanner.l +++ b/Zend/zend-scanner.l @@ -881,7 +881,10 @@ ESCAPED_AND_WHITESPACE [\n\t\r #'.:;,()|^&+-/*=%!~<>?@]+ <IN_SCRIPTING>"}" { - yy_pop_state(); + /* This is a temporary fix which is dependant on flex and it's implementation */ + if (yy_start_stack_ptr) { + yy_pop_state(); + } return '}'; } |