static void gotostat (LexState *ls) {
  FuncState *fs = ls->fs;
  int line = ls->linenumber;
  TString *name = str_checkname(ls);  /* label's name */
  Labeldesc *lb = findlabel(ls, name);
  if (lb == NULL)  /* no label? */
    /* forward jump; will be resolved when the label is declared */
    newgotoentry(ls, name, line, luaK_jump(fs));
  else {  /* found a label */
    /* backward jump; will be resolved here */
    int lblevel = reglevel(fs, lb->nactvar);  /* label level */
    if (luaY_nvarstack(fs) > lblevel)  /* leaving the scope of a variable? */
      luaK_codeABC(fs, OP_CLOSE, lblevel, 0, 0);
    /* create jump and link it to the label */
    luaK_patchlist(fs, luaK_jump(fs), lb->pc);
  }
}
static void gotostat (LexState *ls) {
  FuncState *fs = ls->fs;
  int line = ls->linenumber;
  TString *name = str_checkname(ls);   
  Labeldesc *lb = findlabel(ls, name);
  if (lb == NULL)   
     
    newgotoentry(ls, name, line, luaK_jump(fs));
  else {   
     
    int lblevel = reglevel(fs, lb->nactvar);   
    if (luaY_nvarstack(fs) > lblevel)   
      luaK_codeABC(fs, OP_CLOSE, lblevel, 0, 0);
     
    luaK_patchlist(fs, luaK_jump(fs), lb->pc);
  }
}