* ch-exp.y (match_string_literal): Allow a zero-length string.
* ch-lang.c (chill_printstr): Don't print zero-length string funny.
This commit is contained in:
parent
5fd5199353
commit
96b6b765fc
3 changed files with 8 additions and 4 deletions
|
@ -95,7 +95,7 @@ chill_printstr (stream, string, length, force_ellipses)
|
|||
|
||||
if (length == 0)
|
||||
{
|
||||
chill_printchar ('\0', stream);
|
||||
fputs_filtered ("\"\"", stream);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue