Antlr.Runtime.Lexer.ReportError C# (CSharp) Method

ReportError() public method

public ReportError ( RecognitionException e ) : void
e RecognitionException
return void
        public override void ReportError( RecognitionException e )
        {
            /* TODO: not thought about recovery in lexer yet.
             *
             * // if we've already reported an error and have not matched a token
             * // yet successfully, don't report any errors.
             * if ( errorRecovery ) {
             *     //System.err.print("[SPURIOUS] ");
             *     return;
             * }
             * errorRecovery = true;
             */

            DisplayRecognitionError( this.TokenNames, e );
        }