[Omake] Lexer broken in 0.9.8.5?

Nick Smallbone nick.smallbone at gmail.com
Fri Aug 24 20:30:23 PDT 2007


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


More information about the Omake mailing list