aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-14 00:01:26 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-14 00:02:18 -0800
commitdc8014562b3128dc3725a822c32a24d6a212180e (patch)
tree6c9f25600ca1353aa356a7dca486b9e461cacb4d /builtin.cpp
parentb9394b9599c2449a1f542979eba6c0dc51e13b21 (diff)
Fix for issue where unterminated quotes would attempt to be executed,
instead of continuing edit onto the next line.
Diffstat (limited to 'builtin.cpp')
-rw-r--r--builtin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin.cpp b/builtin.cpp
index 4aab71d4..3e09a1fc 100644
--- a/builtin.cpp
+++ b/builtin.cpp
@@ -4298,7 +4298,7 @@ int builtin_parse(parser_t &parser, wchar_t **argv)
const wcstring src = str2wcstring(&txt.at(0), txt.size());
parse_node_tree_t parse_tree;
parse_error_list_t errors;
- bool success = parse_tree_from_string(src, parse_flag_none, &parse_tree, &errors, true);
+ bool success = parse_tree_from_string(src, parse_flag_none, &parse_tree, &errors);
if (! success)
{
stdout_buffer.append(L"Parsing failed:\n");
@@ -4311,7 +4311,7 @@ int builtin_parse(parser_t &parser, wchar_t **argv)
stdout_buffer.append(L"(Reparsed with continue after error)\n");
parse_tree.clear();
errors.clear();
- parse_tree_from_string(src, parse_flag_continue_after_error, &parse_tree, &errors, true);
+ parse_tree_from_string(src, parse_flag_continue_after_error, &parse_tree, &errors);
}
const wcstring dump = parse_dump_tree(parse_tree, src);
stdout_buffer.append(dump);