Provide matched text to lexer user code block
This commit is contained in:
1 parent
623c644e74
commit
ca8a360c0e
3 files changed
+35
-2
No files matched your search
@@ -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");
|
||||
}
|
||||
Reference in new issue
Block a user