daily update on 20250208 by nitload youmu. lexical analyzer complete but little problem
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
//-----------------------------------------------------------------------
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
|
||||
namespace StgSharp.Script.Express
|
||||
@@ -43,6 +44,24 @@ namespace StgSharp.Script.Express
|
||||
|
||||
}
|
||||
|
||||
public class ExpInvalidCharException : Exception
|
||||
{
|
||||
public ExpInvalidCharException(char c) :
|
||||
base($"An unknown char {c} occurred.")
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public class ExpInvalidTokenException : Exception
|
||||
{
|
||||
public ExpInvalidTokenException(int index) :
|
||||
base($"Cannot read a token from line at {index}")
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public class ExpInvalidTypeDeclareEndingExceptions : Exception
|
||||
{
|
||||
public ExpInvalidTypeDeclareEndingExceptions(
|
||||
|
||||
Reference in New Issue
Block a user