Logo Search packages:      
Sourcecode: jflex version File versions

boolean java_cup::runtime::lr_parser::shift_under_error (  )  [inline, protected]

Determine if we can shift under the special error Symbol out of the state currently on the top of the (real) parse stack.

Definition at line 898 of file lr_parser.java.

References error_sym(), get_action(), and stack.

Referenced by find_recovery_config().

      /* is there a shift under error Symbol */
      return get_action(((Symbol)stack.peek()).parse_state, error_sym()) > 0;

Generated by  Doxygen 1.6.0   Back to index