extras/CSVParser: Fixed escaped backslash followed by double quote
authorJerome St-Louis <jerome@ecere.com>
Mon, 22 Sep 2014 22:57:24 +0000 (18:57 -0400)
committerJerome St-Louis <jerome@ecere.com>
Fri, 20 Feb 2015 15:39:11 +0000 (10:39 -0500)
extras/CSVParser.ec

index 06b54f5..38fc5ce 100644 (file)
@@ -146,7 +146,7 @@ public:
                      end = c;
                   }
                }
-               if(options.escaped && ch == '\\')
+               if(!escaped && options.escaped && ch == '\\')
                   escaped = true;
                else
                   escaped = false;