1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
|
switch(tokenv) {
case OP_ADD: case OP_CLIMB: case OP_HEIGHT:
case OP_LOC: case OP_MARK: case OP_SUB:
case OP_QUEEN: case OP_ROOK: case OP_BISHOP:
case OP_DIR: case OP_DIR_C: case OP_DIR_E: case OP_DIR_EC:
case OP_OBJTOPAT: case OP_OBJBOTTOMAT: case OP_CUT: case OP_MUL:
case OP_OBJABOVE: case OP_OBJBELOW: case OP_TRACE: case OP_NEXT:
case 0x0200 ... 0x02FF: // message
case 0x4000 ... 0x7FFF: // class
case 0xC000 ... 0xFFFF: // message
cl->codes[ptr++]=tokenv;
break;
case OP_BEGIN: case OP_IF:
if(depth==31) ParseError("Too much pattern nesting\n");
|
>
|
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
|
switch(tokenv) {
case OP_ADD: case OP_CLIMB: case OP_HEIGHT:
case OP_LOC: case OP_MARK: case OP_SUB:
case OP_QUEEN: case OP_ROOK: case OP_BISHOP:
case OP_DIR: case OP_DIR_C: case OP_DIR_E: case OP_DIR_EC:
case OP_OBJTOPAT: case OP_OBJBOTTOMAT: case OP_CUT: case OP_MUL:
case OP_OBJABOVE: case OP_OBJBELOW: case OP_TRACE: case OP_NEXT:
case OP_IMAGE: case OP_IMAGE_C:
case 0x0200 ... 0x02FF: // message
case 0x4000 ... 0x7FFF: // class
case 0xC000 ... 0xFFFF: // message
cl->codes[ptr++]=tokenv;
break;
case OP_BEGIN: case OP_IF:
if(depth==31) ParseError("Too much pattern nesting\n");
|