diff lwcc/cpp.h @ 304:d85d173ba120 ccdev

Checkpoint lwcc development - preprocessor is runnable but nonfunctional The preprocessor is currently runnable but doesn't actually do anything useful. This is just a checkpoint.
author William Astle <lost@l-w.ca>
date Tue, 17 Sep 2013 19:33:41 -0600
parents 8d6c47395653
children b08787e5b9f3
line wrap: on
line diff
--- a/lwcc/cpp.h	Tue Sep 17 19:32:14 2013 -0600
+++ b/lwcc/cpp.h	Tue Sep 17 19:33:41 2013 -0600
@@ -67,6 +67,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;
 };
 
 extern struct preproc_info *preproc_init(const char *);
@@ -78,5 +79,6 @@
 extern void preproc_throw_error(struct preproc_info *, const char *, ...);
 extern void preproc_throw_warning(struct preproc_info *, const char *, ...);
 extern void preproc_unget_token(struct preproc_info *, struct token *);
+extern struct token *preproc_next(struct preproc_info *);
 
 #endif // cpp_h_seen___