summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-11-27 06:39:31 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-11-27 06:39:31 +0000
commit497fae9d1f23135ffddd5295f16777acc85af89f (patch)
treebaf5d60ee18537bf73d692a7ae4bfdf1a79690dd /Zend/zend_compile.c
parentef08c58664b87d5f07b2850532eb18c07d35404c (diff)
downloadphp-git-497fae9d1f23135ffddd5295f16777acc85af89f.tar.gz
Fixed bug #35411 (Regression with \{$ handling).
Fixed bug #35382 (Comment in end of file produces fatal error).
Diffstat (limited to 'Zend/zend_compile.c')
-rw-r--r--Zend/zend_compile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index d0642735bf..c40b4845e6 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -3998,6 +3998,8 @@ again:
case T_END_HEREDOC:
efree(zendlval->u.constant.value.str.val);
break;
+ case EOF:
+ return EOF;
}
INIT_PZVAL(&zendlval->u.constant);