lcc/Compiler/Parser/Exceptions/InvalidIdentifierException.cs
Clemens-Dautermann b3fe78fffb Added Parser
- can parse a basic token list to an AST
2020-08-17 01:07:59 +02:00

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 + ".";
}
}
}