Cleanup + little polymorph + ast_copy
This commit is contained in:
@@ -50,6 +50,10 @@ struct Array {
|
||||
}
|
||||
}
|
||||
|
||||
void reset() {
|
||||
len = 0;
|
||||
}
|
||||
|
||||
void add(T item) {
|
||||
grow(1);
|
||||
data[len++] = item;
|
||||
|
||||
Reference in New Issue
Block a user