regex ir opt code on rewrite
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
//-----------------------------------------------------------------------
|
||||
// -----------------------------------------------------------------------
|
||||
// file="RegexHIRGenerator"
|
||||
// file="RegexIRGenerator"
|
||||
// Project: StgSharp
|
||||
// AuthorGroup: Nitload
|
||||
// Copyright (c) Nitload. All rights reserved.
|
||||
@@ -56,14 +56,14 @@ namespace StgSharp.RegularAnalysis.Text
|
||||
Count++;
|
||||
}
|
||||
|
||||
public void EmitCount(
|
||||
public void EmitCountComplex(
|
||||
int min,
|
||||
int max,
|
||||
bool isGreedy,
|
||||
int operation
|
||||
)
|
||||
{
|
||||
_tail.Add(new RegexCountIR(min, max, isGreedy, operation));
|
||||
_tail.Add(new RegexCountComplexIR(min, max, isGreedy, operation));
|
||||
Count++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user