1 diff --git basic/source/comp/exprtree.cxx basic/source/comp/exprtree.cxx
2 index 1c9ad8f..e12496c 100644
3 --- basic/source/comp/exprtree.cxx
4 +++ basic/source/comp/exprtree.cxx
5 @@ -574,7 +574,11 @@ SbiExprNode* SbiExpression::Unary()
9 - pNd = new SbiExprNode( pParser, Unary(), eTok, NULL );
10 + // process something like "Do While Not "foo"="" "
11 + if( pParser->IsVBASupportOn() )
12 + pNd = new SbiExprNode( pParser, Like(), eTok, NULL );
14 + pNd = new SbiExprNode( pParser, Unary(), eTok, NULL );