mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-11-03 23:36:12 -08:00 
			
		
		
		
	Various fixes and adjustments
* moved constants to components/constants.hpp (adjsuted generators accordingly) * parser accepts include & defineas parameter identifiers (will add more flags for keywords when necessary
This commit is contained in:
		@@ -488,6 +488,10 @@ void lex_found_token( LexContext* ctx )
 | 
			
		||||
 | 
			
		||||
	TokType type = str_to_toktype( ctx->token.Text );
 | 
			
		||||
 | 
			
		||||
	if (type == Tok_Preprocess_Define || type == Tok_Preprocess_Include) {
 | 
			
		||||
		ctx->token.Flags |= TF_Identifier;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (type <= Tok_Access_Public && type >= Tok_Access_Private ) {
 | 
			
		||||
		ctx->token.Flags |= TF_AccessSpecifier;
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user