/* Find a variable with the given name 'n', handling global variables too.  */
static void singlevar(LexState *ls, expdesc *var)
/* Find a variable with the given name 'n', handling global variables too.  */
static void singlevar(LexState *ls, expdesc *var)
{
    expdesc key;
    singlevaraux(fs, ls->envn, var, 1);
    lua_assert(var->k != VVOID);
    codestring(&key, varname);
    luaK_indexed(fs, var, &key);
  }
}