Fix parsing function macro invocations
If a function macro name is separated from the parentheses in an macro invocation the substitution doesn't take place. Fix this by handling comments.
This commit is contained in:
@ -288,6 +288,10 @@ comment
|
||||
/* test function macro substitution when the function name is
|
||||
substituted */
|
||||
TEST2();
|
||||
|
||||
/* And again when the name and parenthes are separated by a
|
||||
comment. */
|
||||
TEST2 /* the comment */ ();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user