X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e8f7155d98c22579c871c293a0daa5f7752e7c2b..89ff1b5e71a6d8aa34b3578282528adb43b198cd:/src/symtab.h diff --git a/src/symtab.h b/src/symtab.h index 33374fb3..bcc74951 100644 --- a/src/symtab.h +++ b/src/symtab.h @@ -128,9 +128,9 @@ struct symbol /** Undefined user number. */ # define USER_NUMBER_UNDEFINED -1 -/* `symbol->user_token_number == USER_NUMBER_HAS_STRING_ALIAS' means - this symbol has a literal string alias. For instance, `%token foo - "foo"' has `"foo"' numbered regularly, and `foo' numbered as +/* 'symbol->user_token_number == USER_NUMBER_HAS_STRING_ALIAS' means + this symbol has a literal string alias. For instance, '%token foo + "foo"' has '"foo"' numbered regularly, and 'foo' numbered as USER_NUMBER_HAS_STRING_ALIAS. */ # define USER_NUMBER_HAS_STRING_ALIAS -9991 @@ -266,7 +266,8 @@ struct symgraph void register_precedence (graphid first, graphid snd); -/** Print a warning for each symbol whose precedence is useless. */ +/** Print a warning for each symbol whose precedence and/or associativity + * is useless. */ void print_precedence_warnings (void); @@ -274,9 +275,7 @@ void print_precedence_warnings (void); | Symbol associativity | `----------------------*/ -void register_assoc (int i, int j); - -void print_assoc_warnings (void); +void register_assoc (graphid i, graphid j); /*-----------------. | Semantic types. |