forked from Imagelibrary/binutils-gdb
* 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:
@@ -95,7 +95,7 @@ chill_printstr (stream, string, length, force_ellipses)
|
||||
|
||||
if (length == 0)
|
||||
{
|
||||
chill_printchar ('\0', stream);
|
||||
fputs_filtered ("\"\"", stream);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user