17 lines
No EOL
396 B
C#
17 lines
No EOL
396 B
C#
using System;
|
|
|
|
namespace Compiler.Parser.Exceptions
|
|
{
|
|
public class InvalidIdentifierException : Exception
|
|
{
|
|
private string value { get; set; }
|
|
|
|
public override string Message { get; }
|
|
|
|
public InvalidIdentifierException(string value)
|
|
{
|
|
this.value = value;
|
|
this.Message = "Unexpected Identifier " + this.value + ".";
|
|
}
|
|
}
|
|
} |