aboutsummaryrefslogtreecommitdiffhomepage
path: root/parse_constants.h
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 /parse_constants.h
parentb9394b9599c2449a1f542979eba6c0dc51e13b21 (diff)
Fix for issue where unterminated quotes would attempt to be executed,
instead of continuing edit onto the next line.
Diffstat (limited to 'parse_constants.h')
-rw-r--r--parse_constants.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/parse_constants.h b/parse_constants.h
index 104af27f..d8ef59a0 100644
--- a/parse_constants.h
+++ b/parse_constants.h
@@ -114,7 +114,11 @@ enum parse_error_code_t
parse_error_generic, // unclassified error types
- parse_error_tokenizer, //tokenizer error
+ //tokenizer errors
+ parse_error_tokenizer_unterminated_quote,
+ parse_error_tokenizer_unterminated_subshell,
+ parse_error_tokenizer_unterminated_escape,
+ parse_error_tokenizer_other,
parse_error_unbalancing_end, //end outside of block
parse_error_unbalancing_else, //else outside of if