Commit d9a2bd46 authored by Andrey Vetlugin's avatar Andrey Vetlugin

Unescape double-"

parent 81492bf1
......@@ -30,8 +30,13 @@ List<String> splitLine(String line) {
isFirstCharacterInToken = true
} else if (it == '"') {
if (!isFirstCharacterInToken) {
tokenQuotes << it
isFirstCharacterInToken = false
if (tokenQuotes.size() > 0) {
tokenQuotes = []
currentToken += '"'
} else {
tokenQuotes << it
isFirstCharacterInToken = false
}
}
} else {
// simple character
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment