Adding test file to commit now ...

main
channa 8 months ago
parent 81134c5690
commit 34cffcb4f8

@ -9,7 +9,11 @@ void main() {
// The input files
list[loc] files = getFilesIn(|project://minipas/test/input|);
for (loc file <- files) {
pt = runSyntaxTestOn(file);
try {
pt = runSyntaxTestOn(file);
} catch ParseError(loc e): {
println("Error at: <e>");
}
}
}
@ -19,7 +23,6 @@ void main() {
start[Program] runSyntaxTestOn(loc file) {
println("Parsing: <file>");
return parse(#start[Program], file);
}
list[loc] getFilesIn(loc dir) {

Loading…
Cancel
Save