summaryrefslogtreecommitdiff
path: root/Zend/zend.h
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2003-03-31 20:42:01 +0000
committerAndrei Zmievski <andrei@php.net>2003-03-31 20:42:01 +0000
commit5657b8369119dab9c81deb036d7a43c83df332cb (patch)
tree74f0557311da249690b7b2efdc08512cdcc03d5d /Zend/zend.h
parent383808e9d3e17d2ca2cb513d5d7d6b1dd9681c12 (diff)
downloadphp-git-5657b8369119dab9c81deb036d7a43c83df332cb.tar.gz
Multi-purpose patch:
- The fields of zend_namespace were not completely initialized which led to a variety of problems. - The occurrence of class/interface/namespace definition is now captured. - Functions/classes/interfaces/namespaces can be preceded by doc comments which are stored for use by extensions.
Diffstat (limited to 'Zend/zend.h')
-rw-r--r--Zend/zend.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Zend/zend.h b/Zend/zend.h
index 3cf15371f0..a2212446ff 100644
--- a/Zend/zend.h
+++ b/Zend/zend.h
@@ -335,6 +335,12 @@ struct _zend_class_entry {
zend_class_entry **interfaces;
zend_uint num_interfaces;
+ char *filename;
+ zend_uint line_start;
+ zend_uint line_end;
+ char *doc_comment;
+ zend_uint doc_comment_len;
+
/* old handlers */
#if 0
void (*handle_function_call)(INTERNAL_FUNCTION_PARAMETERS, zend_property_reference *property_reference);