diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-09-09 06:43:08 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-09-09 06:43:08 +0000 |
commit | b5155aab6062c66d609c92ddc36e8c69dbd845e4 (patch) | |
tree | f00816d23680a4c9817dd449ad6b03d13a021c74 /basic/source/comp | |
parent | 00bbda322c79e51565e3f2e8c6b25a90830a350e (diff) |
INTEGRATION: CWS ab10fixes (1.13.2); FILE MERGED
2004/08/05 10:18:39 ab 1.13.2.2: #i25869# Allow comments in type definition
2004/08/04 09:38:42 ab 1.13.2.1: #i26061# Fixed loop in Dim error handling
Diffstat (limited to 'basic/source/comp')
-rw-r--r-- | basic/source/comp/dim.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/basic/source/comp/dim.cxx b/basic/source/comp/dim.cxx index c531aa0c4eed..7295ea911aad 100644 --- a/basic/source/comp/dim.cxx +++ b/basic/source/comp/dim.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dim.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: obo $ $Date: 2004-06-03 14:33:07 $ + * last change: $Author: obo $ $Date: 2004-09-09 07:43:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -550,6 +550,7 @@ void SbiParser::Type() break; case EOLN : + case REM : pElem = NULL; Next(); break; @@ -557,6 +558,8 @@ void SbiParser::Type() default: pDim = NULL; pElem = VarDecl(&pDim,FALSE,FALSE); + if( !pElem ) + bDone = TRUE; // Error occured if( pDim ) { // HOT FIX, to be updated |