[Omake] Lexer broken in 0.9.8.5?

Aleksey Nogin anogin at hrl.com
Mon Aug 27 19:57:33 PDT 2007


Nick,

I am not very familiar with Lexer, but I believe that in 0.9.8.5 it's in 
state of transition, so I would not be surprised if  something does not 
match the documentation.

Hopefully, Jason can give a better answer.

Aleksey

On 24.08.2007 20:30, Nick Smallbone wrote:

> Hi all,
> 
> As of OMake 0.9.8.5, I'm not able to get Lexer to work. The following
> code gives the error "Failure: Lm_lexer: lex: no clause matched",
> without producing any output:
> 
>   SimpleLexer. =
>      extends $(Lexer)
> 
>      any: .
>         eprintln(a character)
>         lex()
> 
>      eof: $"\'"
>         eprintln(end)
> 
>   SimpleLexer.lex-channel($(fopen some-file, r))
> 
> This also happens with the example lexer in section 10.11.9 of the
> manual. Is it a bug, or am I doing something wrong?
> 
> Nick
> _______________________________________________
> Omake mailing list
> Omake at metaprl.org
> https://lists.metaprl.org/mailman/listinfo/omake
> 


-- 
Aleksey Nogin, Research Scientist
Advanced Technologies Department, Information & System Sciences Lab
HRL Laboratories, LLC, Malibu, CA


More information about the Omake mailing list