mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-27 21:07:47 +00:00
30 lines
1.4 KiB
Text
30 lines
1.4 KiB
Text
int32 *_FUNC_PARSESTRINGSETTING_LONG_PARSESTRINGSETTING=NULL;
|
|
if(_FUNC_PARSESTRINGSETTING_LONG_PARSESTRINGSETTING==NULL){
|
|
_FUNC_PARSESTRINGSETTING_LONG_PARSESTRINGSETTING=(int32*)mem_static_malloc(4);
|
|
*_FUNC_PARSESTRINGSETTING_LONG_PARSESTRINGSETTING=0;
|
|
}
|
|
qbs*oldstr2189=NULL;
|
|
if(_FUNC_PARSESTRINGSETTING_STRING_TOKEN->tmp||_FUNC_PARSESTRINGSETTING_STRING_TOKEN->fixed||_FUNC_PARSESTRINGSETTING_STRING_TOKEN->readonly){
|
|
oldstr2189=_FUNC_PARSESTRINGSETTING_STRING_TOKEN;
|
|
if (oldstr2189->cmem_descriptor){
|
|
_FUNC_PARSESTRINGSETTING_STRING_TOKEN=qbs_new_cmem(oldstr2189->len,0);
|
|
}else{
|
|
_FUNC_PARSESTRINGSETTING_STRING_TOKEN=qbs_new(oldstr2189->len,0);
|
|
}
|
|
memcpy(_FUNC_PARSESTRINGSETTING_STRING_TOKEN->chr,oldstr2189->chr,oldstr2189->len);
|
|
}
|
|
qbs*oldstr2190=NULL;
|
|
if(_FUNC_PARSESTRINGSETTING_STRING_SETTING->tmp||_FUNC_PARSESTRINGSETTING_STRING_SETTING->fixed||_FUNC_PARSESTRINGSETTING_STRING_SETTING->readonly){
|
|
oldstr2190=_FUNC_PARSESTRINGSETTING_STRING_SETTING;
|
|
if (oldstr2190->cmem_descriptor){
|
|
_FUNC_PARSESTRINGSETTING_STRING_SETTING=qbs_new_cmem(oldstr2190->len,0);
|
|
}else{
|
|
_FUNC_PARSESTRINGSETTING_STRING_SETTING=qbs_new(oldstr2190->len,0);
|
|
}
|
|
memcpy(_FUNC_PARSESTRINGSETTING_STRING_SETTING->chr,oldstr2190->chr,oldstr2190->len);
|
|
}
|
|
int32 *_FUNC_PARSESTRINGSETTING_LONG_EQUALS=NULL;
|
|
if(_FUNC_PARSESTRINGSETTING_LONG_EQUALS==NULL){
|
|
_FUNC_PARSESTRINGSETTING_LONG_EQUALS=(int32*)mem_static_malloc(4);
|
|
*_FUNC_PARSESTRINGSETTING_LONG_EQUALS=0;
|
|
}
|