Module Name: src Committed By: rillig Date: Sun Feb 7 20:40:06 UTC 2021
Modified Files: src/tests/lib/libcurses/director: testlang_conf.l testlang_parse.y src/tests/lib/libcurses/tests: keyname Log Message: tests/libcurses: fix grammar for arrays Previously, commas were completely ignored by the grammar. Erroring out on invalid characters made some of the tests fail since the comma was not recognized anymore. Add it back, but only for defining arrays. It would have been possible to leave out the commas or make them optional, but since the current tests do not make use of that, keep the grammar as strict as possible. Fix an unclosed string literal in a test. This had been wrongly accepted before by the grammar. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/tests/lib/libcurses/director/testlang_conf.l cvs rdiff -u -r1.31 -r1.32 src/tests/lib/libcurses/director/testlang_parse.y cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libcurses/tests/keyname Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.