X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fca65%2Fsymtab.h;h=642734274017754e5821dc7579fd2faa397c6c71;hb=e67f4dcbd6a50c170d3e45da4fdcd08e4f6caeab;hp=6c5642b27e759be7006a6deb6b1bf4cda948be3a;hpb=9977ddd973057db1cfa520b859d8b19e6000d704;p=cc65 diff --git a/src/ca65/symtab.h b/src/ca65/symtab.h index 6c5642b27..642734274 100644 --- a/src/ca65/symtab.h +++ b/src/ca65/symtab.h @@ -49,7 +49,7 @@ /*****************************************************************************/ -/* Code */ +/* Code */ /*****************************************************************************/ @@ -60,7 +60,7 @@ void SymEnterLevel (void); void SymLeaveLevel (void); /* Leave the current lexical level */ -void SymDef (const char* Name, ExprNode* Expr, int ZP); +void SymDef (const char* Name, ExprNode* Expr, int ZP, int Label); /* Define a new symbol */ SymEntry* SymRef (const char* Name); @@ -86,12 +86,9 @@ void SymGlobal (const char* Name, int ZP); * either imported or exported. */ -void SymInitializer (const char* Name, int ZP); -/* Mark the given symbol as an initializer. This will also mark the symbol as - * an export. Initializers may never be zero page symbols, the ZP parameter - * is supplied to make the prototype the same as the other functions (this - * is used in pseudo.c). Passing something else but zero as ZP argument will - * trigger an internal error. +void SymConDes (const char* Name, unsigned Type, unsigned Prio); +/* Mark the given symbol as a module constructor/destructor. This will also + * mark the symbol as an export. Initializers may never be zero page symbols. */ int SymIsConst (SymEntry* Sym);