Re: [code] Lexer weirdness

From: Robert <rob.g.att.web.de>
Date: Sat, 30 Mar 2013 16:36:17 +0100

On Sat, Mar 30, 2013 at 4:30 PM, Michael Richter <ttmrichter.att.gmail.com> wrote:
> Numbers was before identifiers, but I added a "- numbers" to the
> identifiers. :)
>
> Thanks for the tip.

I meant in the `_rules` table:

M._rules = {
  {'whitespace', ws},
  {'keyword', keyword},
  {'string', string},
  {'identifier', identifier},
  {'comment', comment},
  {'number', number},
  {'operator', operator},
  {'any_char', l.any_char},
}

Sorry if I was unclear, but glad you found a solution!
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.
Received on Sat 30 Mar 2013 - 11:36:17 EDT

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