MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / anchor_token

Function anchor_token

Source/Misc/lua/src/lua.c:7633–7638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7631
7632
7633static void anchor_token (LexState *ls) {
7634if (ls->t.token == TK_NAME || ls->t.token == TK_STRING) {
7635TString *ts = ls->t.seminfo.ts;
7636luaX_newstring(ls, getstr(ts), ts->tsv.len);
7637}
7638}
7639
7640
7641static void error_expected (LexState *ls, int token) {

Callers 1

close_funcFunction · 0.85

Calls 1

luaX_newstringFunction · 0.85

Tested by

no test coverage detected