Provide matched text to lexer user code block

This commit is contained in:
josh committed 2022-10-15 13:37:34 -04:00
1 parent 623c644e74
commit ca8a360c0e
3 files changed
+35 -2

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import testparser;
import std.stdio;
int main()
{
return 0;
}
unittest
{
string input = `identifier_123`;
auto parser = new Testparser.Parser(input);
assert(parser.parse() == true);
writeln("pass1");
}