summaryrefslogtreecommitdiff
path: root/basic/source/comp/parser.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-22 07:53:47 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-22 07:53:47 +0000
commit89ff6070aafc21bda626a3c5358fa7a8a4854e7b (patch)
tree7975929e40d91508f3ba74bddb583df8649da6b7 /basic/source/comp/parser.cxx
parentd110d3877c802245dc742093d14243a1d6ad8175 (diff)
INTEGRATION: CWS uno4 (1.4.10); FILE MERGED
2003/05/15 13:14:43 ab 1.4.10.1: #109348# Fixed recursion handling
Diffstat (limited to 'basic/source/comp/parser.cxx')
-rw-r--r--basic/source/comp/parser.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx
index 98628dc15ec7..65d050482669 100644
--- a/basic/source/comp/parser.cxx
+++ b/basic/source/comp/parser.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: parser.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2003-04-23 16:56:49 $
+ * last change: $Author: vg $ $Date: 2003-05-22 08:53:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -501,8 +501,10 @@ SbiExprNode* SbiParser::GetWithVar()
void SbiParser::Symbol()
{
SbiExpression aVar( this, SbSYMBOL );
+
bool bEQ = ( Peek() == EQ );
- aVar.Gen( bEQ );
+ RecursiveMode eRecMode = ( bEQ ? PREVENT_CALL : FORCE_CALL );
+ aVar.Gen( eRecMode );
if( !bEQ )
{
aGen.Gen( _GET );