From ef9daf7ef37a4ad9469a260ea52aa014bdf6549e Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Wed, 9 Apr 2014 21:37:28 +0900 Subject: fixed typos in operand descriptions --- src/opcode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/opcode.h') diff --git a/src/opcode.h b/src/opcode.h index f87611119..7b5196d31 100644 --- a/src/opcode.h +++ b/src/opcode.h @@ -73,8 +73,8 @@ enum { OP_SETCV,/* A Bx cvset(Sym(Bx),R(A)) */ OP_GETCONST,/* A Bx R(A) := constget(Sym(Bx)) */ OP_SETCONST,/* A Bx constset(Sym(Bx),R(A)) */ - OP_GETMCNST,/* A Bx R(A) := R(A)::Sym(B) */ - OP_SETMCNST,/* A Bx R(A+1)::Sym(B) := R(A) */ + OP_GETMCNST,/* A Bx R(A) := R(A)::Sym(Bx) */ + OP_SETMCNST,/* A Bx R(A+1)::Sym(Bx) := R(A) */ OP_GETUPVAR,/* A B C R(A) := uvget(B,C) */ OP_SETUPVAR,/* A B C uvset(B,C,R(A)) */ @@ -125,7 +125,7 @@ enum { OP_STRCAT,/* A B str_cat(R(A),R(B)) */ OP_HASH,/* A B C R(A) := hash_new(R(B),R(B+1)..R(B+C)) */ - OP_LAMBDA,/* A Bz Cz R(A) := lambda(SEQ[Bz],Cm) */ + OP_LAMBDA,/* A Bz Cz R(A) := lambda(SEQ[Bz],Cz) */ OP_RANGE,/* A B C R(A) := range_new(R(B),R(B+1),C) */ OP_OCLASS,/* A R(A) := ::Object */ -- cgit v1.2.3