aboutsummaryrefslogtreecommitdiffstats
path: root/lib/scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'lib/scanner.l')
-rw-r--r--lib/scanner.l7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/scanner.l b/lib/scanner.l
index fb467cf..7ea02dc 100644
--- a/lib/scanner.l
+++ b/lib/scanner.l
@@ -1,7 +1,7 @@
/* -*- mode: C -*- */
/* --------------------------------------------------------------------------
libconfig - A library for processing structured configuration files
- Copyright (C) 2005-2010 Mark A Lindner
+ Copyright (C) 2005-2014 Mark A Lindner
This file is part of libconfig.
@@ -22,6 +22,7 @@
*/
%option nounistd
+%option never-interactive
%option reentrant
%option noyywrap
%option yylineno
@@ -40,10 +41,10 @@
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
-#include "grammar.h"
-#include "wincompat.h"
#include "parsectx.h"
#include "scanctx.h"
+#include "grammar.h"
+#include "wincompat.h"
#define YY_NO_INPUT // Suppress generation of useless input() function