MCPcopy Create free account
hub / github.com/F-Stack/f-stack / anchor_token

Function anchor_token

freebsd/contrib/openzfs/module/lua/lparser.c:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57
58static void anchor_token (LexState *ls) {
59 /* last token from outer function must be EOS */
60 lua_assert(ls->fs != NULL || ls->t.token == TK_EOS);
61 if (ls->t.token == TK_NAME || ls->t.token == TK_STRING) {
62 TString *ts = ls->t.seminfo.ts;
63 luaX_newstring(ls, getstr(ts), ts->tsv.len);
64 }
65}
66
67
68/* semantic error */

Callers 1

close_funcFunction · 0.70

Calls 1

luaX_newstringFunction · 0.70

Tested by

no test coverage detected