[code] [scintillua] Desktop lexer

From: Robert <rob.g.att.web.de>
Date: Sun, 21 Oct 2012 12:51:47 +0200

Hi,

when I have an entry in a desktop file like:

Icon=/path/to/core/images/ta_256x256.png

The digit is lexed as a number, maybe changing the identifier rule like

43c43
< local identifier = l.token(l.IDENTIFIER, l.alpha * (l.alnum + '-')^0)

---
> local identifier = l.token(l.IDENTIFIER, l.alpha * (l.alnum + S('_-'))^0)
is better?
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 Sun 21 Oct 2012 - 06:51:47 EDT

This archive was generated by hypermail 2.2.0 : Mon 22 Oct 2012 - 06:44:11 EDT