changeset 313:73b2bfa17ab0 ccdev

Checkpoint
author William Astle <lost@l-w.ca>
date Tue, 12 Nov 2013 20:41:14 -0700
parents 41118fb0a8f2
children a3e277c58df9
files lwcc/cpp-main.c lwcc/preproc.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwcc/cpp-main.c	Sat Sep 21 18:43:39 2013 -0600
+++ b/lwcc/cpp-main.c	Tue Nov 12 20:41:14 2013 -0700
@@ -24,7 +24,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-
+#include <lw_alloc.h>
 #include <lw_stringlist.h>
 #include <lw_cmdline.h>
 #include <lw_string.h>
--- a/lwcc/preproc.c	Sat Sep 21 18:43:39 2013 -0600
+++ b/lwcc/preproc.c	Tue Nov 12 20:41:14 2013 -0700
@@ -40,6 +40,8 @@
 extern struct token *preproc_lex_next_token(struct preproc_info *);
 static long preproc_numval(struct preproc_info *, struct token *);
 static int eval_escape(char **);
+extern int preproc_lex_fetch_byte(struct preproc_info *);
+extern void preproc_lex_unfetch_byte(struct preproc_info *, int);
 
 
 struct token *preproc_next_processed_token(struct preproc_info *pp)