Module Name: src Committed By: rillig Date: Tue Oct 5 22:15:32 UTC 2021
Modified Files: src/external/bsd/byacc/dist: reader.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/external/bsd/byacc/dist/reader.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.