Kaydet (Commit) 1f6b0823 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Fix previous commit

...4b4a7c0d "Revert a fix that can never have
worked in the first place?"---which presumably did work after all, as Noel
thankfully pointed out to me,
<http://lists.freedesktop.org/archives/libreoffice/2015-September/070193.html>
"Re: [Libreoffice-commits] core.git: basic/source 'Revert a fix that can never
have worked in the first place?'"

Change-Id: I411bfaacbfebf50589290c6a3040d0300c256439
üst f3f1919a
......@@ -215,7 +215,8 @@ SbiExprNode* SbiExpression::Term( const KeywordSymbolInfo* pKeywordSymbolInfo )
return new SbiExprNode( aSym );
}
// no keywords allowed from here on!
if( SbiTokenizer::IsKwd( eTok ) )
if( SbiTokenizer::IsKwd( eTok )
&& (!pParser->IsCompatible() || eTok != INPUT) )
{
pParser->Error( ERRCODE_BASIC_SYNTAX );
bError = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment