Browse Source

- fixed macro quote escaping

Laurent Bedubourg 19 years ago
parent
commit
a747be2dd3
1 changed files with 6 additions and 0 deletions
  1. 6 0
      std/mtwin/templo/Parser.hx

+ 6 - 0
std/mtwin/templo/Parser.hx

@@ -498,6 +498,9 @@ class Parser {
 						skip = true;
 						++i; 
 					}
+					else if (c == "\\" && n == "\""){
+						skip = true;
+					}
 					else if (c == "'"){
 						state = states.none;
 						result.add("\")");
@@ -510,6 +513,9 @@ class Parser {
 						skip = true;
 						++i;
 					}
+					else if (c == "\\" && n == "'"){
+						skip = true;
+					}
 					else if (c == "\""){
 						state = states.none;
 						result.add("\")");