Searched refs:firstline (Results 1 – 1 of 1) sorted by relevance
443 static const char *get_prompt (lua_State *L, int firstline) { in get_prompt() argument444 if (lua_getglobal(L, firstline ? "_PROMPT" : "_PROMPT2") == LUA_TNIL) in get_prompt()445 return (firstline ? LUA_PROMPT : LUA_PROMPT2); /* use the default */ in get_prompt()479 static int pushline (lua_State *L, int firstline) { in pushline() argument483 const char *prmt = get_prompt(L, firstline); in pushline()491 if (firstline && b[0] == '=') /* for compatibility with 5.2, ... */ in pushline()
Completed in 3 milliseconds