print les strings

This commit is contained in:
Vu Tuan Minh
2025-04-08 11:38:36 +02:00
parent b4bafcde5d
commit b0aa0d98ff
4 changed files with 19 additions and 8 deletions

View File

@@ -73,7 +73,7 @@ public class Program{
}
}
public static record PrintImp(String t) implements Instruction{
public static record PrintImp(ArrayList<String> t) implements Instruction{
@Override
public <H, S> S accept(InstrVisitor<H, S> v, H h) {
return v.visitPrint(this, h);