Fixed a pretty bad error in isNullable logic, I must have been tired. Also, edited grammer to support a[n].b, which was previously done with wrong operator precedence so that that construction was illegal. vector.krak still doesn't quite parse, but that's because of some error with if (!name) which I will fix later. Bedtime.
This commit is contained in:
@@ -51,9 +51,9 @@ template <T> T* new() {
|
||||
}
|
||||
|
||||
template <T> void delete(T* toDelete, int itemDestructCount) {
|
||||
for (int i = 0; i < itemDestructCount; i++)
|
||||
for (int i = 0; i < itemDestructCount; i++;)
|
||||
toDelete[i].destruct();
|
||||
delete(toDelete);
|
||||
delete<T>(toDelete);
|
||||
}
|
||||
|
||||
template <T> void delete(T* toDelete) {
|
||||
|
||||
Reference in New Issue
Block a user