summaryrefslogtreecommitdiff
path: root/src/starter/parser/lexer.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/starter/parser/lexer.l')
-rw-r--r--src/starter/parser/lexer.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/starter/parser/lexer.l b/src/starter/parser/lexer.l
index fb23a0f93..b81d6ce74 100644
--- a/src/starter/parser/lexer.l
+++ b/src/starter/parser/lexer.l
@@ -33,6 +33,11 @@ static void include_files(parser_helper_t *ctx);
/* do not declare unneeded functions */
%option noinput noyywrap
+/* do not include unistd.h as it might conflict with our scanner states */
+%option nounistd
+/* due to that disable interactive mode, which requires isatty() */
+%option never-interactive
+
/* don't use global variables, and interact properly with bison */
%option reentrant bison-bridge