]> git.sur5r.net Git - cc65/blobdiff - src/ca65/symtab.h
Enable even more warnings
[cc65] / src / ca65 / symtab.h
index 9176bc7022bb2372b0530b283980c8742f74ff62..642734274017754e5821dc7579fd2faa397c6c71 100644 (file)
 
 /* common */
 #include "exprdefs.h"
-         
+
 /* ca65 */
 #include "symentry.h"
 
 
 
 /*****************************************************************************/
-/*                                  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,6 +86,11 @@ void SymGlobal (const char* Name, int ZP);
  * either imported or exported.
  */
 
+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);
 /* Return true if the given symbol has a constant value */
 
@@ -145,4 +150,4 @@ void WriteDbgSyms (void);
 
 
 
-         
+