summaryrefslogtreecommitdiff
path: root/basic/source/inc
diff options
context:
space:
mode:
authorNoel Power <noel.power@novell.com>2012-02-21 12:22:32 +0000
committerNoel Power <noel.power@novell.com>2012-02-21 12:26:29 +0000
commit634b211632847dcb04b31f478296e5e6d732ac73 (patch)
tree0ab0b225061a8535befeb8242ad3d2827dec06b9 /basic/source/inc
parent136f53f58e89b13e4d89571fef25b8ba6679e6b4 (diff)
allow keyword Append to be used as a variable. bnc#745930
statements like Dim AppEnd As Integer will generate compiler errors because Append is a special symbol/keyword in libreoffice basic. This restriction though is too strict because 'Append' is only such a keyword when used within the 'Open' statement ( where it refers to one of the possible values for a paramater ).
Diffstat (limited to 'basic/source/inc')
-rw-r--r--basic/source/inc/scanner.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/basic/source/inc/scanner.hxx b/basic/source/inc/scanner.hxx
index 926706cc2af5..9e33f7a8e386 100644
--- a/basic/source/inc/scanner.hxx
+++ b/basic/source/inc/scanner.hxx
@@ -73,6 +73,7 @@ protected:
bool bVBASupportOn; // sal_True: OPTION VBASupport 1 otherwise default False
bool bPrevLineExtentsComment; // sal_True: Previous line is comment and ends on "... _"
+ bool bInStatement;
void GenError( SbError );
public:
SbiScanner( const ::rtl::OUString&, StarBASIC* = NULL );