bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8348: CC Mode 5.31.8; c-end-of-macro does not handle macro with comm


From: npostavs
Subject: bug#8348: CC Mode 5.31.8; c-end-of-macro does not handle macro with comments spanning lines
Date: Thu, 30 Jun 2016 23:30:21 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux)

tags 8348 notabug
quit

Darren Hoo <address@hidden> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]