added __tostring IString, added expressionPrecedence() to cparse.c

additional minor refactoring
This commit is contained in:
2021-01-03 17:33:10 -06:00
parent cb1d287c93
commit adb2381b4f
6 changed files with 84 additions and 43 deletions

View File

@@ -81,7 +81,7 @@ int cosmoB_sSub(CState *state, int nargs, CValue *args) {
cosmoV_pushLString(state, str->str + ((int)indx), ((int)length));
} else {
cosmoV_error(state, "Expected 2 or 3 parameters, got %d!", nargs);
cosmoV_error(state, "Expected 2 or 3 arguments, got %d!", nargs);
return 0;
}