1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

Fix a syntax error in the code generated with -D -l.

This commit is contained in:
Bruno Haible
2000-08-19 11:30:39 +00:00
parent 214e2c12b8
commit 337e23bdeb
3 changed files with 24 additions and 1 deletions

View File

@@ -1,5 +1,12 @@
2000-08-19 Bruno Haible <bruno@linuix.math.u-bordeaux.fr>
* src/key-list.cc (output_switch_case): Add trailing semicolon to
lengthptr assignment line. Fixes bug with -D and -S.
From Reini Urban <rurban@sbox.tu-graz.ac.at>. Also reported by
David Hunter.
* tests/Makefile.in (check-lang-syntax): Perform each test with -D
once without and once with duplicates.
* src/key-list.cc (Key_List::output_lookup_function_body): Avoid
outputting a trivially satisfied test for len.