ANTLRTokenType DLGLexerBase:: erraction() { errstd("invalid token"); advance(); skip(); return (ANTLRTokenType) 0; // bogus, but satisfies compiler }
void DLGLexer::mode( int m ) { /* points to base of dfa table */ if (m<MAX_MODE){ automaton = m; /* have to redo class since using different compression */ cl = ZZSHIFT(ch); }else{ sprintf((char *)ebuf,"Invalid automaton mode = %d ",m); errstd(ebuf); } }