projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
CPP builtins
[m6w6/ext-psi]
/
src
/
parser.h
diff --git
a/src/parser.h
b/src/parser.h
index 31bd5b55829ea5268996e668a24b8799c63ad22a..68bebb54ac4dd90654ac36319140a619806c7ede 100644
(file)
--- a/
src/parser.h
+++ b/
src/parser.h
@@
-38,19
+38,20
@@
struct psi_parser;
struct psi_cpp;
struct psi_cpp;
-struct psi_parser {
- PSI_DATA_MEMBERS;
-
- struct psi_cpp *preproc;
-};
-
struct psi_parser_input {
size_t length;
zend_string *file;
struct psi_parser_input {
size_t length;
zend_string *file;
-
unsigned lines
;
+
time_t lmod
;
char buffer[1];
};
char buffer[1];
};
+struct psi_parser {
+ PSI_DATA_MEMBERS;
+
+ struct psi_cpp *preproc;
+ struct psi_parser_input *input;
+};
+
static inline void psi_parser_input_free(struct psi_parser_input **I) {
if (*I) {
struct psi_parser_input *i = *I;
static inline void psi_parser_input_free(struct psi_parser_input **I) {
if (*I) {
struct psi_parser_input *i = *I;