Merge pull request #314 from thebirk/int_from_arg_fix

Fixed int_from_arg not consuming argument.
This commit is contained in:
gingerBill
2019-01-02 15:01:45 +00:00
committed by GitHub
+4
View File
@@ -489,6 +489,10 @@ int_from_arg :: proc(args: []any, arg_index: int) -> (int, int, bool) {
}
}
if ok {
new_arg_index += 1;
}
return num, new_arg_index, ok;
}