diff options
author | Gregor Hartmann <gh@openoffice.org> | 2002-07-10 09:54:53 +0000 |
---|---|---|
committer | Gregor Hartmann <gh@openoffice.org> | 2002-07-10 09:54:53 +0000 |
commit | 016cd0024befbcfac77858dcdb5c4dd7b604486a (patch) | |
tree | 5db0c8761385d98e194f441c4688c3ec5902727a /basic | |
parent | 97d1f433cbdc0a5e784c128d9e0f8dfc1a5e6e21 (diff) |
#99860# decrement CallLevel even when compiler error occured
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sbxmod.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 3c47f8a1e89b..7fa85f5b3627 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sbxmod.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: ab $ $Date: 2002-01-08 10:57:34 $ + * last change: $Author: gh $ $Date: 2002-07-10 10:54:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -651,6 +651,8 @@ USHORT SbModule::Run( SbMethod* pMeth ) GlobalRunDeInit(); } } + else + pINST->nCallLvl--; // Call-Level wieder runter } else StarBASIC::FatalError( SbERR_STACK_OVERFLOW ); |