summaryrefslogtreecommitdiff
path: root/tests/m4.at
Commit message (Collapse)AuthorAgeFilesLines
* package: bump copyrights to 2022Paul Eggert2022-01-151-1/+1
| | | | Run "make update-copyright".
* Update URLs to prefer https: to http:Paul Eggert2021-01-291-1/+1
| | | | Also, fix a few http: URLs that were no longer working.
* package: bump copyrights to 2021Akim Demaille2021-01-161-1/+1
| | | | Run 'make update-copyright'.
* fix generated commentsAkim Demaille2020-05-211-2/+28
| | | | | | | | | In Bison 3.6.2, the comments with brackets lose their brackets, for improper m4 quotation. * data/skeletons/bison.m4 (b4_gsub): New. * data/skeletons/c-like.m4 (_b4_comment): Use it. * tests/m4.at: Check b4_gsub.
* fix: do not emit nested commentsAkim Demaille2020-05-171-0/+46
With input such as %token<fl> yVL_CLOCK "/*verilator sc_clock*/" we generate yVL_CLOCK = 610, /* "/*verilator sc_clock*/" */ which is invalid since the comment will actually be closed on the first "*/". Let's turn "*/" into "*\/" to avoid this. But GCC will also warn about "/*" inside a comment, so let's "escape" it too. Reported by Huang Rui. https://github.com/akimd/bison/issues/38 * data/skeletons/c-like.m4 (_b4_comment): Escape comment delimiters in comments. * tests/input.at (Torturing the Scanner): Check thes cases. * tests/m4.at: New.