Home
last modified time | relevance | path

Searched refs:firstline (Results 1 – 1 of 1) sorted by relevance

/l4re-core-master/lua/lib/contrib/src/
A Dlua.c443 static const char *get_prompt (lua_State *L, int firstline) { in get_prompt() argument
444 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() argument
483 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