Home | History | Annotate | Download | only in src

Lines Matching defs:args

122   "usage: %s [options] [script [args]]\n"
183 lua_insert(L, base); /* put it under chunk and args */
355 /* indices of various argument indicators in array args */
364 static int collectargs (char **argv, int *args) {
376 args[has_E] = 1;
380 args[has_i] = 1; /* go through */
383 args[has_v] = 1;
386 args[has_e] = 1; /* go through */
449 int args[num_has];
450 args[has_i] = args[has_v] = args[has_e] = args[has_E] = 0;
452 script = collectargs(argv, args);
457 if (args[has_v]) print_version();
458 if (args[has_E]) { /* option '-E'? */
467 if (!args[has_E] && handle_luainit(L) != LUA_OK)
473 if (args[has_i]) /* -i option? */
475 else if (script == 0 && !args[has_e] && !args[has_v]) { /* no arguments? */