Execute rule user code blocks when reducing the rule
This commit is contained in:
1 parent
74beaf7ed8
commit
727c8cd1ea
4 files changed
+90
-13
No files matched your search
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user