Mercurial > hg > index.cgi
diff lwcc/cpp.h @ 300:8d6c47395653 ccdev
Implemented #include and #line
Theoretically, directives are now implemented.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sun, 15 Sep 2013 13:49:00 -0600 |
parents | 6112c67728ba |
children | d85d173ba120 |
line wrap: on
line diff
--- a/lwcc/cpp.h Sun Sep 15 13:06:00 2013 -0600 +++ b/lwcc/cpp.h Sun Sep 15 13:49:00 2013 -0600 @@ -65,6 +65,8 @@ struct expand_e *expand_list; // record of which macros are currently being expanded char *lexstr; // for lexing a string (token pasting) int lexstrloc; // ditto + struct preproc_info *n; // next in file stack + struct preproc_info *filestack; // stack of saved files during include }; extern struct preproc_info *preproc_init(const char *);