]> git.saurik.com Git - bison.git/commit
* src/main.c: Include macrotab.h.
authorPascal Bart <pascal.bart@epita.fr>
Thu, 30 Aug 2001 18:51:56 +0000 (18:51 +0000)
committerPascal Bart <pascal.bart@epita.fr>
Thu, 30 Aug 2001 18:51:56 +0000 (18:51 +0000)
commit8f451ef727ff90cdd31ee23eb6d408a931d4e5b3
tree168cc6712dd2b81ca75eaedcddb1446a62c6c0dc
parent5086915ebdc099262c7e0b803ffb5b38b10d6afe
* src/main.c: Include macrotab.h.
* src/macrotab.h (macro_entry_s): Constify fields.
Adjust functions prototypes.
* src/macrotab.c (macro_insert): Constify key and value.
(macro_find): Constify key.
(macro_insert): Include 'xalloc.h'
(macro_insert): Use XMALLOC.
(macro_find): Constify return value.
* src/output.c (output_table_data): Rename table to table_data.
(output_parser): Constify macro_key, macro_value.
ChangeLog
src/macrotab.c
src/macrotab.h
src/main.c
src/output.c