www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Emacs d-mode - better handling of else static if

I figured out a little hack to make "else static ifs" work.
http://www.prowiki.org/wiki4d/wiki.cgi?EditorSupport/EmacsDMode/ElseStaticIf

It's a hack because it requires adding a line to the original cc-mode 
sources.  But really, when you see the change, you'll realize that the 
handling of "else if" in cc-mode is rather a hack to begin with.

I also posted a question to the CC-mode mailing list -- asking to either 
add my hack on top of their hack to the official sources or to tell me 
how to make it work without the hack.

--bb
Aug 26 2007