mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-16 03:54:01 +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.
76 lines
3.6 KiB
Text
76 lines
3.6 KiB
Text
qbs *_FUNC_IDEZPATHLIST_STRING_IDEZPATHLIST=NULL;
|
|
if (!_FUNC_IDEZPATHLIST_STRING_IDEZPATHLIST)_FUNC_IDEZPATHLIST_STRING_IDEZPATHLIST=qbs_new(0,0);
|
|
qbs*oldstr4349=NULL;
|
|
if(_FUNC_IDEZPATHLIST_STRING_PATH->tmp||_FUNC_IDEZPATHLIST_STRING_PATH->fixed||_FUNC_IDEZPATHLIST_STRING_PATH->readonly){
|
|
oldstr4349=_FUNC_IDEZPATHLIST_STRING_PATH;
|
|
if (oldstr4349->cmem_descriptor){
|
|
_FUNC_IDEZPATHLIST_STRING_PATH=qbs_new_cmem(oldstr4349->len,0);
|
|
}else{
|
|
_FUNC_IDEZPATHLIST_STRING_PATH=qbs_new(oldstr4349->len,0);
|
|
}
|
|
memcpy(_FUNC_IDEZPATHLIST_STRING_PATH->chr,oldstr4349->chr,oldstr4349->len);
|
|
}
|
|
qbs *_FUNC_IDEZPATHLIST_STRING1_SEP=NULL;
|
|
if(_FUNC_IDEZPATHLIST_STRING1_SEP==NULL){
|
|
_FUNC_IDEZPATHLIST_STRING1_SEP=qbs_new_fixed((uint8*)mem_static_malloc(1),1,0);
|
|
memset(_FUNC_IDEZPATHLIST_STRING1_SEP->chr,0,1);
|
|
}
|
|
qbs *_FUNC_IDEZPATHLIST_STRING_A=NULL;
|
|
if (!_FUNC_IDEZPATHLIST_STRING_A)_FUNC_IDEZPATHLIST_STRING_A=qbs_new(0,0);
|
|
qbs *_FUNC_IDEZPATHLIST_STRING_PATHLIST=NULL;
|
|
if (!_FUNC_IDEZPATHLIST_STRING_PATHLIST)_FUNC_IDEZPATHLIST_STRING_PATHLIST=qbs_new(0,0);
|
|
int32 *_FUNC_IDEZPATHLIST_LONG_C=NULL;
|
|
if(_FUNC_IDEZPATHLIST_LONG_C==NULL){
|
|
_FUNC_IDEZPATHLIST_LONG_C=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEZPATHLIST_LONG_C=0;
|
|
}
|
|
int32 *_FUNC_IDEZPATHLIST_LONG_X=NULL;
|
|
if(_FUNC_IDEZPATHLIST_LONG_X==NULL){
|
|
_FUNC_IDEZPATHLIST_LONG_X=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEZPATHLIST_LONG_X=0;
|
|
}
|
|
int64 fornext_value4353;
|
|
int64 fornext_finalvalue4353;
|
|
int64 fornext_step4353;
|
|
uint8 fornext_step_negative4353;
|
|
byte_element_struct *byte_element_4354=NULL;
|
|
if (!byte_element_4354){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4354=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4354=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
qbs *_FUNC_IDEZPATHLIST_STRING_B=NULL;
|
|
if (!_FUNC_IDEZPATHLIST_STRING_B)_FUNC_IDEZPATHLIST_STRING_B=qbs_new(0,0);
|
|
byte_element_struct *byte_element_4355=NULL;
|
|
if (!byte_element_4355){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4355=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4355=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_IDEZPATHLIST_LONG_I=NULL;
|
|
if(_FUNC_IDEZPATHLIST_LONG_I==NULL){
|
|
_FUNC_IDEZPATHLIST_LONG_I=(int32*)mem_static_malloc(4);
|
|
*_FUNC_IDEZPATHLIST_LONG_I=0;
|
|
}
|
|
int64 fornext_value4357;
|
|
int64 fornext_finalvalue4357;
|
|
int64 fornext_step4357;
|
|
uint8 fornext_step_negative4357;
|
|
byte_element_struct *byte_element_4358=NULL;
|
|
if (!byte_element_4358){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4358=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4358=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_4361=NULL;
|
|
if (!byte_element_4361){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4361=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4361=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int64 fornext_value4363;
|
|
int64 fornext_finalvalue4363;
|
|
int64 fornext_step4363;
|
|
uint8 fornext_step_negative4363;
|
|
byte_element_struct *byte_element_4364=NULL;
|
|
if (!byte_element_4364){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4364=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4364=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
qbs *_FUNC_IDEZPATHLIST_STRING_A2=NULL;
|
|
if (!_FUNC_IDEZPATHLIST_STRING_A2)_FUNC_IDEZPATHLIST_STRING_A2=qbs_new(0,0);
|
|
byte_element_struct *byte_element_4365=NULL;
|
|
if (!byte_element_4365){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4365=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4365=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|