diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-12-24 13:17:24 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-12-24 13:17:24 -0800 |
commit | 5b1a53265233f837e272aa0936267e04c8848856 (patch) | |
tree | 844e1b1224d4d00f6bd406e503a832acc77115f9 /parser.h | |
parent | b6af3e51abd54963948d5523ce01459fadedebbf (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 'parser.h')
-rw-r--r-- | parser.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -95,6 +95,8 @@ public: bool skip; /**< Whether execution of the commands in this block should be skipped */ bool had_command; /**< Set to non-zero once a command has been executed in this block */ int tok_pos; /**< The start index of the block */ + + node_offset_t node_offset; /* Offset of the node */ /** Status for the current loop block. Can be any of the values from the loop_status enum. */ int loop_status; @@ -277,6 +279,7 @@ struct parser_context_t class parser_t { + friend class parse_execution_context_t; private: enum parser_type_t parser_type; |