Re: [code] [scintillua] Error in template

From: Mitchell <m.att.foicica.com>
Date: Thu, 16 May 2013 10:42:00 -0400 (Eastern Daylight Time)

Chris,

On Thu, 16 May 2013, Chris Emerson wrote:

>
> Hi,
>
> I noticed an issue in lexers/template.txt:
>
> The line:
>
> local P, R, S = l.lpeg.P, l.lpeg.R, l.lpeg.S
>
> needs to lose the "l."s:
>
> local P, R, S = lpeg.P, lpeg.R, lpeg.S
>
> It took me a while to work this out, since errors from importing a lexer are
> discarded - eventually I temporarily changed the "pcall(require, lexer_name)"
> to "require(lexer_name)". Perhaps the error could be saved and printed out
> somewhere?

Thanks for the report. Yes, in the next release lexer errors will be
printed to stdout. I'm not sure why I removed this... sorry you had so
much trouble.

Cheers,
Mitchell

-- 
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 Thu 16 May 2013 - 10:42:00 EDT

This archive was generated by hypermail 2.2.0 : Fri 17 May 2013 - 06:52:54 EDT