lcc/Compiler/Parser/Exceptions/MissingTokenException.cs
Clemens-Dautermann d0c844972d Error Fixes
- Lexer discarding all newlines (now replaces it with spaces)
- Cleanup of Type check and remove function in parser
- Cleanup in Compiler.cs
2020-08-17 23:26:53 +02:00

15 lines
No EOL
337 B
C#

using System;
using Compiler.Lexer;
namespace Compiler.Parser.Exceptions
{
public class MissingTokenException : Exception
{
public override string Message { get; }
public MissingTokenException(TokenType expected)
{
this.Message = "Expected Token " + expected + " missing.";
}
}
}