mirror of
https://github.com/Ed94/gencpp.git
synced 2025-07-07 22:25:45 -07:00
fixes for c library
This commit is contained in:
.gitignoreReadme.md
base
components
code_serialization.cppinterface.cppinterface.hppinterface.parsing.cppinterface.upfront.cpplexer.cppparser.cppstatic_data.cpp
dependencies
docs
gen_c_library
gen_unreal_engine
scripts
test
@ -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