]> git.draconx.ca Git - cdecl99.git/commitdiff
Add never-interactive flex option.
authorNick Bowler <nbowler@draconx.ca>
Wed, 14 Sep 2011 23:52:14 +0000 (19:52 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 14 Sep 2011 23:52:14 +0000 (19:52 -0400)
This eliminates the (non-ANSI) fileno and isatty calls.  Our input is
always a fixed buffer.

src/scan.l

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