summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-09-29 17:40:03 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-09-29 17:40:03 +0000
commit970312b249ff579c241597672dd9d7af7b2a13b2 (patch)
tree19ef6f5e563e380d9b6adb02d840bb60f1030394
parent0f6c0c813150eaa75626499d2e766720fc4650d6 (diff)
INTEGRATION: CWS ab17fixes (1.2.282); FILE MERGED
2005/09/29 18:28:52 hr 1.2.282.2: #i10000: manual resync; repair broken CWS 2005/08/17 11:18:44 ab 1.2.282.1: #125043# Also accept ; after channel
-rw-r--r--basic/source/comp/io.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/basic/source/comp/io.cxx b/basic/source/comp/io.cxx
index 5b5ec2b9e1bf..34ddff9108a7 100644
--- a/basic/source/comp/io.cxx
+++ b/basic/source/comp/io.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: io.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: hr $ $Date: 2005-09-29 16:35:53 $
+ * last change: $Author: hr $ $Date: 2005-09-29 18:40:03 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -50,7 +50,8 @@ BOOL SbiParser::Channel( BOOL bAlways )
if( IsHash() )
{
SbiExpression aExpr( this );
- if( Peek() == COMMA ) Next();
+ while( Peek() == COMMA || Peek() == SEMICOLON )
+ Next();
aExpr.Gen();
aGen.Gen( _CHANNEL );
bRes = TRUE;