]> granicus.if.org Git - flex/commitdiff
scanner: join symbol list.
authorluistung <dongliang1986@gmail.com>
Mon, 9 Jan 2017 12:18:41 +0000 (20:18 +0800)
committerWill Estes <westes575@gmail.com>
Wed, 11 Jan 2017 14:09:15 +0000 (09:09 -0500)
Removed a newline that caused a problem building the scanner in some
circumstances. Specifically:

'bad character' error  when executing

/bin/sh ../build-aux/ylwrap scan.l lex.yy.c scan.c -- flex

src/scan.l

index 7c9f092b1c6347d6b4815cd5ab1c40798f7ff0d0..181b28c9d98383bc4f648c283d8fdbec1720194b 100644 (file)
@@ -263,8 +263,7 @@ M4QEND      "]""]"
                        }
        .               /* ignore spurious characters */
 }
-<ACTION,CODEBLOCK,ACTION_STRING,PERCENT_BRACE_ACTION,CHARACTER_CONSTANT,
-COMMENT,CODE_COMMENT>{
+<ACTION,CODEBLOCK,ACTION_STRING,PERCENT_BRACE_ACTION,CHARACTER_CONSTANT,COMMENT,CODE_COMMENT>{
    {M4QSTART}   ACTION_ECHO_QSTART;
    {M4QEND}     ACTION_ECHO_QEND;
 }