mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-11-03 23:36:12 -08:00 
			
		
		
		
	fixes for c library
This commit is contained in:
		@@ -532,7 +532,7 @@ void lex_found_token( LexContext* ctx )
 | 
			
		||||
		ctx->token.Type   = macrotype_to_toktype(macro->Type);
 | 
			
		||||
		b32 is_functional = macro_is_functional(* macro);
 | 
			
		||||
		resolved_to_macro = has_args ? is_functional : ! is_functional;
 | 
			
		||||
		if ( ! resolved_to_macro ) {
 | 
			
		||||
		if ( ! resolved_to_macro && GEN_BUILD_DEBUG ) {
 | 
			
		||||
			log_fmt("Info(%d, %d): %S identified as a macro but usage here does not resolve to one (interpreting as identifier)\n"
 | 
			
		||||
				, ctx->token.Line
 | 
			
		||||
				, ctx->token.Line
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user