8000 fix error messages. · mrubyc/mrubyc@6acf169 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6acf169

Browse files
fix error messages.
1 parent 70e5859 commit 6acf169

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/vm.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1369,7 +1369,7 @@ static inline void op_argary( mrbc_vm *vm, mrbc_value *regs EXT )
13691369
return;
13701370
}
13711371
if( b & 0x3e0 ) { // check m2 parameter.
1372-
mrbc_raise( vm, MRBC_CLASS(NotImplementedError), "not support m2 or keyword argument");
1372+
mrbc_raise( vm, MRBC_CLASS(NotImplementedError), "not support m2 argument");
13731373
return;
13741374
}
13751375

@@ -1443,7 +1443,7 @@ static inline void op_enter( mrbc_vm *vm, mrbc_value *regs EXT )
14431443

14441444
// Check m2 parameter.
14451445
if( a & FLAG_M2 ) {
1446-
mrbc_raise( vm, MRBC_CLASS(NotImplementedError), "not support m2 or keyword argument");
1446+
mrbc_raise( vm, MRBC_CLASS(NotImplementedError), "not support m2 argument");
14471447
return;
14481448
}
14491449

@@ -1810,7 +1810,7 @@ static inline void op_blkpush( mrbc_vm *vm, mrbc_value *regs EXT )
18101810
int lv = (b ) & 0x0f;
18111811

18121812
if( m2 ) {
1813-
mrbc_raise( vm, MRBC_CLASS(NotImplementedError), "not support m2 or keyword argument");
1813+
mrbc_raise( vm, MRBC_CLASS(NotImplementedError), "not support m2 argument");
18141814
return;
18151815
}
18161816

0 commit comments

Comments
 (0)
0