fix a formatting error in h_pprint_stringmap
This commit is contained in:
parent
cdd1289936
commit
9edef88bbc
1 changed files with 2 additions and 2 deletions
|
|
@ -896,8 +896,8 @@ pprint_stringmap_elems(FILE *file, bool first, char *prefix, size_t n, char sep,
|
||||||
if (map->epsilon_branch) {
|
if (map->epsilon_branch) {
|
||||||
if (!first) {
|
if (!first) {
|
||||||
fputc(sep, file);
|
fputc(sep, file);
|
||||||
first=false;
|
|
||||||
}
|
}
|
||||||
|
first=false;
|
||||||
if (n==0) {
|
if (n==0) {
|
||||||
fputs("\"\"", file);
|
fputs("\"\"", file);
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -915,8 +915,8 @@ pprint_stringmap_elems(FILE *file, bool first, char *prefix, size_t n, char sep,
|
||||||
if (map->end_branch) {
|
if (map->end_branch) {
|
||||||
if (!first) {
|
if (!first) {
|
||||||
fputs(",\"", file);
|
fputs(",\"", file);
|
||||||
first=false;
|
|
||||||
}
|
}
|
||||||
|
first=false;
|
||||||
if (n>0) {
|
if (n>0) {
|
||||||
fputs("\"\"", file);
|
fputs("\"\"", file);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue