]> git.sur5r.net Git - cc65/blobdiff - src/sim65/scanner.h
New module strstack
[cc65] / src / sim65 / scanner.h
index ce06520506910c0d626f84b4a5fb1c8e7447928f..3066e15dfd6d06548ed519f943367e9f24731622 100644 (file)
 
 
 
+/* common */
+#include "attrib.h"
+
+
+
 /*****************************************************************************/
 /*                                          Data                                    */
 /*****************************************************************************/
@@ -61,8 +66,13 @@ typedef enum {
     CFGTOK_EOF,
 
     /* Primary blocks */
+    CFGTOK_CPU,
     CFGTOK_MEMORY,
 
+    /* CPU block */
+    CFGTOK_TYPE,
+    CFGTOK_ADDRSPACE,
+
     /* Special identifiers */
     CFGTOK_TRUE,
     CFGTOK_FALSE
@@ -117,6 +127,9 @@ void CfgConsumeSemi (void);
 void CfgConsumeColon (void);
 /* Consume a colon */
 
+void CfgConsumeRCurly (void);
+/* Consume a right curly brace */
+
 void CfgOptionalComma (void);
 /* Consume a comma if there is one */