Fixed problem in gen_str.c: back-slash escape
authorceriel <none@none>
Wed, 25 Sep 1991 10:28:06 +0000 (10:28 +0000)
committerceriel <none@none>
Wed, 25 Sep 1991 10:28:06 +0000 (10:28 +0000)
mach/sparc/ce/back.src/gen_str.c

index 1bb48d4..34e4e5f 100644 (file)
@@ -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);