diff options
Diffstat (limited to 'basic/source/comp/parser.cxx')
-rw-r--r-- | basic/source/comp/parser.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx index 018b2938ee84..e24f89b020a8 100644 --- a/basic/source/comp/parser.cxx +++ b/basic/source/comp/parser.cxx @@ -133,6 +133,7 @@ SbiParser::SbiParser( StarBASIC* pb, SbModule* pm ) bGblDefs = bNewGblDefs = bSingleLineIf = + bCodeCompleting = bExplicit = false; bClassModule = ( pm->GetModuleType() == com::sun::star::script::ModuleType::CLASS ); OSL_TRACE("Parser - %s, bClassModule %d", OUStringToOString( pm->GetName(), RTL_TEXTENCODING_UTF8 ).getStr(), bClassModule ); @@ -314,7 +315,15 @@ void SbiParser::StmntBlock( SbiToken eEnd ) } } +void SbiParser::SetCodeCompleting( const bool& b ) +{ + bCodeCompleting = b; +} +bool SbiParser::IsCodeCompleting() const +{ + return bCodeCompleting; +} bool SbiParser::Parse() { |