aboutsummaryrefslogtreecommitdiffstats
path: root/lib/scanner.l
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2015-07-08 23:43:03 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2015-07-08 23:53:24 +0100
commit6c7ac8dc769435ea0231db550799d73cb479a773 (patch)
treee5de3e6642d6669a17b2afd8341ea5b82655461c /lib/scanner.l
parent695702e323759d158366d33c24c1ff47141056e9 (diff)
downloadlibconfig-6c7ac8dc769435ea0231db550799d73cb479a773.tar.gz
Imported Upstream version 1.5upstream/1.5
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