From 211da914b918483f51d43fd6eba0eb48eb719801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Wed, 29 Oct 2008 18:35:15 +0000 Subject: [PATCH] [INTERPRETER] * NEW: EXEC / SHELL used without the AS keyword create a process object that does not raise events. [COMPILER] * BUG: Allow the AS keyword in SHELL / EXEC even if the WAIT keyword is used. git-svn-id: svn://localhost/gambas/trunk@1658 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- main/gbc/gbc_trans_subr.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/main/gbc/gbc_trans_subr.c b/main/gbc/gbc_trans_subr.c index 814c76170..96ad11866 100644 --- a/main/gbc/gbc_trans_subr.c +++ b/main/gbc/gbc_trans_subr.c @@ -543,7 +543,6 @@ static void trans_exec_shell(bool shell) bool wait; bool as = TRUE; - /* programme �ex�uter */ TRANS_expression(FALSE); wait = TRANS_is(RS_WAIT); @@ -571,11 +570,9 @@ static void trans_exec_shell(bool shell) mode = TS_EXEC_STRING; wait = TRUE; + as = FALSE; } - if (wait) - as = FALSE; - CODE_push_boolean(wait); CODE_push_number(mode);