Neil Hodgson wrote:
  The '$' character is allowed within identifiers in JavaScript and
some C++ compilers also allow this. An annoying use is withing the
open source Prototype JavaScript library which uses variables called
$break and $continue which highlight as keywords (after the $) in
Scintilla. I'm thinking of adding '$' to the set of allowed identifier
characters in LexCPP unconditionally. Does anyone feel this should be
conditional upon a property or handled in another way?

I would rather that non-legal constructions in C/C++ not appear to be something they aren't. ;)

Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to