Kaydet (Commit) 6c820a28 authored tarafından Michael Stahl's avatar Michael Stahl Kaydeden (comit) Noel Power

basic: _FIND_STATIC likely not an error in SbiExprNode::GenElement()

All other _FIND_* are explicitly not errors, and probably CWS npower10
forgot to adapt this assertion.

Change-Id: If721c275eb1bc31d76140898602b41e11c23d82e
Reviewed-on: https://gerrit.libreoffice.org/7863Reviewed-by: 's avatarNoel Power <noel.power@suse.com>
Tested-by: 's avatarNoel Power <noel.power@suse.com>
üst 970df64b
...@@ -171,7 +171,7 @@ void SbiExprNode::Gen( RecursiveMode eRecMode ) ...@@ -171,7 +171,7 @@ void SbiExprNode::Gen( RecursiveMode eRecMode )
void SbiExprNode::GenElement( SbiOpcode eOp ) void SbiExprNode::GenElement( SbiOpcode eOp )
{ {
#ifdef DBG_UTIL #ifdef DBG_UTIL
if( (eOp < _RTL || eOp > _CALLC) && eOp != _FIND_G && eOp != _FIND_CM ) if ((eOp < _RTL || eOp > _CALLC) && eOp != _FIND_G && eOp != _FIND_CM && eOp != _FIND_STATIC)
pGen->GetParser()->Error( SbERR_INTERNAL_ERROR, "Opcode" ); pGen->GetParser()->Error( SbERR_INTERNAL_ERROR, "Opcode" );
#endif #endif
SbiSymDef* pDef = aVar.pDef; SbiSymDef* pDef = aVar.pDef;
......
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