Home | History | Annotate | Download | only in src

Lines Matching refs:script

115   "usage: %s [options] [script [args]]\n"
118 " -i enter interactive mode after executing " LUA_QL("script") "\n"
197 narg = argc - (n + 1); /* number of arguments to the script */
198 luaL_checkstack(L, narg + 3, "too many arguments to script");
441 int script;
445 script = collectargs(argv, args);
446 if (script < 0) { /* invalid arg? */
447 print_usage(argv[-script]);
463 if (!runargs(L, argv, (script > 0) ? script : argc)) return 0;
464 /* execute main script (if there is one) */
465 if (script && handle_script(L, argv, script) != LUA_OK) return 0;
468 else if (script == 0 && !args[has_e] && !args[has_v]) { /* no arguments? */