X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Fparser.h;h=68bebb54ac4dd90654ac36319140a619806c7ede;hp=31bd5b55829ea5268996e668a24b8799c63ad22a;hb=HEAD;hpb=d2e0af1718294569a84c3c15616c74e4d55ea579 diff --git a/src/parser.h b/src/parser.h index 31bd5b5..68bebb5 100644 --- a/src/parser.h +++ b/src/parser.h @@ -38,19 +38,20 @@ struct psi_parser; struct psi_cpp; -struct psi_parser { - PSI_DATA_MEMBERS; - - struct psi_cpp *preproc; -}; - struct psi_parser_input { size_t length; zend_string *file; - unsigned lines; + time_t lmod; 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;