Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/lua/dist/src fix bug 3 (for Lua.5.3.3) reported...
details: https://anonhg.NetBSD.org/src/rev/69f245f3b97d
branches: trunk
changeset: 347639:69f245f3b97d
user: salazar <salazar%NetBSD.org@localhost>
date: Thu Sep 08 02:57:32 2016 +0000
description:
fix bug 3 (for Lua.5.3.3) reported on www.lua.org/bugs.html
diffstat:
external/mit/lua/dist/src/lcode.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r cf26b6c47ebe -r 69f245f3b97d external/mit/lua/dist/src/lcode.c
--- a/external/mit/lua/dist/src/lcode.c Thu Sep 08 02:55:50 2016 +0000
+++ b/external/mit/lua/dist/src/lcode.c Thu Sep 08 02:57:32 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lcode.c,v 1.6 2016/09/08 02:21:31 salazar Exp $ */
+/* $NetBSD: lcode.c,v 1.7 2016/09/08 02:57:32 salazar Exp $ */
/*
** Id: lcode.c,v 2.109 2016/05/13 19:09:21 roberto Exp
@@ -1046,8 +1046,8 @@
*/
static void codebinexpval (FuncState *fs, OpCode op,
expdesc *e1, expdesc *e2, int line) {
- int rk1 = luaK_exp2RK(fs, e1); /* both operands are "RK" */
- int rk2 = luaK_exp2RK(fs, e2);
+ int rk2 = luaK_exp2RK(fs, e2); /* both operands are "RK" */
+ int rk1 = luaK_exp2RK(fs, e1);
freeexps(fs, e1, e2);
e1->u.info = luaK_codeABC(fs, op, 0, rk1, rk2); /* generate opcode */
e1->k = VRELOCABLE; /* all those operations are relocatable */
Home |
Main Index |
Thread Index |
Old Index