]> git.draconx.ca Git - cdecl99.git/commitdiff
Add nodefault to flex options.
authorNick Bowler <nbowler@draconx.ca>
Sun, 18 Sep 2011 23:31:32 +0000 (19:31 -0400)
committerNick Bowler <nbowler@draconx.ca>
Sun, 18 Sep 2011 23:33:27 +0000 (19:33 -0400)
We don't rely on this behaviour, and the default rule causes gcc to emit
a warning with -D_FORTIFY_SOURCE=2.  Just kill it.

src/scan.l

index ad90afecaa7d27f8f8032e8d14a260bb357e7371..946d58ee3d2d4231f7731c484896ae07ed2ea511 100644 (file)
@@ -20,7 +20,7 @@
 #include "parse.h"
 }
 
-%option noyywrap bison-locations reentrant never-interactive
+%option nodefault noyywrap bison-locations reentrant never-interactive
 %option extra-type="_Bool"
 %option prefix="cdecl__yy"