summaryrefslogtreecommitdiffstats
path: root/Make_global.am
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-06-18 10:23:22 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-06-18 11:19:15 +0200
commit7f8d28105c8caeae7af5bccbe4a6d79f1f73e205 (patch)
treec63032a9eda303767d19d53abb9fd20937b1c83b /Make_global.am
parent4677971a01dc4d92087dab139428cf4eaa189536 (diff)
scanner: Do not convert tabs into spaces
Commit 2f86dd5a43baf ("erec: Review erec_print()") changed erec_print() function to expect tabs in input by replacing the whitespace character in the marker line at the same offset with a tab character so that the marker aligns with the offending part of input. The need for that came from JSON input not having its tabs converted to spaces, which erec_print() didn't expect. Above change though has a shortcoming: When reading standard syntax input from a file, Flex code converts tabs into spaces. Location information is taken from this converted input, but when printing an error message, the offending input line is read from the input file directly (which still contains tabs). The solution is to simply drop said tab conversion from scanner.l. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Make_global.am')
0 files changed, 0 insertions, 0 deletions