summaryrefslogtreecommitdiffstats
path: root/src/erec.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2014-02-04 08:09:27 +0000
committerPatrick McHardy <kaber@trash.net>2014-02-04 08:09:27 +0000
commit585dd18242cec44564eaaee3071ff77c658cfa4d (patch)
treeada4f41526f598473e1cd41b9565284f2f31bf71 /src/erec.c
parent2e44b61aecad1c57cee14d3f765c4ddd82f13dd9 (diff)
scanner: don't update location's line_offset for newlines
When reset_pos() is invoked, YY_USER_ACTION() has already advanced the line offset to the next line. This causes errors for unexpected newlines to incorrectly show the following line when reading from files. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src/erec.c')
0 files changed, 0 insertions, 0 deletions