mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-11-03 23:36:12 -08:00 
			
		
		
		
	Improved parser scope errors.
Added the caret for indicating where the error is.
This commit is contained in:
		@@ -15,8 +15,8 @@ BraceSquare_Open,       "["
 | 
			
		||||
BraceSquare_Close,      "]"
 | 
			
		||||
Capture_Start,          "("
 | 
			
		||||
Capture_End,            ")"
 | 
			
		||||
Comment,                "__comment__"
 | 
			
		||||
Char,                   "__char__"
 | 
			
		||||
Comment,                "comemnt"
 | 
			
		||||
Char,                   "character"
 | 
			
		||||
Comma,                  ","
 | 
			
		||||
Decl_Class,             "class"
 | 
			
		||||
Decl_GNU_Attribute,     "__attribute__"
 | 
			
		||||
@@ -32,7 +32,7 @@ Decl_Template,          "template"
 | 
			
		||||
Decl_Typedef,           "typedef"
 | 
			
		||||
Decl_Using,             "using"
 | 
			
		||||
Decl_Union,             "union"
 | 
			
		||||
Identifier,             "__identifier__"
 | 
			
		||||
Identifier,             "identifier"
 | 
			
		||||
Module_Import,          "import"
 | 
			
		||||
Module_Export,          "export"
 | 
			
		||||
Number,                 "number"
 | 
			
		||||
@@ -62,7 +62,7 @@ Spec_ThreadLocal,       "thread_local"
 | 
			
		||||
Spec_Volatile,          "volatile"
 | 
			
		||||
Star,                   "*"
 | 
			
		||||
Statement_End,          ";"
 | 
			
		||||
String,                 "__string__"
 | 
			
		||||
String,                 "string"
 | 
			
		||||
Type_Unsigned, 	        "unsigned"
 | 
			
		||||
Type_Signed,            "signed"
 | 
			
		||||
Type_Short,             "short"
 | 
			
		||||
 
 | 
			
		||||
		
		
			
  | 
		Reference in New Issue
	
	Block a user