author | Sebastian Harl <sh@tokkee.org> | |
Mon, 31 Aug 2015 20:08:45 +0000 (22:08 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 31 Aug 2015 20:08:45 +0000 (22:08 +0200) | ||
commit | df77814daebd2e4ff336b0f1184458fa4b01d226 | |
tree | cc6cbd58dd01f06492dbaaa67631d857fa67f088 | tree | snapshot |
parent | 6f4b7e7407964b05477416d1c1c4291421a5859a | commit | diff |
parser: Require a context for each parser operation.
That is, let the caller provide the execution context (object type) when
parsing incomplete commands (conditionals / arithmetic expressions). This
removes the need to call the analyzer again and avoids some special code in
the analyzer.
That is, let the caller provide the execution context (object type) when
parsing incomplete commands (conditionals / arithmetic expressions). This
removes the need to call the analyzer again and avoids some special code in
the analyzer.