Change error to syntax_error in parser

This commit is contained in:
gingerBill
2019-10-13 16:06:41 +01:00
parent 45683703ea
commit b53fe14c22
3 changed files with 37 additions and 29 deletions
-1
View File
@@ -1975,7 +1975,6 @@ Type *handle_single_distributed_type_parameter(Array<Type *> const &types, bool
default:
return types[0];
}
return t_u64;
} else if (types.count >= 2) {
if (types[0] == t_f32 && types[1] == t_f32) {
if (offset) *offset = 2;