diff options
-rw-r--r-- | basic/source/comp/parser.cxx | 1 | ||||
-rw-r--r-- | basic/source/inc/parser.hxx | 1 | ||||
-rw-r--r-- | basic/source/inc/scanner.hxx | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx index e62273b1f366..b7af29db05ba 100644 --- a/basic/source/comp/parser.cxx +++ b/basic/source/comp/parser.cxx @@ -116,7 +116,6 @@ SbiParser::SbiParser( StarBASIC* pb, SbModule* pm ) aRtlSyms( aGblStrings, SbRTL, this ), aGen( *pm, this, 1024 ) { - pBasic = pb; eCurExpr = SbSYMBOL; eEndTok = NIL; pProc = NULL; diff --git a/basic/source/inc/parser.hxx b/basic/source/inc/parser.hxx index 2245651894df..a1e44ef1dff5 100644 --- a/basic/source/inc/parser.hxx +++ b/basic/source/inc/parser.hxx @@ -68,7 +68,6 @@ public: SbiSymPool aPublics; // module global SbiSymPool aRtlSyms; // Runtime-Library SbiCodeGen aGen; // Code-Generator - StarBASIC* pBasic; // StarBASIC instance SbiSymPool* pPool; SbiExprType eCurExpr; short nBase; // OPTION BASE-value diff --git a/basic/source/inc/scanner.hxx b/basic/source/inc/scanner.hxx index e499c25c7070..3207d5912e5e 100644 --- a/basic/source/inc/scanner.hxx +++ b/basic/source/inc/scanner.hxx @@ -35,6 +35,7 @@ class SbiScanner OUString aLine; const sal_Unicode* pLine; const sal_Unicode* pSaveLine; + StarBASIC* pBasic; // instance for error callbacks void scanAlphanumeric(); void scanGoto(); @@ -43,7 +44,6 @@ protected: OUString aSym; OUString aError; SbxDataType eScanType; - StarBASIC* pBasic; // instance for error callbacks double nVal; // numeric value sal_Int32 nCurCol1; sal_Int32 nSavedCol1; |