Cleanup + little polymorph + ast_copy

This commit is contained in:
Krzosa Karol
2023-03-31 08:19:26 +02:00
parent 21c8ceff03
commit aaf1b2f2d9
11 changed files with 406 additions and 15 deletions

View File

@@ -50,6 +50,10 @@ struct Array {
}
}
void reset() {
len = 0;
}
void add(T item) {
grow(1);
data[len++] = item;