Merge branch 'master' into cmd-casl
authorj8takagi <j8takagi@nifty.com>
Mon, 8 Feb 2010 19:42:19 +0000 (04:42 +0900)
committerj8takagi <j8takagi@nifty.com>
Mon, 8 Feb 2010 19:42:19 +0000 (04:42 +0900)
src/assemble.c
src/casl2.c

index 811f670..36edd2b 100644 (file)
@@ -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;
index 35f9a80..8e0b94a 100644 (file)
@@ -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" },