diff options
author | Carl Worth <cworth@cworth.org> | 2010-05-27 14:36:29 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-05-27 14:38:20 -0700 |
commit | 050e3ded1ea05cfe336dd0cd20212d17d7960c9e (patch) | |
tree | 55a4e25d0c1c5eb3995e2efd9cbad1c6e7e496ec /Makefile | |
parent | 85b50e840d969c4d9ebcfcc3df1df7a95e07e34e (diff) |
Implement token pasting of integers.
To do this correctly, we change the lexer to lex integers as string values,
(new token type of INTEGER_STRING), and only convert to integer values when
evaluating an expression value.
Add a new test case for this, (which does pass now).
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -7,7 +7,7 @@ CFLAGS = -g override CFLAGS += -Wall -Wextra -Wwrite-strings -Wswitch-enum -Wno-unused glcpp: glcpp.o glcpp-lex.o glcpp-parse.o hash_table.o xtalloc.o - gcc -o $@ -ltalloc $^ + gcc -o $@ -ltalloc -lm $^ %.c %.h: %.y bison --debug --defines=$*.h --output=$*.c $^ |