Mercurial > hg > index.cgi
diff lwcc/cpp.h @ 308:670ea8f90212 ccdev
Converted preproc logic to library and moved some utility stuff to lwlib
The strbuf and strpool stuff is generally useful so move it to lwlib where
other such things live.
Also, package the preprocessor logic into a library for easy use in multiple
places.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sat, 21 Sep 2013 13:33:54 -0600 |
parents | b08787e5b9f3 |
children |
line wrap: on
line diff
--- a/lwcc/cpp.h Sat Sep 21 12:27:48 2013 -0600 +++ b/lwcc/cpp.h Sat Sep 21 13:33:54 2013 -0600 @@ -69,7 +69,7 @@ int lexstrloc; // ditto struct preproc_info *n; // next in file stack struct preproc_info *filestack; // stack of saved files during include - struct strpool *strpool; + struct lw_strpool *strpool; lw_stringlist_t quotelist; lw_stringlist_t inclist; };