1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
|
n=tokenv;
nxttok();
if(tokent!=TF_CLOSE) ParseError("Close parentheses expected\n");
return n;
}
for(;;) {
if(tokent==TF_CLOSE) return n;
if(!Tokenf(TF_DIR) || tokenv>7 || (tokenv&1)) ParseError("Expected even absolute direction\n");
n|=1<<tokenv;
nxttok();
}
}
static inline Uint8 class_def_shape(void) {
Uint8 n=0;
|
|
|
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
|
n=tokenv;
nxttok();
if(tokent!=TF_CLOSE) ParseError("Close parentheses expected\n");
return n;
}
for(;;) {
if(tokent==TF_CLOSE) return n;
if(!Tokenf(TF_DIR) || tokenv>7) ParseError("Expected absolute direction\n");
n|=1<<tokenv;
nxttok();
}
}
static inline Uint8 class_def_shape(void) {
Uint8 n=0;
|