Execute rule user code blocks when reducing the rule

This commit is contained in:
josh committed 2022-10-13 04:56:50 -04:00
1 parent 74beaf7ed8
commit 727c8cd1ea
4 files changed
+90 -13

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
import testparser;
import std.stdio;
int main()
{
return 0;
}
unittest
{
string input = "ab";
auto parser = new Testparser.Parser(cast(const(ubyte) *)input.ptr, input.length);
assert(parser.parse() == true);
}