Subject: bug#8348: CC Mode 5.31.8; c-end-of-macro does not handle macro with comments spanning lines

From: [email-masked]
Date: Thu, 30 Jun 2016 23:30:21 -0400

tags 8348 notabug
quit

Darren Hoo <[email-masked]> writes:

> #define AA 1 /*  !
>               *  a comment
> 			  *  eags lines
> 			  */!
>
> c-end-of-macro move to the first ! instead of the second !

AFAICT this is not a bug, the macro really does end on the first line,
i.e., the macro definition does not include the comment.  One might
argue that the macro ends where the comment starts (first "/"), not
inside it, but the docstring of c-end-of-macro does say it goes to the
end of line.