aboutsummaryrefslogtreecommitdiffhomepage
path: root/exec.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-01-22 21:57:30 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-01-22 21:57:30 -0800
commit8403aae92886de1e0bd379c94b3715b6df6dc0e4 (patch)
treec923825e13156dc39c028b320f18fcd653ea903b /exec.cpp
parentb43c8da66b3b215690bef5d9814e92bf23b4ba7b (diff)
Convert some cases where parsers are created to using PARSER_TYPE_GENERAL
Diffstat (limited to 'exec.cpp')
-rw-r--r--exec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.cpp b/exec.cpp
index dfaf2de7..baf1e14d 100644
--- a/exec.cpp
+++ b/exec.cpp
@@ -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;