mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-11-03 23:36:12 -08:00 
			
		
		
		
	Progress toward preprocessor parsing, lexing works, parsing does not.
This commit is contained in:
		@@ -7,8 +7,8 @@ Access_StaticSymbol,    "::"
 | 
			
		||||
Ampersand,              "&"
 | 
			
		||||
Ampersand_DBL,          "&&"
 | 
			
		||||
Assign_Classifer,       ":"
 | 
			
		||||
Attribute_Open, 	    "[["
 | 
			
		||||
Attribute_Close, 	    "]]"
 | 
			
		||||
Attribute_Open,         "[["
 | 
			
		||||
Attribute_Close,        "]]"
 | 
			
		||||
BraceCurly_Open,        "{"
 | 
			
		||||
BraceCurly_Close,       "}"
 | 
			
		||||
BraceSquare_Open,       "["
 | 
			
		||||
@@ -38,23 +38,24 @@ Module_Export,          "export"
 | 
			
		||||
Number,                 "number"
 | 
			
		||||
Operator,               "operator"
 | 
			
		||||
Preprocess_Define,      "#define"
 | 
			
		||||
Preprocess_If,          "#if"
 | 
			
		||||
Preprocess_IfDef, 	    "#ifdef"
 | 
			
		||||
Preprocess_IfNotDef, 	"#ifndef"
 | 
			
		||||
Preprocess_ElIf,		"#elif"
 | 
			
		||||
Preprocess_Else,        "#else"
 | 
			
		||||
Preprocess_EndIf,       "#endif"
 | 
			
		||||
Preprocess_Include,     "#include"
 | 
			
		||||
Preprocess_Pragma,      "#pragma"
 | 
			
		||||
Preprocess_If,          "if"
 | 
			
		||||
Preprocess_IfDef, 	    "ifdef"
 | 
			
		||||
Preprocess_IfNotDef, 	"ifndef"
 | 
			
		||||
Preprocess_ElIf,		"elif"
 | 
			
		||||
Preprocess_Else,        "else"
 | 
			
		||||
Preprocess_EndIf,       "endif"
 | 
			
		||||
Preprocess_Include,     "include"
 | 
			
		||||
Preprocess_Pragma,      "pragma"
 | 
			
		||||
Preprocess_Macro,       "macro"
 | 
			
		||||
Spec_Alignas,           "alignas"
 | 
			
		||||
Spec_Const,             "const"
 | 
			
		||||
Spec_Consteval,         "consteval"
 | 
			
		||||
Spec_Constexpr,         "constexpr"
 | 
			
		||||
Spec_Constinit,         "constinit"
 | 
			
		||||
Spec_Explicit, 		    "explicit"
 | 
			
		||||
Spec_Explicit,          "explicit"
 | 
			
		||||
Spec_Extern,            "extern"
 | 
			
		||||
Spec_Final, 		    "final"
 | 
			
		||||
Spec_Global, 		    "global"
 | 
			
		||||
Spec_Final,             "final"
 | 
			
		||||
Spec_Global,            "global"
 | 
			
		||||
Spec_Inline,            "inline"
 | 
			
		||||
Spec_Internal_Linkage,  "internal"
 | 
			
		||||
Spec_LocalPersist,      "local_persist"
 | 
			
		||||
@@ -66,12 +67,12 @@ Spec_Volatile,          "volatile"
 | 
			
		||||
Star,                   "*"
 | 
			
		||||
Statement_End,          ";"
 | 
			
		||||
String,                 "string"
 | 
			
		||||
Type_Unsigned, 	        "unsigned"
 | 
			
		||||
Type_Unsigned,          "unsigned"
 | 
			
		||||
Type_Signed,            "signed"
 | 
			
		||||
Type_Short,             "short"
 | 
			
		||||
Type_Long,              "long"
 | 
			
		||||
Type_char, 			    "char"
 | 
			
		||||
Type_int, 			    "int"
 | 
			
		||||
Type_double, 		    "double"
 | 
			
		||||
Type_char,              "char"
 | 
			
		||||
Type_int,               "int"
 | 
			
		||||
Type_double,            "double"
 | 
			
		||||
Varadic_Argument,       "..."
 | 
			
		||||
Attributes_Start,       "__attrib_start__"
 | 
			
		||||
 
 | 
			
		||||
		
		
			
  | 
		Reference in New Issue
	
	Block a user