pass jny: removed the invalid json escapes
authorAki Van Ness <aki@yosyshq.com>
Thu, 24 Feb 2022 16:19:35 +0000 (11:19 -0500)
committerJacob Lifshay <programmerjake@gmail.com>
Thu, 26 May 2022 02:36:44 +0000 (19:36 -0700)
(cherry picked from commit cae5ea833747e8a5bb5916277d963460712ac890)

backends/jny/jny.cc

index 15dc1c3507b1e8e7faf2078df51bb01995d72387..763d186ac77e338809cc6085a02c6f15259928e7 100644 (file)
@@ -64,30 +64,18 @@ struct JnyWriter
                     } case '\f': {
                         newstr += "\\f";
                         break;
-                    } case '\v': {
-                        newstr += "\\v";
-                        break;
                     } case '\t': {
                         newstr += "\\t";
                         break;
-                    } case '\a': {
-                        newstr += "\\a";
-                        break;
                     } case '\r': {
                         newstr += "\\r";
                         break;
                     } case '\"': {
                         newstr += "\\\"";
                         break;
-                    } case '\'': {
-                        newstr += "\\\'";
-                        break;
                     } case '\b': {
                         newstr += "\\b";
                         break;
-                    } case '\?': {
-                        newstr += "\\?";
-                        break;
                     } default: {
                         newstr += *itr;
                     }