summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-02-23 15:39:24 +0100
committerManoj Srivastava <srivasta@debian.org>2016-02-24 14:46:12 -0800
commitc05dc855a3e0741e98173f542ec1383bf2c969b8 (patch)
treed9d0103334e7ffb5831716f5506a06799529ded9 /src
parent86ca4f322bbec8f52a76c1bf2a879bf464d9bb65 (diff)
Allow '%option noline' in flex input file, resolves gh#56.
Allow specifying '%option noline' in the input file, leading to the same effect as calling flex with the command line option --noline. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'src')
-rw-r--r--src/scan.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scan.l b/src/scan.l
index 9eb857a..64ff49f 100644
--- a/src/scan.l
+++ b/src/scan.l
@@ -364,6 +364,7 @@ M4QEND "]]"
interactive interactive = option_sense;
lex-compat lex_compat = option_sense;
posix-compat posix_compat = option_sense;
+ line gen_line_dirs = option_sense;
main {
ACTION_M4_IFDEF( "M4""_YY_MAIN", option_sense);
/* Override yywrap */