From 17ec74586a21b6283bedb3fb35630e3231001758 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Wed, 21 Sep 2011 19:12:52 -0400 Subject: [PATCH] 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scan.l b/src/scan.l index 946d58e..54cea88 100644 --- a/src/scan.l +++ b/src/scan.l @@ -17,6 +17,7 @@ * along with this program. If not, see . */ +#include #include "parse.h" } -- 2.43.2