diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-01-22 21:57:30 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-01-22 21:57:30 -0800 |
commit | 8403aae92886de1e0bd379c94b3715b6df6dc0e4 (patch) | |
tree | c923825e13156dc39c028b320f18fcd653ea903b /exec.cpp | |
parent | b43c8da66b3b215690bef5d9814e92bf23b4ba7b (diff) |
Convert some cases where parsers are created to using PARSER_TYPE_GENERAL
Diffstat (limited to 'exec.cpp')
-rw-r--r-- | exec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1765,7 +1765,7 @@ int exec_subshell( const wchar_t *cmd, prev_status = proc_get_last_status(); - parser_t parser(PARSER_TYPE_GENERAL); + parser_t &parser = parser_t::principal_parser(); if( parser.eval( cmd, io_buffer, SUBST ) ) { status = -1; |