Skip to content

Commit

Permalink
Fix index of evar
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan committed Dec 3, 2023
1 parent efbd5ab commit 9f882de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4633,7 +4633,7 @@ static void trystat (LexState *ls) {
init_var(ls->fs, &evar, results_vidx);
luaK_exp2anyregup(ls->fs, &evar);
init_exp(&key, VKINT, 0);
key.u.ival = 1;
key.u.ival = 2;
luaK_exp2val(ls->fs, &key);
luaK_indexed(ls->fs, &evar, &key);

Expand Down

0 comments on commit 9f882de

Please sign in to comment.