From 1f7e3c056ce0ea71e1337579b24e8fd1ad26abac Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 2 Dec 2015 17:11:58 -0800 Subject: 2614 - still fixing bugs with missing '[' When skipping past some text (usually whitespace, but also commas and comments) I need to always be aware of whether it's ok to switch to the next line or not. --- 014literal_string.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '014literal_string.cc') diff --git a/014literal_string.cc b/014literal_string.cc index 34655aa9..209a6428 100644 --- a/014literal_string.cc +++ b/014literal_string.cc @@ -24,8 +24,7 @@ put(Type_ordinal, "literal-string", 0); :(before "End next_word Special-cases") if (in.peek() == '[') { string result = slurp_quoted(in); - skip_whitespace(in); - skip_comment(in); + skip_whitespace_and_comments_but_not_newline(in); return result; } -- cgit 1.4.1-2-gfad0