Hide macro replacement
This commit is contained in:
parent
4e06906876
commit
38dd1c9d18
3 changed files with 11 additions and 2 deletions
|
|
@ -92,7 +92,7 @@ namespace
|
|||
output << preprocessor_token("(") << bracket_ws
|
||||
<< preprocessor_token(def.parameters().value()) << bracket_ws
|
||||
<< preprocessor_token(")");
|
||||
if (!def.replacement().empty())
|
||||
if (!def.replacement().empty() && !output.options().is_set(code_generator::declaration))
|
||||
output << whitespace << preprocessor_token(def.replacement()) << newl;
|
||||
else
|
||||
output << newl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue