Factor execution aspects from parser_t to parse_execution_context_t .

Still searching for best way to use new parser for execution.
This commit is contained in:
ridiculousfish
2013-12-24 13:17:24 -08:00
parent b6af3e51ab
commit 5b1a532652
7 changed files with 693 additions and 6 deletions

View File

@@ -302,13 +302,13 @@ RESOLVE(block_header)
PRODUCTIONS(for_header) =
{
{KEYWORD(parse_keyword_for), parse_token_type_string, KEYWORD(parse_keyword_in), symbol_arguments_or_redirections_list}
{KEYWORD(parse_keyword_for), parse_token_type_string, KEYWORD(parse_keyword_in), symbol_argument_list}
};
RESOLVE_ONLY(for_header)
PRODUCTIONS(while_header) =
{
{KEYWORD(parse_keyword_while), symbol_statement}
{KEYWORD(parse_keyword_while), symbol_job}
};
RESOLVE_ONLY(while_header)