Reformat CompilerB.HH

This commit is contained in:
TomAwezome 2020-07-22 01:00:06 -05:00 committed by VoidNV
parent dbcd76faf2
commit 0ad30bd31d
3 changed files with 53 additions and 58 deletions

View file

@ -4,8 +4,7 @@ public extern I64 ExeFile(U8 *name,I64 ccf_flags=0);
public extern I64 ExeFile2(U8 *name, I64 ccf_flags=0);
public extern I64 ExePrint(U8 *format, ...);
public extern I64 ExePrint2(U8 *format, ...);
public extern I64 ExePutS(U8 *buf,U8 *filename=NULL,I64 ccf_flags=0,
CLexHashTableContext *htc=NULL);
public extern I64 ExePutS(U8 *buf, U8 *filename=NULL, I64 ccf_flags=0, CLexHashTableContext *htc=NULL);
public extern I64 ExePutS2(U8 *buf, U8 *filename=NULL, I64 ccf_flags=0);
public _extern _LAST_FUN I64 LastFun(I64 argc, I64 *argv);
public extern I64 RunFile(U8 *name, I64 ccf_flags=0, ...);
@ -28,11 +27,10 @@ extern U0 ClassMemberListDel(CHashClass *c);
public extern U0 CompCtrlDel(CCompCtrl *cc);
public extern CCompCtrl *CompCtrlNew(U8 *buf=NULL, I64 flags=0, U8 *filename=NULL);
public extern I64 CompCtrlSize(CCompCtrl *cc);
public extern I64 IsLexExpression2Bin(
CCompCtrl *cc,U8 **machine_code); //FALSE=no error
public extern I64 IsLexExpression2Bin(CCompCtrl *cc, U8 **machine_code); //FALSE=no error
public extern I64 Lex(CCompCtrl *cc);
public extern U0 LexAttachDoc(CCompCtrl *cc,CLexFile *tmpf=NULL,
CDoc *doc=NULL,U8 *abs_filename=NULL,CDocEntry *doc_e=NULL,I64 col=0);
public extern U0 LexAttachDoc(CCompCtrl *cc, CLexFile *tmpf=NULL, CDoc *doc=NULL,
U8 *abs_filename=NULL, CDocEntry *doc_e=NULL, I64 col=0);
public extern CD2I32 *LexD2I32(CCompCtrl *cc, CD2I32 *p);
public extern CD3I32 *LexD3I32(CCompCtrl *cc, CD3I32 *p);
public extern U0 LexExcept(CCompCtrl *cc, U8 *str=NULL);
@ -50,11 +48,9 @@ public extern U0 LexPutLine(CCompCtrl *cc,U8 *start);
public extern U0 LexPutPos(CCompCtrl *cc);
public extern U0 LexPutToken(CCompCtrl *cc);
public extern U0 LexSkipEol(CCompCtrl *cc);
public extern U8 *LexStatement2Bin(
CCompCtrl *cc,I64 *_type,I64 comp_flags=CMPF_PRS_SEMICOLON);
public extern U8 *LexStatement2Bin(CCompCtrl *cc, I64 *_type, I64 comp_flags=CMPF_PRS_SEMICOLON);
public extern U0 LexWarn(CCompCtrl *cc, U8 *str=NULL);
extern CMemberList *MemberClassBaseFind(
CHashClass *needle_class,CHashClass *haystack_class);
extern CMemberList *MemberClassBaseFind(CHashClass *needle_class, CHashClass *haystack_class);
public extern CMemberList *MemberFind(U8 *needle_str, CHashClass *haystack_class);
extern U0 MemberListDel(CMemberList *tmpm);
public extern I64 MemberMetaData(U8 *st, CMemberList *ml);
@ -63,13 +59,11 @@ public extern CHashClass *OptClassFwd(CHashClass *tmpc);
public extern I64 ParseKeyWord(CCompCtrl *cc);
#help_index "Compiler;Cmd Line (Typically)"
extern I64 Comp(U8 *filename,
U8 *map_name=NULL,U8 *out_name=NULL,U8 mapfile_drive_let=0);
extern I64 Comp(U8 *filename, U8 *map_name=NULL, U8 *out_name=NULL, U8 mapfile_drive_let=0);
#help_index "Debugging/Unassemble"
public extern U8 *U(U8 *rip, I64 count=20, I64 seg_size=64);
public extern U0 Ui(U8 *buf,U8 **_rip,I64 seg_size=64,
I64 *_jmp_dst=NULL,Bool just_ins=FALSE);
public extern U0 Ui(U8 *buf, U8 **_rip, I64 seg_size=64, I64 *_jmp_dst=NULL, Bool just_ins=FALSE);
public extern I64 Un(U8 *rip, I64 count=0x80, I64 seg_size=64);
extern CUAsmGlobals uasm;

View file

@ -38,6 +38,7 @@ StartOS.CC
/Compiler/
CompilerA.HH
CompilerB.HH
/Kernel/
KStart64.CC