Consolidate return codes

This commit is contained in:
josh committed 2023-07-08 09:23:31 -04:00
1 parent 0232b204c6
commit ecef933255
13 files changed
+113 -111

No files matched your search

+2 -2
View File
@@ -10,11 +10,11 @@ unittest
{
string input = "abcdef";
auto parser = new Testparser.Parser(input);
assert(parser.parse() == Testparser.Parser.P_SUCCESS);
assert(parser.parse() == Testparser.P_SUCCESS);
writeln("pass1");
input = "defabcdef";
parser = new Testparser.Parser(input);
assert(parser.parse() == Testparser.Parser.P_SUCCESS);
assert(parser.parse() == Testparser.P_SUCCESS);
writeln("pass2");
}