aboutsummaryrefslogtreecommitdiffhomepage
path: root/parse_tree.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-12-24 13:17:24 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-12-24 13:17:24 -0800
commit5b1a53265233f837e272aa0936267e04c8848856 (patch)
tree844e1b1224d4d00f6bd406e503a832acc77115f9 /parse_tree.h
parentb6af3e51abd54963948d5523ce01459fadedebbf (diff)
Factor execution aspects from parser_t to parse_execution_context_t .
Still searching for best way to use new parser for execution.
Diffstat (limited to 'parse_tree.h')
-rw-r--r--parse_tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse_tree.h b/parse_tree.h
index 87e3ecec..9a5d7c23 100644
--- a/parse_tree.h
+++ b/parse_tree.h
@@ -241,8 +241,8 @@ public:
block_statement = block_header <TOK_END> job_list end_command arguments_or_redirections_list
block_header = for_header | while_header | function_header | begin_header
- for_header = FOR var_name IN arguments_or_redirections_list
- while_header = WHILE statement
+ for_header = FOR var_name IN argument_list
+ while_header = WHILE job
begin_header = BEGIN
function_header = FUNCTION function_name argument_list