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/b7212f1a43c1
branches: trunk
changeset: 817781:b7212f1a43c1
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 7383e251c543 -r b7212f1a43c1 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