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