mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-08 17:00:17 +00:00
31 lines
1.4 KiB
Text
31 lines
1.4 KiB
Text
qbs *_FUNC_WIKILOOKAHEAD_STRING_WIKILOOKAHEAD=NULL;
|
|
if (!_FUNC_WIKILOOKAHEAD_STRING_WIKILOOKAHEAD)_FUNC_WIKILOOKAHEAD_STRING_WIKILOOKAHEAD=qbs_new(0,0);
|
|
qbs*oldstr6580=NULL;
|
|
if(_FUNC_WIKILOOKAHEAD_STRING_A->tmp||_FUNC_WIKILOOKAHEAD_STRING_A->fixed||_FUNC_WIKILOOKAHEAD_STRING_A->readonly){
|
|
oldstr6580=_FUNC_WIKILOOKAHEAD_STRING_A;
|
|
if (oldstr6580->cmem_descriptor){
|
|
_FUNC_WIKILOOKAHEAD_STRING_A=qbs_new_cmem(oldstr6580->len,0);
|
|
}else{
|
|
_FUNC_WIKILOOKAHEAD_STRING_A=qbs_new(oldstr6580->len,0);
|
|
}
|
|
memcpy(_FUNC_WIKILOOKAHEAD_STRING_A->chr,oldstr6580->chr,oldstr6580->len);
|
|
}
|
|
qbs*oldstr6581=NULL;
|
|
if(_FUNC_WIKILOOKAHEAD_STRING_TOKEN->tmp||_FUNC_WIKILOOKAHEAD_STRING_TOKEN->fixed||_FUNC_WIKILOOKAHEAD_STRING_TOKEN->readonly){
|
|
oldstr6581=_FUNC_WIKILOOKAHEAD_STRING_TOKEN;
|
|
if (oldstr6581->cmem_descriptor){
|
|
_FUNC_WIKILOOKAHEAD_STRING_TOKEN=qbs_new_cmem(oldstr6581->len,0);
|
|
}else{
|
|
_FUNC_WIKILOOKAHEAD_STRING_TOKEN=qbs_new(oldstr6581->len,0);
|
|
}
|
|
memcpy(_FUNC_WIKILOOKAHEAD_STRING_TOKEN->chr,oldstr6581->chr,oldstr6581->len);
|
|
}
|
|
byte_element_struct *byte_element_6582=NULL;
|
|
if (!byte_element_6582){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6582=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6582=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_WIKILOOKAHEAD_LONG_J=NULL;
|
|
if(_FUNC_WIKILOOKAHEAD_LONG_J==NULL){
|
|
_FUNC_WIKILOOKAHEAD_LONG_J=(int32*)mem_static_malloc(4);
|
|
*_FUNC_WIKILOOKAHEAD_LONG_J=0;
|
|
}
|