aboutsummaryrefslogtreecommitdiff
path: root/gdb/macrotab.c
AgeCommit message (Collapse)AuthorFilesLines
2002-05-23* macrotab.c (check_for_redefinition): Don't complain if the newJim Blandy1-15/+58
definition is the same as the previous one. Take more arguments to allow the comparison. (macro_define_object, macro_define_function): Pass more arguments to check_for_redefinition.
2002-05-14* macroexp.c (init_buffer, gather_arguments, expand): Use NULL, not 0.Jim Blandy1-7/+7
* macrotab.c (macro_lookup_inclusion, find_definition, new_macro_table): Same. * macroexp.c (currently_rescanning, expand): Use `strcmp () == 0', not `! strcmp ()'. This is a dubious improvement. * macrotab.c (macro_lookup_inclusion, find_definition): Same. * macrotab.c (macro_lookup_inclusion): Initialize `best_depth', although it's not necessary, to avoid a warning.
2002-05-13Add first preprocessor macro-expansion files.Jim Blandy1-0/+862
* macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. * Makefile.in (SFILES): Add macrotab.c, macroexp.c. (splay_tree_h, macroexp_h, macrotab_h): New variable. (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. (COMMON_OBS): Add macrotab.o, macroexp.o. (macroexp.o, macrotab.o): New rules.