projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
full struct typedefs
[m6w6/ext-psi]
/
src
/
parser.h
diff --git
a/src/parser.h
b/src/parser.h
index daf99dc8eda359cc02e2a1d0fba8ae75bbee7ced..6710996912d9cdea419f8b22ef65c97328466933 100644
(file)
--- a/
src/parser.h
+++ b/
src/parser.h
@@
-162,7
+162,7
@@
typedef struct decl_struct_layout {
static inline decl_struct_layout *init_decl_struct_layout(size_t pos, size_t len) {
decl_struct_layout *l = calloc(1, sizeof(*l));
-
+ ZEND_ASSERT(pos+len);
l->pos = pos;
l->len = len;
return l;