On 09/19/11 14:37, Bruno Haible wrote:
>    DONE_MSVC_INVAL
> 
> But what's the point of that semicolon?

I don't know what Bastien's point was, but one problem that I'm having
with those macros is that Emacs doesn't indent code properly when
those macros are used.  For example, if I put the cursor at the start
of the next line and type TAB, Emacs indents the next line by two more
than it should.  If I put a semicolon after DONE_MSVC_INVAL, Emacs
indents properly.

Also, my version of Emacs sometimes highlights DONE_MSVC_INVAL in
green (I don't know why), as if it were a type name, without
highlighting the other macro names.  If I put a semicolon after it the
green highlighting goes away.

I'd rather have an approach that looks and feels more like ordinary C
code.  It's too much hassle dealing with metalinguistic macros.

Reply via email to