Files
bison/src
Akim Demaille 80db1029e6 m4: catch suspicions of unevaluated macros
Check in m4's output if there are sequences such as m4_foo or b4_foo,
which are probably resulting from incorrect m4 processing.

It actually already is useful:

- it caught a leaking b4_lac_if leaking from glr.c, where LAC is not
  supported, hence b4_lac_if is not defined.

- it also caught references to location.hh in position.hh when
  location.hh does not exist.

- while making "Code injection" robust to these new warnings (it is
  its very purpose to let b4_canary pass unevaluated), I saw that it
  did not check lalr1.d, and when adding lalr1.d, it revealed it did
  underquote ocurrences of token value types.

* src/scan-skel.l (macro): New abbreviation.
Use it.
* data/skeletons/glr.c: Don't use b4_lac_if, we don't have it.
* data/skeletons/location.cc: Don't generate position.hh when we don't
generate location.hh.
* data/skeletons/d.m4 (b4_basic_symbol_constructor_define): Fix
underquotation.
* data/skeletons/bison.m4 (b4_canary): New.
* tests/input.at (Code injection): Use it, and check lalr1.d too.
2021-08-07 12:53:19 +02:00
..
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-03-10 06:43:00 +01:00
2021-02-26 07:16:57 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2020-04-29 08:47:04 +02:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 14:32:00 +01:00
2021-02-26 07:16:57 +01:00
2021-01-30 07:32:03 +01:00
2021-02-25 06:55:08 +01:00
2021-02-01 06:51:15 +01:00
2021-02-26 07:36:11 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2008-11-15 10:47:15 +01:00
2008-11-15 10:47:15 +01:00
2021-08-03 12:22:52 +02:00
2008-11-15 10:47:15 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2021-01-30 07:32:03 +01:00
2019-01-12 10:45:21 +01:00