Logo Search packages:      
Sourcecode: jflex version File versions

void java_cup::runtime::lr_parser::syntax_error ( Symbol  cur_token  )  [inline]

This method is called when a syntax error has been detected and recovery is about to be invoked. Here in the base class we just emit a "Syntax error" error message.

Parameters:
cur_token the current lookahead Symbol.

Definition at line 394 of file lr_parser.java.

References report_error().

Referenced by debug_parse(), and parse().

    {
      report_error("Syntax error", cur_token);
    }


Generated by  Doxygen 1.6.0   Back to index