]> granicus.if.org Git - flex/commit
Emit no #line directives if gen_line_dirs is false, resolves igh#55.
authorTobias Klauser <tklauser@distanz.ch>
Tue, 23 Feb 2016 14:59:42 +0000 (15:59 +0100)
committerWill Estes <westes575@gmail.com>
Wed, 24 Feb 2016 21:19:49 +0000 (16:19 -0500)
commit647a92b9f4cda774fa9a088701e63bde59f5f684
treeae13d6f585896464da6c1f25ebe1e8c587c59045
parent64f27743785e30855b486e4575429192fddaa9eb
Emit no #line directives if gen_line_dirs is false, resolves igh#55.

There are two instances in the code which will print a #line directive
to the resulting lexer, regardless of the value of gen_line_dirs. Fix
them, so they also respect gen_line_dirs.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
src/buf.c
src/main.c