Lines Matching defs:this
6 This file is part of Bison, the GNU Compiler Compiler.
8 This program is free software: you can redistribute it and/or modify
13 This program is distributed in the hope that it will be useful,
19 along with this program. If not, see <http://www.gnu.org/licenses/>. */
434 | Check that THIS, and its alias, have same precedence and |
439 symbol_check_alias_consistency (symbol *this)
441 symbol *sym = this;
442 symbol *str = this->alias;
445 if (!(this->alias
446 && this->user_token_number == USER_NUMBER_HAS_STRING_ALIAS))
486 symbol_check_alias_consistency_processor (void *this,
489 symbol_check_alias_consistency (this);
500 symbol_pack (symbol *this)
502 aver (this->number != NUMBER_UNDEFINED);
503 if (this->class == nterm_sym)
504 this->number += ntokens;
505 else if (this->user_token_number == USER_NUMBER_HAS_STRING_ALIAS)
508 symbols[this->number] = this;
513 symbol_pack_processor (void *this, void *null ATTRIBUTE_UNUSED)
515 return symbol_pack (this);
544 | Put THIS in TOKEN_TRANSLATIONS if it is a token. |
548 symbol_translation (symbol *this)
551 if (this->class == token_sym
552 && this->user_token_number != USER_NUMBER_HAS_STRING_ALIAS)
555 if (token_translations[this->user_token_number] != undeftoken->number)
557 (this->user_token_number,
558 symbols[token_translations[this->user_token_number]],
559 this);
561 token_translations[this->user_token_number] = this->number;
568 symbol_translation_processor (void *this, void *null ATTRIBUTE_UNUSED)
570 return symbol_translation (this);
834 symbol *this = symbols[i];
835 if (this->user_token_number != USER_NUMBER_UNDEFINED)
837 if (this->user_token_number > max_user_token_number)
838 max_user_token_number = this->user_token_number;
839 if (this->user_token_number == 256)
855 symbol *this = symbols[i];
856 if (this->user_token_number == USER_NUMBER_UNDEFINED)
857 this->user_token_number = ++max_user_token_number;
858 if (this->user_token_number > max_user_token_number)
859 max_user_token_number = this->user_token_number;