mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 06:44:44 +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*oldstr6860=NULL;
|
|
if(_FUNC_WIKILOOKAHEAD_STRING_A->tmp||_FUNC_WIKILOOKAHEAD_STRING_A->fixed||_FUNC_WIKILOOKAHEAD_STRING_A->readonly){
|
|
oldstr6860=_FUNC_WIKILOOKAHEAD_STRING_A;
|
|
if (oldstr6860->cmem_descriptor){
|
|
_FUNC_WIKILOOKAHEAD_STRING_A=qbs_new_cmem(oldstr6860->len,0);
|
|
}else{
|
|
_FUNC_WIKILOOKAHEAD_STRING_A=qbs_new(oldstr6860->len,0);
|
|
}
|
|
memcpy(_FUNC_WIKILOOKAHEAD_STRING_A->chr,oldstr6860->chr,oldstr6860->len);
|
|
}
|
|
qbs*oldstr6861=NULL;
|
|
if(_FUNC_WIKILOOKAHEAD_STRING_TOKEN->tmp||_FUNC_WIKILOOKAHEAD_STRING_TOKEN->fixed||_FUNC_WIKILOOKAHEAD_STRING_TOKEN->readonly){
|
|
oldstr6861=_FUNC_WIKILOOKAHEAD_STRING_TOKEN;
|
|
if (oldstr6861->cmem_descriptor){
|
|
_FUNC_WIKILOOKAHEAD_STRING_TOKEN=qbs_new_cmem(oldstr6861->len,0);
|
|
}else{
|
|
_FUNC_WIKILOOKAHEAD_STRING_TOKEN=qbs_new(oldstr6861->len,0);
|
|
}
|
|
memcpy(_FUNC_WIKILOOKAHEAD_STRING_TOKEN->chr,oldstr6861->chr,oldstr6861->len);
|
|
}
|
|
byte_element_struct *byte_element_6862=NULL;
|
|
if (!byte_element_6862){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_6862=(byte_element_struct*)(mem_static_pointer-12); else byte_element_6862=(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;
|
|
}
|