diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-29 11:27:14 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-29 16:14:51 -0800 |
commit | 8ada404c5f1ec068a8bad144b63878d9962aa1f0 (patch) | |
tree | 6964537047cec6e4b09d0744a01c3208b26dbfea /parser.cpp | |
parent | ebba30d67157cf0dee46edfa5f47a216b1f35ae6 (diff) |
More work towards improving relationship between multithreading and fork
Diffstat (limited to 'parser.cpp')
-rw-r--r-- | parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1314,7 +1314,7 @@ void parser_t::parse_job_argument_list( process_t *p, { wchar_t *end; - if( (p->type == INTERNAL_EXEC) ) + if (p->type == INTERNAL_EXEC) { error( SYNTAX_ERROR, tok_get_pos( tok ), @@ -2233,7 +2233,7 @@ void parser_t::skipped_exec( job_t * j ) } else if( wcscmp( p->argv0(), L"case" )==0) { - if( (current_block->type == SWITCH ) ) + if(current_block->type == SWITCH) { exec( *this, j ); return; |