]> git.saurik.com Git - bison.git/commit - src/scan-skel-c.c
Clean up scanners a bit.
authorJoel E. Denny <jdenny@ces.clemson.edu>
Thu, 10 Aug 2006 04:53:04 +0000 (04:53 +0000)
committerJoel E. Denny <jdenny@ces.clemson.edu>
Thu, 10 Aug 2006 04:53:04 +0000 (04:53 +0000)
commitf9bfc42aa704603fc3aeb18be00c78871569a0b4
tree22f3ad4ef844484c6f5f520b4c6a63608a6a15d1
parent06e8700a000fb661a3d15db8e1dfeb6bfcccf86d
Clean up scanners a bit.
* src/flex-scanner.h (FLEX_NO_OBSTACK): New macro that blocks obstack
definitions so gcc won't warn when obstack_for_string is unused.
* src/scan-code.l: config.h and system.h are already #include'd by
scan-code-c.c, so get rid of them here.
* src/scan-gram.l: Likewise.
* src/scan-skel.l: Likewise, and use flex-scanner.h without obstack
definitions rather than duplicating the rest of it.
* src/scan-gram-c.c, scan-skel-c.c: #include "system.h".
ChangeLog
src/flex-scanner.h
src/scan-code.l
src/scan-gram-c.c
src/scan-gram.l
src/scan-skel-c.c
src/scan-skel.l