Found 10 other functions taking a
ScriptObj
argument:
Takes a tokenlist and creates the allocated list of script tokens in script->token, of length script->len. Unnecessary tokens are discarded, and LINE and WORD tokens are inserted as required. Also sets script->line to the line number of the first token
Similar to ScriptObjAddTokens(), but for subst objects.
Returns 1 if the script is valid (parsed ok), otherwise returns 0 and leaves an error message in the interp result.