Mercurial > hg > CbC > old > device
comparison mc.h @ 612:26daeeef30a0
*** empty log message ***
author | kono |
---|---|
date | Sat, 15 Apr 2006 22:21:52 +0900 |
parents | af6b9ae79583 |
children | 2ba903c8e749 |
comparison
equal
deleted
inserted
replaced
611:e761dfa47ed4 | 612:26daeeef30a0 |
---|---|
291 #define UCMPGE 76 | 291 #define UCMPGE 76 |
292 #define CMPGE 77 | 292 #define CMPGE 77 |
293 #define CMPEQ 78 | 293 #define CMPEQ 78 |
294 #define CMPNEQ 79 | 294 #define CMPNEQ 79 |
295 #define ASSOP 80 | 295 #define ASSOP 80 |
296 #define COMMA 81 | 296 #define UASSOP 81 |
297 | 297 #define COMMA 82 |
298 #define CASS 82 | 298 |
299 #define CASSOP 83 | 299 #define CASS (COP+ASS) |
300 #define CUASSOP 84 | 300 #define CASSOP (COP+ASSOP) |
301 | 301 #define CUASSOP (COP+UASSOP) |
302 #define SASS (SOP+CASS) | 302 |
303 #define SASSOP (SOP+CASSOP) | 303 #define SASS (SOP+ASS) |
304 #define SUASSOP (SOP+CUASSOP) | 304 #define SASSOP (SOP+ASSOP) |
305 #define SUASSOP (SOP+UASSOP) | |
305 | 306 |
306 #define DASS (DOP+ASS) | 307 #define DASS (DOP+ASS) |
307 #define DCMPGE (DOP+CMPGE) | 308 #define DCMPGE (DOP+CMPGE) |
308 #define DCMPEQ (DOP+CMPEQ) | 309 #define DCMPEQ (DOP+CMPEQ) |
309 #define DCMPNEQ (DOP+CMPNEQ) | 310 #define DCMPNEQ (DOP+CMPNEQ) |
351 #define LURSHIFT (LOP+URSHIFT) | 352 #define LURSHIFT (LOP+URSHIFT) |
352 #define LBAND (LOP+BAND) | 353 #define LBAND (LOP+BAND) |
353 #define LEOR (LOP+EOR) | 354 #define LEOR (LOP+EOR) |
354 #define LBOR (LOP+BOR) | 355 #define LBOR (LOP+BOR) |
355 | 356 |
356 #define BASS 85 | 357 #define BASS 83 |
357 #define BASSOP 86 | 358 #define BASSOP 84 |
358 #define BFD_REPL 87 | 359 #define BFD_REPL 85 |
359 | 360 |
360 #define JUMP 88 | 361 #define JUMP 86 |
361 | 362 |
362 #define STASS 89 | 363 #define STASS 87 |
363 | 364 |
364 | 365 |
365 #define BINARY_ARGS(i) ((MUL<=(i%SOP)&&(i%SOP)<=STASS)) | 366 #define BINARY_ARGS(i) ((MUL<=(i%SOP)&&(i%SOP)<=STASS)) |
366 | 367 |
367 /* ternary argments */ | 368 /* ternary argments */ |
368 | 369 |
369 #define COND 90 | 370 #define COND 88 |
370 #define UCOND 91 | 371 #define UCOND 89 |
371 #define SCOND (SOP+COND) | 372 #define SCOND (SOP+COND) |
372 #define SUCOND (SOP+UCOND) | 373 #define SUCOND (SOP+UCOND) |
373 #define DCOND (DOP+COND) | 374 #define DCOND (DOP+COND) |
374 #define FCOND (FOP+COND) | 375 #define FCOND (FOP+COND) |
375 #define LCOND (LOP+COND) | 376 #define LCOND (LOP+COND) |
377 | 378 |
378 #define TERNARY_ARGS(i) (COND==(i%SOP)||UCOND==(i%SOP)) | 379 #define TERNARY_ARGS(i) (COND==(i%SOP)||UCOND==(i%SOP)) |
379 | 380 |
380 /* not appeared as tags */ | 381 /* not appeared as tags */ |
381 | 382 |
382 #define LPAR 92 | 383 #define LPAR 90 |
383 #define RPAR 93 | 384 #define RPAR 91 |
384 #define LBRA 94 | 385 #define LBRA 92 |
385 #define RBRA 95 | 386 #define RBRA 93 |
386 #define LC 96 | 387 #define LC 94 |
387 #define RC 97 | 388 #define RC 95 |
388 #define COLON 98 | 389 #define COLON 96 |
389 #define SM 99 | 390 #define SM 97 |
390 #define CNAME 100 | 391 #define CNAME 98 |
391 | 392 |
392 #define I2C 101 | 393 #define I2C 99 |
393 #define I2S 102 | 394 #define I2S 100 |
394 #define I2I 103 | 395 #define I2I 101 |
395 #define I2U 104 | 396 #define I2U 102 |
396 #define I2D 105 | 397 #define I2D 103 |
397 #define I2F 106 | 398 #define I2F 104 |
398 #define I2LL 107 | 399 #define I2LL 105 |
399 #define I2ULL 108 | 400 #define I2ULL 106 |
400 | 401 |
401 #define U2UC 109 | 402 #define U2UC 107 |
402 #define U2US 110 | 403 #define U2US 108 |
403 #define U2I 111 | 404 #define U2I 109 |
404 #define U2U 112 | 405 #define U2U 110 |
405 #define U2D 113 | 406 #define U2D 111 |
406 #define U2F 114 | 407 #define U2F 112 |
407 #define U2LL 115 | 408 #define U2LL 113 |
408 #define U2ULL 116 | 409 #define U2ULL 114 |
409 | 410 |
410 | 411 |
411 #define D2I (DOP+I2I) | 412 #define D2I (DOP+I2I) |
412 #define D2U (DOP+I2U) | 413 #define D2U (DOP+I2U) |
413 #define D2D (DOP+I2D) | 414 #define D2D (DOP+I2D) |
438 | 439 |
439 /* tree node tags end */ | 440 /* tree node tags end */ |
440 | 441 |
441 /* statement start */ | 442 /* statement start */ |
442 | 443 |
443 #define ST_DECL 117 | 444 #define ST_DECL 115 |
444 #define ST_IF 118 | 445 #define ST_IF 116 |
445 #define ST_DO 119 | 446 #define ST_DO 117 |
446 #define ST_WHILE 120 | 447 #define ST_WHILE 118 |
447 #define ST_FOR 121 | 448 #define ST_FOR 119 |
448 #define ST_SWITCH 122 | 449 #define ST_SWITCH 120 |
449 #define ST_COMP 123 | 450 #define ST_COMP 121 |
450 #define ST_BREAK 124 | 451 #define ST_BREAK 122 |
451 #define ST_CONTINUE 125 | 452 #define ST_CONTINUE 123 |
452 #define ST_CASE 126 | 453 #define ST_CASE 124 |
453 #define ST_DEFAULT 127 | 454 #define ST_DEFAULT 125 |
454 #define ST_RETURN 128 | 455 #define ST_RETURN 126 |
455 #define ST_GOTO 129 | 456 #define ST_GOTO 127 |
456 #define ST_ASM 130 | 457 #define ST_ASM 128 |
457 #define ST_LABEL 131 | 458 #define ST_LABEL 129 |
458 #define ST_OP 132 | 459 #define ST_OP 130 |
459 #define ST_COMMENT 133 | 460 #define ST_COMMENT 131 |
460 | 461 |
461 #define IS_STATEMENT(i) (i==INLINE||(ST_DECL<=i&&i<=ST_COMMENT)) | 462 #define IS_STATEMENT(i) (i==INLINE||(ST_DECL<=i&&i<=ST_COMMENT)) |
462 | 463 |
463 #define HAS_ADDRESS 134 | 464 #define HAS_ADDRESS 132 |
464 | 465 |
465 /* statement end */ | 466 /* statement end */ |
466 | 467 |
467 /* error number start */ | 468 /* error number start */ |
468 | 469 |