Re: [code] [textadept] D lexer corrections.

From: Mitchell <m.att.foicica.com>
Date: Fri, 1 Feb 2019 19:29:03 -0500 (EST)

Hi Jonathan,

On Fri, 25 Jan 2019, Jonathan Levi wrote:

> 1. Ds "Token String" is specifically designed so that IDEs will NOT format
> it like a string. Everything in a token string is required to be a valid D
> token so a basic lexer, like in Textadept, will format it right.
>
> 2. Unlike in C, the "l" (lower case "L") is not a valid suffix for numbers.
>
> 3. I am pretty sure ":" should be an operator (it is used as one in import
> statements at least.
>
> 4. The ".." (two dots) should be and operator within numbers rather than a
> decimal. I am guessing that this is beyond the basic lexer capabilities in
> Textadept (it is beyond knowledge of it at least.
>
> I made the changes to fix 1-3. How would it be best to share those with
> you?

I've checked in your fixes[1]. Thank you!

I've also solved #4 well enough I think[2].

These changes will appear in the next nightly build.

Cheers,
Mitchell

[1]: https://foicica.com/hg/scintilla/rev/d37ef09c591c
[2]: https://foicica.com/hg/scintilla/rev/b277ec038b29

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Fri 01 Feb 2019 - 19:29:03 EST

This archive was generated by hypermail 2.2.0 : Sat 02 Feb 2019 - 06:44:46 EST