From: Nick Bowler Date: Wed, 14 Sep 2011 23:52:14 +0000 (-0400) Subject: Add never-interactive flex option. X-Git-Tag: v1~117 X-Git-Url: https://git.draconx.ca/gitweb/cdecl99.git/commitdiff_plain/c034cd7dee803c5e4057ff8069103231ad431463 Add never-interactive flex option. This eliminates the (non-ANSI) fileno and isatty calls. Our input is always a fixed buffer. --- diff --git a/src/scan.l b/src/scan.l index e59b0aa..ad90afe 100644 --- a/src/scan.l +++ b/src/scan.l @@ -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"