Make the lexer reentrant (to avoid "still reachable" memory).
authorCarl Worth <cworth@cworth.org>
Mon, 10 May 2010 18:52:29 +0000 (11:52 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 10 May 2010 18:52:29 +0000 (11:52 -0700)
commit38aa83560be3368b4e9784b3ef8f73144171ca45
treedabb8d480013e9862396474656c008fb8b96306b
parent3a37b8701cd3e0a86fef59910b20b2af7e4573f6
Make the lexer reentrant (to avoid "still reachable" memory).

This allows the final program to be 100% "valgrind clean", (freeing
all memory that it allocates). This will make it much easier to ensure
that any allocation that parser actions perform are also cleaned up.
glcpp-lex.l
glcpp-parse.y
glcpp.c