int16 FUNC_HASFINALEMPTYARRAYBRACKETS(qbs*_FUNC_HASFINALEMPTYARRAYBRACKETS_STRING_EXPR){
qbs *tqbs;
ptrszint tmp_long;
int32 tmp_fileno;
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
uint8 *tmp_mem_static_pointer=mem_static_pointer;
uint32 tmp_cmem_sp=cmem_sp;
#include "data50.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
libqb_check_stack();
if (is_error_pending()) goto exit_subfunc;
do{
if(!qbevent)break;evnt(18488);}while(r);
do{
qbs_set(_FUNC_HASFINALEMPTYARRAYBRACKETS_STRING_WORK,_FUNC_HASFINALEMPTYARRAYBRACKETS_STRING_EXPR);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(18490);}while(r);
do{
*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_TOKEN_COUNT=FUNC_NUMELEMENTS(_FUNC_HASFINALEMPTYARRAYBRACKETS_STRING_WORK);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(18491);}while(r);
S_21486:;
if ((-(*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_TOKEN_COUNT== 0 ))||is_error_pending()){
if(qbevent){evnt(18492);if(r)goto S_21486;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(18492);}while(r);
}
S_21489:;
while((-(*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_TOKEN_COUNT>= 2 ))||is_error_pending()){
if(qbevent){evnt(18495);if(r)goto S_21489;}
S_21490:;
if ((qbs_cleanup(qbs_tmp_base,(qbs_notequal(FUNC_GETELEMENT(_FUNC_HASFINALEMPTYARRAYBRACKETS_STRING_WORK,&(pass3191= 1 )),qbs_new_txt_len("(",1)))|(qbs_notequal(FUNC_GETELEMENT(_FUNC_HASFINALEMPTYARRAYBRACKETS_STRING_WORK,_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_TOKEN_COUNT),qbs_new_txt_len(")",1)))))||is_error_pending()){
if(qbevent){evnt(18496);if(r)goto S_21490;}
do{
goto dl_exit_3190;
if(!qbevent)break;evnt(18496);}while(r);
}
do{
*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_NESTING= 0 ;
if(!qbevent)break;evnt(18498);}while(r);
do{
*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_WHOLE_WRAP= -1 ;
if(!qbevent)break;evnt(18499);}while(r);
S_21495:;
fornext_value3193= 1 ;
fornext_finalvalue3193=*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_TOKEN_COUNT;
fornext_step3193= 1 ;
if (fornext_step3193<0) fornext_step_negative3193=1; else fornext_step_negative3193=0;
if (is_error_pending()) goto fornext_error3193;
goto fornext_entrylabel3193;
while(1){
fornext_value3193=fornext_step3193+(*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_TOKEN_INDEX);
fornext_entrylabel3193:
*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_TOKEN_INDEX=fornext_value3193;
if (fornext_step_negative3193){
if (fornext_value3193<fornext_finalvalue3193) break;
}else{
if (fornext_value3193>fornext_finalvalue3193) break;
}
fornext_error3193:;
if(qbevent){evnt(18500);if(r)goto S_21495;}
do{
qbs_set(_FUNC_HASFINALEMPTYARRAYBRACKETS_STRING_TOKEN_TEXT,FUNC_GETELEMENT(_FUNC_HASFINALEMPTYARRAYBRACKETS_STRING_WORK,_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_TOKEN_INDEX));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(18501);}while(r);
S_21497:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_HASFINALEMPTYARRAYBRACKETS_STRING_TOKEN_TEXT,qbs_new_txt_len("(",1))))||is_error_pending()){
if(qbevent){evnt(18502);if(r)goto S_21497;}
do{
*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_NESTING=*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_NESTING+ 1 ;
if(!qbevent)break;evnt(18502);}while(r);
}
S_21500:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_HASFINALEMPTYARRAYBRACKETS_STRING_TOKEN_TEXT,qbs_new_txt_len(")",1))))||is_error_pending()){
if(qbevent){evnt(18503);if(r)goto S_21500;}
do{
*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_NESTING=*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_NESTING- 1 ;
if(!qbevent)break;evnt(18504);}while(r);
S_21502:;
if (((-(*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_NESTING== 0 ))&(-(*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_TOKEN_INDEX!=*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_TOKEN_COUNT)))||is_error_pending()){
if(qbevent){evnt(18505);if(r)goto S_21502;}
do{
*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_WHOLE_WRAP= 0 ;
if(!qbevent)break;evnt(18505);}while(r);
do{
goto fornext_exit_3192;
if(!qbevent)break;evnt(18505);}while(r);
}
}
fornext_continue_3192:;
}
fornext_exit_3192:;
S_21508:;
if (((-(*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_WHOLE_WRAP== 0 ))|(-(*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_NESTING!= 0 )))||is_error_pending()){
if(qbevent){evnt(18509);if(r)goto S_21508;}
do{
goto dl_exit_3190;
if(!qbevent)break;evnt(18509);}while(r);
}
do{
qbs_set(_FUNC_HASFINALEMPTYARRAYBRACKETS_STRING_WORK,FUNC_GETELEMENTS(_FUNC_HASFINALEMPTYARRAYBRACKETS_STRING_WORK,&(pass3194= 2 ),&(pass3195=*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_TOKEN_COUNT- 1 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(18510);}while(r);
do{
*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_TOKEN_COUNT=FUNC_NUMELEMENTS(_FUNC_HASFINALEMPTYARRAYBRACKETS_STRING_WORK);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(18511);}while(r);
S_21513:;
if ((-(*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_TOKEN_COUNT== 0 ))||is_error_pending()){
if(qbevent){evnt(18512);if(r)goto S_21513;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(18512);}while(r);
}
dl_continue_3190:;
}
dl_exit_3190:;
S_21517:;
if ((-(*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_TOKEN_COUNT< 2 ))||is_error_pending()){
if(qbevent){evnt(18515);if(r)goto S_21517;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(18515);}while(r);
}
S_21520:;
if ((qbs_cleanup(qbs_tmp_base,(qbs_equal(FUNC_GETELEMENT(_FUNC_HASFINALEMPTYARRAYBRACKETS_STRING_WORK,&(pass3196=*_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_TOKEN_COUNT- 1 )),qbs_new_txt_len("(",1)))&(qbs_equal(FUNC_GETELEMENT(_FUNC_HASFINALEMPTYARRAYBRACKETS_STRING_WORK,_FUNC_HASFINALEMPTYARRAYBRACKETS_LONG_TOKEN_COUNT),qbs_new_txt_len(")",1)))))||is_error_pending()){
if(qbevent){evnt(18516);if(r)goto S_21520;}
do{
*_FUNC_HASFINALEMPTYARRAYBRACKETS_INTEGER_HASFINALEMPTYARRAYBRACKETS= -1 ;
if(!qbevent)break;evnt(18517);}while(r);
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free50.txt"
if ((tmp_mem_static_pointer>=mem_static)&&(tmp_mem_static_pointer<=mem_static_limit)) mem_static_pointer=tmp_mem_static_pointer; else mem_static_pointer=mem_static;
cmem_sp=tmp_cmem_sp;
return *_FUNC_HASFINALEMPTYARRAYBRACKETS_INTEGER_HASFINALEMPTYARRAYBRACKETS;
}
