Home | History | Annotate | Download | only in src

Lines Matching refs:progname

25 #define PROGNAME	"luac"		/* default program name */
26 #define OUTPUT PROGNAME ".out" /* default output file */
33 static const char* progname=PROGNAME; /* actual program name */
37 fprintf(stderr,"%s: %s\n",progname,message);
43 fprintf(stderr,"%s: cannot %s %s: %s\n",progname,what,output,strerror(errno));
50 fprintf(stderr,"%s: unrecognized option " LUA_QS "\n",progname,message);
52 fprintf(stderr,"%s: %s\n",progname,message);
63 ,progname,Output);
73 if (argv[0]!=NULL && *argv[0]!=0) progname=argv[0];
144 if (lua_load(L,reader,&i,"=(" PROGNAME ")",NULL)!=LUA_OK) fatal(lua_tostring(L,-1));