1 diff --git basic/source/comp/scanner.cxx basic/source/comp/scanner.cxx
2 index c7fb06c..49e512e 100644
3 --- basic/source/comp/scanner.cxx
4 +++ basic/source/comp/scanner.cxx
5 @@ -479,7 +479,17 @@ PrevLineCommentLbl:
7 if( nCol && *--pLine == '_' )
9 - pLine = NULL; return NextSym();
11 + bool bRes = NextSym();
12 + if ( bVBASupportOn && aSym.GetBuffer()[0] == '.' )
16 + // ^^^ <- spaces is legal in MSO VBA
17 + OSL_TRACE("*** resetting bSpaces***");