You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to develop a unit-test library and for that I need to use macro functions.
When putting a code block (so basically code with curly braces around it) as the last argument of my macro function, the norminette just hangs and never recovers.
Please fix this and don't just tell me this won't pass the norminette, this can be a problem under other circumstance !
This is not an edge-case !
Tanks for reading ;)
Erroneous code
This is the definition of the macro function (norminette does not hang):
#defineUNIT_TEST(fname, code, ...) \
int __unit_test__##fname() code##__VA_OPT__(,) __VA_ARGS__
This is the code that uses the macro function (norminette hangs):
Describe the bug
I'm trying to develop a unit-test library and for that I need to use macro functions.
When putting a code block (so basically code with curly braces around it) as the last argument of my macro function, the norminette just hangs and never recovers.
Please fix this and don't just tell me this won't pass the norminette, this can be a problem under other circumstance !
This is not an edge-case !
Tanks for reading ;)
Erroneous code
This is the definition of the macro function (norminette does not hang):
This is the code that uses the macro function (norminette hangs):
Additional infos
Latest norminette version under arch linux (norminette 3.3.54)
The text was updated successfully, but these errors were encountered: