mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-16 17:54:16 +00:00
b586eafd3b
LINE INPUT will now use the faster method if passed a file handle that has been opened FOR BINARY. As such, the _BLINEINPUT command has been removed. qb64.bas now takes advantage of this for reading from '$include files, at least in Include Manager 1. Some tweaking of internal/source/main.txt was required to get things into a sane state, so I'm holing off changing the compiler any further so the auto-builder can make sure everything's smoothed over. Note: Everything should still compile as normal; I'm just being overcautious.
126 lines
7.2 KiB
Text
126 lines
7.2 KiB
Text
qbs *_FUNC_TYPE2SYMBOL_STRING_TYPE2SYMBOL=NULL;
|
|
if (!_FUNC_TYPE2SYMBOL_STRING_TYPE2SYMBOL)_FUNC_TYPE2SYMBOL_STRING_TYPE2SYMBOL=qbs_new(0,0);
|
|
qbs*oldstr2764=NULL;
|
|
if(_FUNC_TYPE2SYMBOL_STRING_TYP->tmp||_FUNC_TYPE2SYMBOL_STRING_TYP->fixed||_FUNC_TYPE2SYMBOL_STRING_TYP->readonly){
|
|
oldstr2764=_FUNC_TYPE2SYMBOL_STRING_TYP;
|
|
if (oldstr2764->cmem_descriptor){
|
|
_FUNC_TYPE2SYMBOL_STRING_TYP=qbs_new_cmem(oldstr2764->len,0);
|
|
}else{
|
|
_FUNC_TYPE2SYMBOL_STRING_TYP=qbs_new(oldstr2764->len,0);
|
|
}
|
|
memcpy(_FUNC_TYPE2SYMBOL_STRING_TYP->chr,oldstr2764->chr,oldstr2764->len);
|
|
}
|
|
qbs *_FUNC_TYPE2SYMBOL_STRING_T=NULL;
|
|
if (!_FUNC_TYPE2SYMBOL_STRING_T)_FUNC_TYPE2SYMBOL_STRING_T=qbs_new(0,0);
|
|
int32 *_FUNC_TYPE2SYMBOL_LONG_I=NULL;
|
|
if(_FUNC_TYPE2SYMBOL_LONG_I==NULL){
|
|
_FUNC_TYPE2SYMBOL_LONG_I=(int32*)mem_static_malloc(4);
|
|
*_FUNC_TYPE2SYMBOL_LONG_I=0;
|
|
}
|
|
int64 fornext_value2766;
|
|
int64 fornext_finalvalue2766;
|
|
int64 fornext_step2766;
|
|
uint8 fornext_step_negative2766;
|
|
byte_element_struct *byte_element_2767=NULL;
|
|
if (!byte_element_2767){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2767=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2767=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
qbs *_FUNC_TYPE2SYMBOL_STRING_E=NULL;
|
|
if (!_FUNC_TYPE2SYMBOL_STRING_E)_FUNC_TYPE2SYMBOL_STRING_E=qbs_new(0,0);
|
|
qbs *_FUNC_TYPE2SYMBOL_STRING_T2=NULL;
|
|
if (!_FUNC_TYPE2SYMBOL_STRING_T2)_FUNC_TYPE2SYMBOL_STRING_T2=qbs_new(0,0);
|
|
qbs *_FUNC_TYPE2SYMBOL_STRING_S=NULL;
|
|
if (!_FUNC_TYPE2SYMBOL_STRING_S)_FUNC_TYPE2SYMBOL_STRING_S=qbs_new(0,0);
|
|
byte_element_struct *byte_element_2768=NULL;
|
|
if (!byte_element_2768){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2768=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2768=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2769=NULL;
|
|
if (!byte_element_2769){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2769=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2769=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2770=NULL;
|
|
if (!byte_element_2770){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2770=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2770=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2771=NULL;
|
|
if (!byte_element_2771){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2771=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2771=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2772=NULL;
|
|
if (!byte_element_2772){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2772=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2772=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2773=NULL;
|
|
if (!byte_element_2773){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2773=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2773=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2774=NULL;
|
|
if (!byte_element_2774){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2774=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2774=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2775=NULL;
|
|
if (!byte_element_2775){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2775=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2775=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2776=NULL;
|
|
if (!byte_element_2776){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2776=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2776=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2777=NULL;
|
|
if (!byte_element_2777){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2777=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2777=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2778=NULL;
|
|
if (!byte_element_2778){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2778=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2778=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2779=NULL;
|
|
if (!byte_element_2779){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2779=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2779=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2780=NULL;
|
|
if (!byte_element_2780){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2780=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2780=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2781=NULL;
|
|
if (!byte_element_2781){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2781=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2781=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2782=NULL;
|
|
if (!byte_element_2782){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2782=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2782=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2783=NULL;
|
|
if (!byte_element_2783){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2783=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2783=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2784=NULL;
|
|
if (!byte_element_2784){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2784=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2784=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2785=NULL;
|
|
if (!byte_element_2785){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2785=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2785=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2786=NULL;
|
|
if (!byte_element_2786){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2786=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2786=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2787=NULL;
|
|
if (!byte_element_2787){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2787=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2787=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2788=NULL;
|
|
if (!byte_element_2788){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2788=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2788=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_TYPE2SYMBOL_LONG_V=NULL;
|
|
if(_FUNC_TYPE2SYMBOL_LONG_V==NULL){
|
|
_FUNC_TYPE2SYMBOL_LONG_V=(int32*)mem_static_malloc(4);
|
|
*_FUNC_TYPE2SYMBOL_LONG_V=0;
|
|
}
|
|
byte_element_struct *byte_element_2789=NULL;
|
|
if (!byte_element_2789){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2789=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2789=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|