Added a C++ variant
continuous-integration/appveyor/branch AppVeyor build succeeded

This commit is contained in:
2021-03-26 10:08:04 +13:00
parent 442a967cd9
commit f3404e7b11
5 changed files with 214 additions and 7 deletions
-6
View File
@@ -908,12 +908,6 @@ namespace Assignment_1
#endregion
public class ParserException : Exception
{
/// <summary>
/// Importance is used to signify how the parser should respond to the error.
/// A code of 3 or greater is a critical error; the application will throw the error further up the call and exit.
/// 0 implies the line may be retried.
/// 1 should imply the current block is not valid and should be retried.
/// </summary>
public int Importance = 0;
public long LinePosition = -1;
public ParserException(string message, int importance, long linePos) : base(message)