Merge branch 'fix-lalr_bugs' into iterative
This commit is contained in:
commit
09db791089
1 changed files with 2 additions and 2 deletions
|
|
@ -901,8 +901,8 @@ pprint_stringmap_elems(FILE *file, bool first, char *prefix, size_t n, char sep,
|
|||
if (map->epsilon_branch) {
|
||||
if (!first) {
|
||||
fputc(sep, file);
|
||||
first=false;
|
||||
}
|
||||
first=false;
|
||||
if (n==0) {
|
||||
fputs("\"\"", file);
|
||||
} else {
|
||||
|
|
@ -920,8 +920,8 @@ pprint_stringmap_elems(FILE *file, bool first, char *prefix, size_t n, char sep,
|
|||
if (map->end_branch) {
|
||||
if (!first) {
|
||||
fputs(",\"", file);
|
||||
first=false;
|
||||
}
|
||||
first=false;
|
||||
if (n>0) {
|
||||
fputs("\"\"", file);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue