]> git.sur5r.net Git - cc65/blobdiff - src/ca65/symbol.h
Added 'sim6502' and 'sim65C02' targets.
[cc65] / src / ca65 / symbol.h
index 4d0bcbf7d05d4e984f413e81249379d6ec9ace93..30964f0c0d5a4f85fef67ba64cd0ffa7041afa8e 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2008 Ullrich von Bassewitz                                       */
-/*               Roemerstrasse 52                                            */
-/*               D-70794 Filderstadt                                         */
-/* EMail:        uz@cc65.org                                                 */
+/* (C) 1998-2012, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 
 
 
+/* cc65 */
+#include "symtab.h"
+
+
+
 /*****************************************************************************/
 /*                                 Forwards                                  */
 /*****************************************************************************/
 
 
 struct StrBuf;
-struct SymTable;
 
 
 
 /*****************************************************************************/
-/*                                          Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
@@ -64,7 +68,7 @@ struct SymTable* ParseScopedIdent (struct StrBuf* Name, struct StrBuf* FullName)
  * by the caller for error messages or similar.
  */
 
-struct SymEntry* ParseScopedSymName (int AllowNew);
+struct SymEntry* ParseScopedSymName (SymFindAction Action);
 /* Parse a (possibly scoped) symbol name, search for it in the symbol table
  * and return the symbol table entry.
  */
@@ -74,6 +78,11 @@ struct SymTable* ParseScopedSymTable (void);
  * symbol space and return the symbol table struct.
  */
 
+struct SymEntry* ParseAnySymName (SymFindAction Action);
+/* Parse a cheap local symbol or a a (possibly scoped) symbol name, search
+ * for it in the symbol table and return the symbol table entry.
+ */
+
 
 
 /* End of symbol.h */