pass jny: removed the invalid json escapes
authorAki Van Ness <aki@yosyshq.com>
Thu, 24 Feb 2022 16:19:35 +0000 (11:19 -0500)
committerN. Engelhardt <nakengelhardt@gmail.com>
Fri, 8 Apr 2022 06:05:15 +0000 (08:05 +0200)
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;
                     }