Properly render macro parameters as identifiers

This commit is contained in:
Jonathan Müller 2018-06-20 10:29:59 +02:00
commit 5cc7e51bf2

View file

@ -99,7 +99,7 @@ namespace
{
code_generator::output output(type_safe::ref(generator), type_safe::ref(param), cur_access);
if (output)
output << preprocessor_token(param.name());
output << identifier(param.name());
return static_cast<bool>(output);
}