aboutsummaryrefslogtreecommitdiffhomepage
path: root/parse_constants.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-12-26 14:52:15 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-12-26 14:52:15 -0800
commita6ca809a4e4873f3fd16e4a763001a109afc2185 (patch)
tree56b91b545fb1b7f2b9cd01c76e4d0ff7e2bba38e /parse_constants.h
parentc1a13ae8bcfed6d1ce38453e7fadb2fee887a283 (diff)
Fix for issue where last job_list in tree would have a -1 production_idx
because we never actually sent the terminal token type
Diffstat (limited to 'parse_constants.h')
-rw-r--r--parse_constants.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse_constants.h b/parse_constants.h
index a322073e..b59f52e9 100644
--- a/parse_constants.h
+++ b/parse_constants.h
@@ -56,6 +56,8 @@ enum parse_token_type_t
parse_token_type_redirection,
parse_token_type_background,
parse_token_type_end,
+
+ // Special terminal type that means no more tokens forthcoming
parse_token_type_terminate,
// Very special terminal types that don't appear in the production list