228 |
this->number = nvars++; |
this->number = nvars++; |
229 |
} |
} |
230 |
|
|
231 |
return TRUE; |
return true; |
232 |
} |
} |
233 |
|
|
234 |
|
|
299 |
this->assoc = this->alias->assoc; |
this->assoc = this->alias->assoc; |
300 |
} |
} |
301 |
} |
} |
302 |
return TRUE; |
return true; |
303 |
} |
} |
304 |
|
|
305 |
|
|
332 |
} |
} |
333 |
/* Do not do processing below for USER_NUMBER_ALIASs. */ |
/* Do not do processing below for USER_NUMBER_ALIASs. */ |
334 |
if (this->user_token_number == USER_NUMBER_ALIAS) |
if (this->user_token_number == USER_NUMBER_ALIAS) |
335 |
return TRUE; |
return true; |
336 |
} |
} |
337 |
else /* this->class == token_sym */ |
else /* this->class == token_sym */ |
338 |
{ |
{ |
340 |
} |
} |
341 |
|
|
342 |
symbols[this->number] = this; |
symbols[this->number] = this; |
343 |
return TRUE; |
return true; |
344 |
} |
} |
345 |
|
|
346 |
|
|
367 |
token_translations[this->user_token_number] = this->number; |
token_translations[this->user_token_number] = this->number; |
368 |
} |
} |
369 |
|
|
370 |
return TRUE; |
return true; |
371 |
} |
} |
372 |
|
|
373 |
|
|
383 |
static bool |
static bool |
384 |
hash_compare_symbol_t (const symbol_t *m1, const symbol_t *m2) |
hash_compare_symbol_t (const symbol_t *m1, const symbol_t *m2) |
385 |
{ |
{ |
386 |
return strcmp (m1->tag, m2->tag) ? FALSE : TRUE; |
return strcmp (m1->tag, m2->tag) == 0; |
387 |
} |
} |
388 |
|
|
389 |
static unsigned int |
static unsigned int |
501 |
static void |
static void |
502 |
symbols_token_translations_init (void) |
symbols_token_translations_init (void) |
503 |
{ |
{ |
504 |
int num_256_available_p = TRUE; |
bool num_256_available_p = true; |
505 |
int i; |
int i; |
506 |
|
|
507 |
/* Find the highest user token number, and whether 256, the POSIX |
/* Find the highest user token number, and whether 256, the POSIX |
515 |
if (this->user_token_number > max_user_token_number) |
if (this->user_token_number > max_user_token_number) |
516 |
max_user_token_number = this->user_token_number; |
max_user_token_number = this->user_token_number; |
517 |
if (this->user_token_number == 256) |
if (this->user_token_number == 256) |
518 |
num_256_available_p = FALSE; |
num_256_available_p = false; |
519 |
} |
} |
520 |
} |
} |
521 |
|
|