diff --git a/Eto.Parse/Eto.Parse.csproj b/Eto.Parse/Eto.Parse.csproj index 2d492fe..e5d3446 100644 --- a/Eto.Parse/Eto.Parse.csproj +++ b/Eto.Parse/Eto.Parse.csproj @@ -17,6 +17,8 @@ You can use BNF, EBNF, or Gold parser grammars to define your parser, code them Change for v1.6: * Fixed CharSetTerminal.CaseSensitive as it was inverted * Add support for CharRangeTerminal.CaseSensitive +* Clone copies Name and AddMatch properties +* Large character set ranges no longer cause out of memory issues Changes for v1.5: * Add .NET Standard 2.0 target diff --git a/Eto.Parse/Parser.cs b/Eto.Parse/Parser.cs index 7736783..846f828 100644 --- a/Eto.Parse/Parser.cs +++ b/Eto.Parse/Parser.cs @@ -189,7 +189,12 @@ protected Parser() /// Arguments for the copy protected Parser(Parser other, ParserCloneArgs args) { - AddError = other.AddError; + Name = other.Name; + addMatch = other.addMatch; + addMatchSet = other.addMatchSet; + addError = other.addError; + addErrorSet = other.addErrorSet; + args.Add(other, this); }