Fixed silly not bug - in one location ! was written \!, which made practically no difference to the regex, but made it so that the parser wouldn't match it to !. Also added else to grammer, but this needs work in the ASTTransformation and CGenerator.
This commit is contained in:
@@ -38,7 +38,7 @@ typedef template<T> vector {
|
||||
}
|
||||
|
||||
void set(int index, T dataIn) {
|
||||
if (index < 0 || index => size)
|
||||
if (index < 0 || index >= size)
|
||||
return;
|
||||
data[index] = dataIn;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user