decl_array

This commit is contained in:
Vu Tuan Minh
2025-04-30 16:34:24 +02:00
parent c58d524dd1
commit a918ae8736
5 changed files with 6 additions and 6 deletions

View File

@@ -109,7 +109,7 @@ public class toLLVM_Visitor implements ProgramVisitor<SymTable,ProgramLLVMImp>,
TypeLLVM t2 = instr.t().accept(this,h);
Result r;
String nom= instr.s().get(i).nom();
Integer size=instr.s().get(i).size();
Expression size=instr.s().get(i).size();
if(size==null){
r= h.addVar(nom,t2);
h = r.symTable;