Fixed problem in gen_str.c: back-slash escape
This commit is contained in:
parent
e0ecfba967
commit
e61bbc89f3
@ -13,7 +13,7 @@ int n;
|
||||
while (n--)
|
||||
{
|
||||
c= *s++;
|
||||
if (isprint(c) && c != '"')
|
||||
if (isprint(c) && c != '"' && c != '\\')
|
||||
fprint(codefile, "%c", c);
|
||||
else
|
||||
fprint(codefile, "\\%03o", c);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user