unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8348: CC Mode 5.31.8; c-end-of-macro does not handle macro with comments spanning lines
@ 2011-03-26 15:23 Darren Hoo
  2016-07-01  3:30 ` npostavs
  0 siblings, 1 reply; 2+ messages in thread
From: Darren Hoo @ 2011-03-26 15:23 UTC (permalink / raw)
  To: 8348


#define AA 1 /*  !
              *  a comment
			  *  eags lines
			  */!

c-end-of-macro move to the first ! instead of the second !





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#8348: CC Mode 5.31.8; c-end-of-macro does not handle macro with comments spanning lines
  2011-03-26 15:23 bug#8348: CC Mode 5.31.8; c-end-of-macro does not handle macro with comments spanning lines Darren Hoo
@ 2016-07-01  3:30 ` npostavs
  0 siblings, 0 replies; 2+ messages in thread
From: npostavs @ 2016-07-01  3:30 UTC (permalink / raw)
  To: Darren Hoo; +Cc: 8348

tags 8348 notabug
quit

Darren Hoo <darren.hoo@gmail.com> 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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-01  3:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-26 15:23 bug#8348: CC Mode 5.31.8; c-end-of-macro does not handle macro with comments spanning lines Darren Hoo
2016-07-01  3:30 ` npostavs

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).