NetBSD/external/bsd/byacc
rillig 8183d7c624 byacc: fix line number information for code coverage
Previously, running gcov on a parser generated by byacc resulted in
obviously wrong counts. There were empty lines that had counts, and the
same counts spilled over to some nearby lines.

Only generate preprocessor line directives for the actual action code,
switch back to an empty filename for the glue code.

This only fixes the parsers in default mode. Parsers that use the
backtracking option may still report wrong counts.

Reported upstream via private mail.
2021-10-05 22:15:32 +00:00
..
bin Improve PostScript output. 2020-07-27 00:34:56 +00:00
dist byacc: fix line number information for code coverage 2021-10-05 22:15:32 +00:00
include Enable the backtracking extension, otherwise code does not compile with YYDEBUG. 2019-10-07 02:56:33 +00:00
Makefile
Makefile.inc
byacc2netbsd