OSDN Git Service

Simplify lexer significantly (remove all stateful lexing).
authorCarl Worth <cworth@cworth.org>
Wed, 12 May 2010 20:19:23 +0000 (13:19 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 12 May 2010 20:20:31 +0000 (13:20 -0700)
commit012295f94c4b02d2683072d9aa6ab56f81409507
treeda16e55b4b69d18f6046802af5c0652d434932e1
parenta68e668b17a00ed5714cdb1e7809b7ba4522d89d
Simplify lexer significantly (remove all stateful lexing).

We are able to remove all state by simply passing NEWLINE through
as a token unconditionally (as opposed to only passing newline when
on a driective line as we did previously).
glcpp-lex.l
glcpp-parse.y