src/main/java/ca/gobits/bnf/parser/BNFParserImpl.java
private BNFToken processNoMatch() {

        debugPrintIndents();
        LOGGER.finer("-> no match, rewinding to next sequence");

        this.stack.pop();

        BNFToken token = this.stack.peek().getCurrentToken();

        rewindToNextSequence();

        if (!this.stack.isEmpty()) {
            BNFParserState holder = this.stack.peek();
            holder.resetToken();
        }

        return token;
    }
/**
     * Rewind stack to the next sequence.
     * @return BNFToken
     */
Rewind stack to the next sequence.
Rewind stack to the next sequence .
private BNFToken processNoMatch() {
        debugPrintIndents();
        LOGGER.finer("-> no match, rewinding to next sequence");
        this.stack.pop();
        BNFToken token = this.stack.peek().getCurrentToken();
        rewindToNextSequence();
        if (!this.stack.isEmpty()) {
            BNFParserState holder = this.stack.peek();
            holder.resetToken();
        }
        return token;
    }
private BNFToken processNoMatch ( ) { debugPrintIndents ( ) ; LOGGER . finer ( "-> no match, rewinding to next sequence" ) ; this . stack . pop ( ) ; BNFToken token = this . stack . peek ( ) . getCurrentToken ( ) ; rewindToNextSequence ( ) ; if ( ! this . stack . isEmpty ( ) ) { BNFParserState holder = this . stack . peek ( ) ; holder . resetToken ( ) ; } return token ; }
Rewind stack to the next sequence.
Rewind stack to the next sequence .