Menu

#234 Documentation: describe QUEX_NAME(...) for seek methods

open
5
2012-10-02
2012-02-07
Anonymous
No

I am compiling my lexical analyzer to C, and I get EasyLexer.c:(.text+0x73e2): undefined reference to `seek_backward'.

Discussion

  • Frank-Rene Schäfer

    Are you using QUEX_NAME(seek_backward)(...) ?
    I guess you do not. Does your compiler not complain?
    Compile with '-Wall' and 'error on implicit function declaration.

     
  • Anonymous

    Anonymous - 2012-02-08

    I ended up using QUEX_NAME(undo)(&self); I was trying undo(); as the documentation here:
    http://quex.sourceforge.net/doc/html/advanced/stream-navigation.html
    says. It seems it is not working at least in the C generated code.

     

Log in to post a comment.