before merge
This commit is contained in:
@@ -32,17 +32,18 @@ using StgSharp.Mathematics;
|
||||
using StgSharp.Mathematics.Numeric;
|
||||
using StgSharp.Timing;
|
||||
using StgSharp.Timing;
|
||||
using System;
|
||||
|
||||
namespace StgSharp
|
||||
{
|
||||
internal static partial class Program
|
||||
{
|
||||
|
||||
private static bool _hasError;
|
||||
|
||||
private static string testExpPath = @"D:\Programmer\stepcode\data\ap203\ap203.exp";
|
||||
|
||||
internal static unsafe void Main(
|
||||
string[] args
|
||||
)
|
||||
internal static unsafe void Main(string[] args)
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -63,12 +64,13 @@ namespace StgSharp
|
||||
// TestMatrix();
|
||||
|
||||
|
||||
/*
|
||||
/**/
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine(ex);
|
||||
Console.ReadLine();
|
||||
_ = Console.ReadLine();
|
||||
_hasError = true;
|
||||
/*
|
||||
World.WriteLog($"{ex}", LogType.Error);
|
||||
Dialogue.PostError(ex);
|
||||
@@ -79,6 +81,11 @@ namespace StgSharp
|
||||
}
|
||||
finally
|
||||
{
|
||||
if (!_hasError)
|
||||
{
|
||||
Console.WriteLine("Program has exited with no error, press any key to exit.");
|
||||
_ = Console.ReadKey();
|
||||
}
|
||||
World.Terminate(0);
|
||||
}
|
||||
/**/
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
// -----------------------------------------------------------------------
|
||||
// -----------------------------------------------------------------------
|
||||
using StgSharp.RegularAnalysis.Abstraction;
|
||||
using StgSharp.RegularAnalysis.TextRegex;
|
||||
using StgSharp.RegularAnalysis.Text;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -44,8 +44,7 @@ namespace StgSharp
|
||||
@"abc[0-9]x|abc[0-9]y|abd[0-9]x|abd[0-9]y|xyz",
|
||||
@"get_name|get_value|get_type|set_name|set_value|set_type",
|
||||
@"helix|hello|help|hero|hers|her",
|
||||
@"a*.[abc]*(abcd|a(bc)c)+(?<name>abc)"
|
||||
];
|
||||
@"a*.[abc]*(abcd|a(bc)c)+(?<name>abc)"];
|
||||
|
||||
public static void Run()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user