diff options
author | Andreas Bregas <ab@openoffice.org> | 2000-10-10 13:38:53 +0000 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2000-10-10 13:38:53 +0000 |
commit | dcd950309d236d21d0e3f384c2d2f568babf7a41 (patch) | |
tree | d6764311e54f4bb52ef59ceb83546cd65756283f /basic/source | |
parent | 0b3a6e025130b7928e64aeaa4f5df9f3ba43f01a (diff) |
#71504# No // comment in syntax highlighting
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/classes/sbxmod.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 187a5b45280c..b439303cdf62 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sbxmod.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:12:10 $ + * last change: $Author: ab $ $Date: 2000-10-10 14:38:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1198,7 +1198,7 @@ BOOL SimpleTokenizer_Impl::getNextToken( /*out*/TokenTypes& reType, || ((!bStarScriptMode) && (c == '\'')) ) { // Kommentar ? - if ( (( c == '/' ) || bLineHasCommentBegin) || ((!bStarScriptMode) && (c == '\'')) ) + if ( (( c == '/' && bStarScriptMode ) || bLineHasCommentBegin) || ((!bStarScriptMode) && (c == '\'')) ) { char cNext = peekChar(); if ( cNext == '/' || ( bStarScriptMode && (cNext == '*' || bLineHasCommentBegin)) @@ -1284,7 +1284,7 @@ BOOL SimpleTokenizer_Impl::getNextToken( /*out*/TokenTypes& reType, } } // HTML-Kommentar - else if( c == '<' ) + else if( c == '<' && bStarScriptMode ) { char cNext = peekChar(); if( cNext == '!' ) |