bison/src symtab.c
Paul Eggert <[email protected]>
| Newsgroups | gmane.comp.parsers.bison.cvs |
|---|---|
| Message-ID | <[email protected]> |
CVSROOT: /cvsroot/bison Module name: bison Changes by: Paul Eggert <[email protected]> 02/12/13 03:42:04 Modified files: src : symtab.c Log message: (symbol_check_defined, symbol_check_alias_consistency, symbol_pack, symbol_translation, hash_compare_symbol, hash_symbol): Now inline. Return bool, not int. (symbol_check_defined_processor, symbol_check_alias_consistency_processor, symbol_pack_processor, symbol_translation_processor, hash_symbol_comparator, hash_symbol_hasher): New functions, to avoid casts. (symbols_new, symbols_do, symbols_check_defined, symbols_token_translations_init): Use new functions instead of casting old functions unportably. (symbol_free): Remove; unused. (symbol_get): Remove cast in lhs of assignment. (symbols_do): Now static. Accept generic arguments, not hashing-related ones. CVSWeb URLs: http://savannah.gnu.org/cgi-bin/viewcvs/bison/bison/src/symtab.c.diff?tr1=1.53&tr2=1.54&r1=text&r2=text