aboutsummaryrefslogtreecommitdiffhomepage
path: root/tokenizer.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-22 01:09:07 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-22 01:09:07 -0800
commit90495f3ac544ba89a3f7063de6e1fb4cd74872a7 (patch)
tree1e403005b5a46e7e271339ddb4e856cec4a02b91 /tokenizer.cpp
parent6fc9e6f21ed8e6ebc2c6254426d1dc33f6bce636 (diff)
Implement new newline-escaping behavior. Backslashes at the end of lines now essentially delete the newline, within normal text or double quotes. Backslashes are retained within single quotes.
Diffstat (limited to 'tokenizer.cpp')
-rw-r--r--tokenizer.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/tokenizer.cpp b/tokenizer.cpp
index 84702b55..e2e515bf 100644
--- a/tokenizer.cpp
+++ b/tokenizer.cpp
@@ -255,14 +255,6 @@ static void read_string(tokenizer_t *tok)
tok->buff--;
do_loop = 0;
}
-
-
- }
- else if (*tok->buff == L'\n' && mode == mode_regular_text)
- {
- tok->buff--;
- do_loop = 0;
- break;
}
tok->buff++;