projects
/
YACASL2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b40e4e9
)
GR3が不正な場合のエラーを修正
author
j8takagi
<j8takagi@nifty.com>
Mon, 8 Feb 2010 19:39:47 +0000
(
04:39
+0900)
committer
j8takagi
<j8takagi@nifty.com>
Mon, 8 Feb 2010 19:39:47 +0000
(
04:39
+0900)
src/assemble.c
patch
|
blob
|
history
src/casl2.c
patch
|
blob
|
history
diff --git
a/src/assemble.c
b/src/assemble.c
index
811f670
..
36edd2b
100644
(file)
--- a/
src/assemble.c
+++ b/
src/assemble.c
@@
-314,6
+314,7
@@
bool cometcmd(const CMDLINE *cmdl, PASS pass)
/* オペランド数3 */
if(cmdl->opd->opdc == 3) {
if((x = getgr(cmdl->opd->opdv[2], true)) == 0xFFFF) {
+ setcerr(125, cmdl->cmd); /* not GR in operand x */
return false;
}
cmd |= x;
diff --git
a/src/casl2.c
b/src/casl2.c
index
35f9a80
..
8e0b94a
100644
(file)
--- a/
src/casl2.c
+++ b/
src/casl2.c
@@
-54,6
+54,7
@@
CERRARRAY cerr[] = {
{ 122, "cannot create hash table" },
{ 123, "illegal string" },
{ 124, "more than one character in literal" },
+ { 125, "not GR in operand x" },
{ 201, "execute - out of COMET II memory" },
{ 202, "SVC input - out of Input memory" },
{ 203, "SVC output - out of COMET II memory" },