comparison mc-parse.c @ 790:a26d87f93c65

i64 bitfiled
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 21 Nov 2010 23:03:37 +0900
parents 003067098032
children 75e30aea08cd
comparison
equal deleted inserted replaced
789:9b1558a9151b 790:a26d87f93c65
1114 t = UNSIGNED; 1114 t = UNSIGNED;
1115 if(getsym(0)==INT) { 1115 if(getsym(0)==INT) {
1116 t = UNSIGNED; // unsigend int 1116 t = UNSIGNED; // unsigend int
1117 getsym(0); 1117 getsym(0);
1118 } else if (sym==CHAR) { getsym(0); t = UCHAR; } 1118 } else if (sym==CHAR) { getsym(0); t = UCHAR; }
1119 else if (sym==SHORT) { 1119 else if (sym==SHORT) { // unsigend short
1120 t = USHORT; 1120 t = USHORT;
1121 if(getsym(0)==INT) getsym(0); 1121 if(getsym(0)==INT) getsym(0);
1122 } else if (sym==LONG) { 1122 } else if (sym==LONG) { // unsigned long
1123 getsym(0); 1123 getsym(0);
1124 t = lp64?ULONGLONG:UNSIGNED; 1124 t = lp64?ULONGLONG:UNSIGNED;
1125 if(sym==LONG) { 1125 if(sym==LONG) { // unsigned long long
1126 if(getsym(0)==INT) getsym(0); 1126 if(getsym(0)==INT) getsym(0); // unsigend long long int
1127 t=ULONGLONG; 1127 t=ULONGLONG;
1128 } else if(sym==INT) { // unsigend long int 1128 } else if(sym==INT) { // unsigend long int
1129 getsym(0); 1129 getsym(0);
1130 t = lp64?ULONGLONG:UNSIGNED; 1130 t = lp64?ULONGLONG:UNSIGNED;
1131 } 1131 }