Reviewing syntax highlight support in cgdb

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Sun Nov 15 08:02:38 PST 2015


On 2015-11-14 11:44, Iain Buclaw wrote:
> Hi,
>
> I'm currently making changes to cgdb, and would like to have someone
> give a quick view over the lexer rules.
>
> https://github.com/cgdb/cgdb/blob/master/lib/tokenizer/dlexer.l
>
> Having a skim over myself, I see @nogc needs adding, and probably
> c_long, cpp_long and other ABI compatibility types that the compiler
> recognises.
>
> Anything else missing? Could be any feature, not just keywords.

Keywords:

* __parameters
* macro

Strings:

* Delimited string
* Token string
* Seems to be missing most escape sequences

Other:

__FILE__ and all related special constants

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list