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

@@ -1371,7 +1371,7 @@ output_switch_case (List_Node *list, int indent, int *jumps_away)
|| (list->next && list->hash_value == list->next->hash_value)))
{
if (option[LENTABLE])
printf ("%*slengthptr = &lengthtable[%d]\n",
printf ("%*slengthptr = &lengthtable[%d];\n",
indent, "", list->index);
printf ("%*swordptr = &%s[%d];\n",
indent, "", option.get_wordlist_name (), list->index);