summaryrefslogtreecommitdiff
path: root/src/scan.l
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-02-23 15:39:24 +0100
committerWill Estes <westes575@gmail.com>2016-02-24 16:21:08 -0500
commitdcf0226b06289a468578ba9a68f67c73bbcdd7c7 (patch)
treec5cdcd72c25d590036fda5e993a48bccc2293c53 /src/scan.l
parent647a92b9f4cda774fa9a088701e63bde59f5f684 (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/scan.l')
-rw-r--r--src/scan.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scan.l b/src/scan.l
index 9952af7..148d7d9 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 */