Re: [code] Lexer weirdness

From: Michael Richter <ttmrichter.att.gmail.com>
Date: Sat, 30 Mar 2013 23:30:56 +0800

Numbers was before identifiers, but I added a "- numbers" to the
identifiers. :)

Thanks for the tip.

On 30 March 2013 21:02, Robert <rob.g.att.web.de> wrote:

> Hi Michael,
>
> On Sat, Mar 30, 2013 at 1:31 PM, Michael Richter <ttmrichter.att.gmail.com>
> wrote:
> > What could possibly have Textadept completely ignore all lexing related
> to
> > numbers? I'm trying to make a lexer for the Factor programming language.
>
> I think this is due to the rules order. Try moving `numbers` before
> `identifiers` -- your identifier rule catches alphanumeric characters.
>
> Hope this helps,
> Robert
> --
> 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.
>
>

-- 
"Perhaps people don't believe this, but throughout all of the discussions
of entering China our focus has really been what's best for the Chinese
people. It's not been about our revenue or profit or whatnot."
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.
-- 
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 Sat 30 Mar 2013 - 11:30:56 EDT

This archive was generated by hypermail 2.2.0 : Sun 31 Mar 2013 - 06:28:23 EDT