diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-04-14 02:21:48 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-04-14 02:21:48 -0600 |
commit | ee60d3f9a32f75c628961f40a9bf4f1bf387ac06 (patch) | |
tree | f424f292d987f6472f9ca1f5283127797461a075 /boil/library/TypeFactory.java | |
parent | 6ecd1893b4586c7077c6969431b47ca4e0962240 (diff) |
Proper Allocation sizes for Boil VarDeclaration
Diffstat (limited to 'boil/library/TypeFactory.java')
-rw-r--r-- | boil/library/TypeFactory.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/boil/library/TypeFactory.java b/boil/library/TypeFactory.java index c84f64e..432fc0f 100644 --- a/boil/library/TypeFactory.java +++ b/boil/library/TypeFactory.java @@ -33,7 +33,9 @@ public class TypeFactory { * list of the x most recent entries. */ String rtn = ""; - for (int i = type_num-x; i < type_num; ++i) { + rtn += String.format("t.%d", + type_num-x); + for (int i = type_num-(x+1); i < type_num; ++i) { rtn += String.format(" t.%d", i); } |