Describes an error genered while parsing CPL.
		/// <summary>
		/// Logs the given error to the <see cref="ErrorTracker"/>.
		/// </summary>
		/// <param name="tokenNames">The names of the tokens in the current language.</param>
		/// <param name="e">The error.</param>
		public override void DisplayRecognitionError(String[] tokenNames, RecognitionException e)
		{
			LanguageError lerError = new LanguageError();
			lerError.Line = e.Line - 1;
			lerError.Column = e.CharPositionInLine;
			lerError.Position = e.Token.StartIndex;
			lerError.End = e.Token.StopIndex;
			lerError.Message = GetErrorMessage(e, tokenNames);
			ErrorTracker.ParserErrors.Add(lerError);
		}
        /// <summary>
        /// Logs the given error to the <see cref="ErrorTracker"/>.
        /// </summary>
        /// <param name="tokenNames">The names of the tokens in the current language.</param>
        /// <param name="e">The error.</param>
        public override void DisplayRecognitionError(String[] tokenNames, RecognitionException e)
        {
            LanguageError lerError = new LanguageError();

            lerError.Line     = e.Line - 1;
            lerError.Column   = e.CharPositionInLine;
            lerError.Position = e.Token.StartIndex;
            lerError.End      = e.Token.StopIndex;
            lerError.Message  = GetErrorMessage(e, tokenNames);
            ErrorTracker.ParserErrors.Add(lerError);
        }