]> git.draconx.ca Git - gob-dx.git/commit
Ensure all sources include <config.h> first.
authorNick Bowler <nbowler@draconx.ca>
Fri, 7 Feb 2020 04:20:16 +0000 (23:20 -0500)
committerNick Bowler <nbowler@draconx.ca>
Fri, 7 Feb 2020 04:24:11 +0000 (23:24 -0500)
commit154af5b3783df5a53759b700db95b88a1e9365ab
treede33dc1cf8ee1bfa2ca2a92a1679ed38a0e182b5
parent14f532691ec5161558c80bfbaa81be053d05f0ca
Ensure all sources include <config.h> first.

Best practice with Autoconf is that <config.h> must be included before
any standard header, because configure tests may define macros to
influence those headers.

Now that we depend on flex we can use a %top block to achieve this in
the scanner.
src/checks.c
src/generate_treefuncs.pl
src/lexer.l
src/main.c
src/out.c
src/parse.y
src/util.c