diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-28 00:44:20 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-28 00:44:20 -0800 |
commit | 3633c51ad8aee79add7727457c998c42a1638f72 (patch) | |
tree | 79f762b29062e13f95648ffb0a7833949da64af1 /src/proc.h | |
parent | e3970f9cbbd00289c551f947db0f4644654bd8d9 (diff) |
Re-use the parse tree generated during error detection for execution
Prior to this fix, read_ni would use parse_util_detect_errors
to lint the script to run, and then parser_t::eval() to execute it.
Both functions would parse the script into a parse tree. This allows
us to re-use the parse tree, improving perfomance.
Diffstat (limited to 'src/proc.h')
0 files changed, 0 insertions, 0 deletions