Mercurial > hg > index.cgi
comparison lwcc/lex.c @ 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 | 54f213c8fb81 |
comparison
equal
deleted
inserted
replaced
303:659e0e4ce50c | 304:d85d173ba120 |
---|---|
348 char *strval = NULL; | 348 char *strval = NULL; |
349 int ttype = TOK_NONE; | 349 int ttype = TOK_NONE; |
350 int c, c2; | 350 int c, c2; |
351 int cl; | 351 int cl; |
352 struct strbuf *strbuf; | 352 struct strbuf *strbuf; |
353 struct token *t; | 353 struct token *t = NULL; |
354 struct preproc_info *fs; | 354 struct preproc_info *fs; |
355 | 355 |
356 fileagain: | 356 fileagain: |
357 c = preproc_lex_fetch_byte(pp); | 357 c = preproc_lex_fetch_byte(pp); |
358 if (c == CPP_EOF) | 358 if (c == CPP_EOF) |