Menu

LoopRestartP - undeclared identifier

Patrik
2017-05-09
2017-05-09
  • Patrik

    Patrik - 2017-05-09

    Hi,

    I've run into a compile error when building my ecmascript engine.

    The code that generates this error is part of the generated lexer file and looks like this:

    __quex_debug("* TERMINAL <COUPLE 500>\n");
    __QUEX_IF_COUNT_COLUMNS_ADD((size_t)LoopRestartP);
    
    loop_restart_p = (me->buffer._read_p);
    

    My error message is:
    Error C2065 'LoopRestartP': undeclared identifier

    I suspect this may be a bug in Quex. Quite possibly it might have something to do
    with my Quex settings, but I can't find what settings would cause this issue.

    Any help solving this problem would be much appreciated.

    EDIT: I would, of course, be happy to create a ticket for this issue if it
    seems likely that it's a bug in Quex.

    Best regards,

    Patrik J

     

    Last edit: Patrik 2017-05-09
  • Frank-Rene Schäfer

    Can you post a bug with a minimal example to reproduce? I will get onto it this
    evening. Please, mention the version of Quex.

     
  • Patrik

    Patrik - 2017-05-09

    Thenk you for the quick reply! I will attempt to re-create a minimial
    example right away :)

     
  • Patrik

    Patrik - 2017-05-09
     
  • Patrik

    Patrik - 2017-05-09

    While attempting to create a minimal example for this bug I
    accidentally found another bug as well:
    https://sourceforge.net/p/quex/bugs/300/

     

Log in to post a comment.