* 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:
Per Bothner 1994-01-23 20:42:00 +00:00
parent 5fd5199353
commit 96b6b765fc
3 changed files with 8 additions and 4 deletions

View file

@ -95,7 +95,7 @@ chill_printstr (stream, string, length, force_ellipses)
if (length == 0)
{
chill_printchar ('\0', stream);
fputs_filtered ("\"\"", stream);
return;
}