Neil Hodgson wrote:
> 
>    A problem with starting from the C++ lexer is that it contains
> several pieces of weirdness that are not applicable to most languages.
> lexer.cpp.allow.dollars is there because allowing '$' in identifiers
> is a non-standard extension to the C/C++ languages. SCE_C_UUID is for
> various forms of IDL which use UUIDs. There is regular expression
> support for JavaScript. None of these should be present if your target
> language doesn't need them. Its unlikely it uses verbatim strings
> (from C#) either.
> 
>    Neil
> _______________________________________________
> 

Thanks Neil. Indeed, a lot of C++ specific settings are not necessary. Now
comes a cleaner version. See atachments.
http://www.nabble.com/file/p11601182/LexASY.cxx LexASY.cxx    
http://www.nabble.com/file/p11601182/asymptote.properties
asymptote.properties 
-- 
View this message in context: 
http://www.nabble.com/lexer-for-Asymptote-tf4059601.html#a11601182
Sent from the Scintilla - Dev mailing list archive at Nabble.com.

_______________________________________________
Scintilla-interest mailing list
Scintilla-interest@lyra.org
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to