]> git.draconx.ca Git - cdecl99.git/commit
Include config.h in scan.l.
authorNick Bowler <nbowler@draconx.ca>
Wed, 21 Sep 2011 23:12:52 +0000 (19:12 -0400)
committerNick Bowler <nbowler@draconx.ca>
Thu, 22 Sep 2011 01:08:57 +0000 (21:08 -0400)
commit17ec74586a21b6283bedb3fb35630e3231001758
tree6e9bee416e2f933e103314aee7c945ed06fcf212
parent0892826aa94d87f7313dc83b6d934776a149c14b
Include config.h in scan.l.

This is required for things to work.  Unfortunately, %top{...} appears
to be the only bit where config.h can be put in a flex scanner, as
headers are included before the first %{...} block is output.  Thus, the
include ends up in the scan.h header file.  Nevertheless, this should
not be a problem since config.h only defines macros.
src/scan.l