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:
Nathan Braswell
2014-07-03 01:52:44 -07:00
parent 22fbd61360
commit 91a68ac2b1
2 changed files with 4 additions and 4 deletions

View File

@@ -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;
}