picoe / Eto.Parse

Recursive descent LL(k) parser for .NET with Fluent API, BNF, EBNF and Gold Grammars
MIT License
148 stars 30 forks source link

Eto.Parse.Match.StringValue doesnt display full value (Cuts last character) #62

Open KarmyDev opened 2 years ago

KarmyDev commented 2 years ago

Some of the Matches children doesn't display full value of .StringValue (Might as well be problem with .Value) Here's an example of it: image with the source file being: image

cwensley commented 2 years ago

Hey thanks for reporting the issue, though an example code that demonstrates the problem would help greatly to narrow it down.

KarmyDev commented 1 year ago

Okay, here's example files alongside with the C# script, I used parts of my EBNF Checker code in Test.cs FilesForTesting.zip (Zip contains: Test.cs, Test.ebnf, Test.txt) Use it like that: ./Test Test.ebnf Test.txt program