summaryrefslogtreecommitdiffstats
path: root/tests/012/syntax.tl
Commit message (Collapse)AuthorAgeFilesLines
* parser: #; tests and bugfixes.Kaz Kylheku2021-05-061-0/+20
This is motivated by the recent crash regression in the #; comment out mechanism. The parser doesn't have adequate coverage in the test suite. * tests/012/syntax.tl: New file, for testing syntax. A problem was found #;.expr did not work inside a list, only at top level. It required a space before the dot. * parser.y (listacc): A couple of productions to handle hash-semicolon immediately followed by a dot without any whitespace, and then by an expression. * y.tab.c.shipped: Regenerated.