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.
113 lines
4.4 KiB
Text
113 lines
4.4 KiB
Text
qbs*oldstr2943=NULL;
|
|
if(_SUB_XPRINT_STRING_A->tmp||_SUB_XPRINT_STRING_A->fixed||_SUB_XPRINT_STRING_A->readonly){
|
|
oldstr2943=_SUB_XPRINT_STRING_A;
|
|
if (oldstr2943->cmem_descriptor){
|
|
_SUB_XPRINT_STRING_A=qbs_new_cmem(oldstr2943->len,0);
|
|
}else{
|
|
_SUB_XPRINT_STRING_A=qbs_new(oldstr2943->len,0);
|
|
}
|
|
memcpy(_SUB_XPRINT_STRING_A->chr,oldstr2943->chr,oldstr2943->len);
|
|
}
|
|
qbs*oldstr2944=NULL;
|
|
if(_SUB_XPRINT_STRING_CA->tmp||_SUB_XPRINT_STRING_CA->fixed||_SUB_XPRINT_STRING_CA->readonly){
|
|
oldstr2944=_SUB_XPRINT_STRING_CA;
|
|
if (oldstr2944->cmem_descriptor){
|
|
_SUB_XPRINT_STRING_CA=qbs_new_cmem(oldstr2944->len,0);
|
|
}else{
|
|
_SUB_XPRINT_STRING_CA=qbs_new(oldstr2944->len,0);
|
|
}
|
|
memcpy(_SUB_XPRINT_STRING_CA->chr,oldstr2944->chr,oldstr2944->len);
|
|
}
|
|
qbs *_SUB_XPRINT_STRING_U=NULL;
|
|
if (!_SUB_XPRINT_STRING_U)_SUB_XPRINT_STRING_U=qbs_new(0,0);
|
|
int32 pass2945;
|
|
qbs *_SUB_XPRINT_STRING_L=NULL;
|
|
if (!_SUB_XPRINT_STRING_L)_SUB_XPRINT_STRING_L=qbs_new(0,0);
|
|
int32 *_SUB_XPRINT_LONG_LP=NULL;
|
|
if(_SUB_XPRINT_LONG_LP==NULL){
|
|
_SUB_XPRINT_LONG_LP=(int32*)mem_static_malloc(4);
|
|
*_SUB_XPRINT_LONG_LP=0;
|
|
}
|
|
qbs *_SUB_XPRINT_STRING_LP=NULL;
|
|
if (!_SUB_XPRINT_STRING_LP)_SUB_XPRINT_STRING_LP=qbs_new(0,0);
|
|
int32 pass2947;
|
|
int32 *_SUB_XPRINT_LONG_I=NULL;
|
|
if(_SUB_XPRINT_LONG_I==NULL){
|
|
_SUB_XPRINT_LONG_I=(int32*)mem_static_malloc(4);
|
|
*_SUB_XPRINT_LONG_I=0;
|
|
}
|
|
qbs *_SUB_XPRINT_STRING_E=NULL;
|
|
if (!_SUB_XPRINT_STRING_E)_SUB_XPRINT_STRING_E=qbs_new(0,0);
|
|
int32 *_SUB_XPRINT_LONG_B=NULL;
|
|
if(_SUB_XPRINT_LONG_B==NULL){
|
|
_SUB_XPRINT_LONG_B=(int32*)mem_static_malloc(4);
|
|
*_SUB_XPRINT_LONG_B=0;
|
|
}
|
|
qbs *_SUB_XPRINT_STRING_PUFORMAT=NULL;
|
|
if (!_SUB_XPRINT_STRING_PUFORMAT)_SUB_XPRINT_STRING_PUFORMAT=qbs_new(0,0);
|
|
int64 fornext_value2949;
|
|
int64 fornext_finalvalue2949;
|
|
int64 fornext_step2949;
|
|
uint8 fornext_step_negative2949;
|
|
qbs *_SUB_XPRINT_STRING_A2=NULL;
|
|
if (!_SUB_XPRINT_STRING_A2)_SUB_XPRINT_STRING_A2=qbs_new(0,0);
|
|
int32 *_SUB_XPRINT_LONG_TYP=NULL;
|
|
if(_SUB_XPRINT_LONG_TYP==NULL){
|
|
_SUB_XPRINT_LONG_TYP=(int32*)mem_static_malloc(4);
|
|
*_SUB_XPRINT_LONG_TYP=0;
|
|
}
|
|
int32 pass2950;
|
|
byte_element_struct *byte_element_2951=NULL;
|
|
if (!byte_element_2951){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2951=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2951=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
qbs *_SUB_XPRINT_STRING_PUF=NULL;
|
|
if (!_SUB_XPRINT_STRING_PUF)_SUB_XPRINT_STRING_PUF=qbs_new(0,0);
|
|
int32 *_SUB_XPRINT_LONG_LAST=NULL;
|
|
if(_SUB_XPRINT_LONG_LAST==NULL){
|
|
_SUB_XPRINT_LONG_LAST=(int32*)mem_static_malloc(4);
|
|
*_SUB_XPRINT_LONG_LAST=0;
|
|
}
|
|
int64 fornext_value2959;
|
|
int64 fornext_finalvalue2959;
|
|
int64 fornext_step2959;
|
|
uint8 fornext_step_negative2959;
|
|
int32 pass2960;
|
|
byte_element_struct *byte_element_2975=NULL;
|
|
if (!byte_element_2975){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2975=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2975=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_SUB_XPRINT_LONG_NL=NULL;
|
|
if(_SUB_XPRINT_LONG_NL==NULL){
|
|
_SUB_XPRINT_LONG_NL=(int32*)mem_static_malloc(4);
|
|
*_SUB_XPRINT_LONG_NL=0;
|
|
}
|
|
int64 fornext_value2988;
|
|
int64 fornext_finalvalue2988;
|
|
int64 fornext_step2988;
|
|
uint8 fornext_step_negative2988;
|
|
int32 *_SUB_XPRINT_LONG_GOTOPU=NULL;
|
|
if(_SUB_XPRINT_LONG_GOTOPU==NULL){
|
|
_SUB_XPRINT_LONG_GOTOPU=(int32*)mem_static_malloc(4);
|
|
*_SUB_XPRINT_LONG_GOTOPU=0;
|
|
}
|
|
byte_element_struct *byte_element_2989=NULL;
|
|
if (!byte_element_2989){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2989=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2989=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
qbs *_SUB_XPRINT_STRING_EBAK=NULL;
|
|
if (!_SUB_XPRINT_STRING_EBAK)_SUB_XPRINT_STRING_EBAK=qbs_new(0,0);
|
|
int32 *_SUB_XPRINT_LONG_PNRTNUM=NULL;
|
|
if(_SUB_XPRINT_LONG_PNRTNUM==NULL){
|
|
_SUB_XPRINT_LONG_PNRTNUM=(int32*)mem_static_malloc(4);
|
|
*_SUB_XPRINT_LONG_PNRTNUM=0;
|
|
}
|
|
int32 pass2990;
|
|
byte_element_struct *byte_element_3000=NULL;
|
|
if (!byte_element_3000){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3000=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3000=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_3001=NULL;
|
|
if (!byte_element_3001){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_3001=(byte_element_struct*)(mem_static_pointer-12); else byte_element_3001=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|