mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-11-03 23:36:12 -08:00 
			
		
		
		
	Naive preprocessor support initial implementation (compiles and runs, not heavily tested)
This commit is contained in:
		@@ -38,11 +38,14 @@ Module_Export,          "export"
 | 
			
		||||
Number,                 "number"
 | 
			
		||||
Operator,               "operator"
 | 
			
		||||
Preprocess_Define,      "#define"
 | 
			
		||||
Preprocess_Include,     "#include"
 | 
			
		||||
Preprocess_If,          "#if"
 | 
			
		||||
Preprocess_ElIF,		"#elif"
 | 
			
		||||
Preprocess_IfDef, 	    "#ifdef"
 | 
			
		||||
Preprocess_IfNotDef, 	"#ifndef"
 | 
			
		||||
Preprocess_ElIf,		"#elif"
 | 
			
		||||
Preprocess_Else,        "#else"
 | 
			
		||||
Preprocess_EndIf,       "#endif"
 | 
			
		||||
Preprocess_Include,     "#include"
 | 
			
		||||
Preprocess_Pragma,      "#pragma"
 | 
			
		||||
Spec_Alignas,           "alignas"
 | 
			
		||||
Spec_Const,             "const"
 | 
			
		||||
Spec_Consteval,         "consteval"
 | 
			
		||||
 
 | 
			
		||||
		
		
			
  | 
		Reference in New Issue
	
	Block a user