Files
bison/tests
Akim Demaille adf0425d11 escape properly the file names in #line for printer/destructor
Reported by Jannick.
http://lists.gnu.org/archive/html/bug-bison/2017-05/msg00001.html

"Amusingly" enough, we have the same problem with %defines when the
parser file name has backslashes or quotes: we generate #includes with
an incorrect C string.

* src/output.c (prepare_symbol_definitions): Escape properly the file
names before passing them to M4.
* data/bison.m4, data/lalr1.cc: Don't simply put the file name between
two quotes (that should have been strong enough a smell...), expect
the string to be properly quoted.
* tests/synclines.at: New tests to check this.
2018-08-18 10:04:50 +02:00
..
2008-11-16 19:46:16 +01:00
2018-05-12 18:18:41 +02:00
2018-05-12 18:18:41 +02:00
2018-08-18 07:28:04 +02:00
2018-08-15 19:21:17 +02:00
2018-08-15 19:40:19 +02:00
2018-05-12 18:18:41 +02:00
2018-05-12 18:18:41 +02:00
2018-08-11 18:09:29 +02:00
2018-05-12 18:18:41 +02:00
2018-05-12 18:18:41 +02:00
2018-08-18 07:28:04 +02:00
2018-05-12 18:18:41 +02:00
2018-05-12 18:18:41 +02:00
2018-05-12 18:18:41 +02:00
2018-06-17 18:43:59 +02:00
2018-05-12 18:18:41 +02:00
2018-08-11 18:09:29 +02:00
2018-05-12 18:18:41 +02:00
2018-05-12 18:18:41 +02:00
2018-05-12 18:18:41 +02:00
2018-05-12 18:18:41 +02:00