aboutsummaryrefslogtreecommitdiff
path: root/gdb/macroexp.c
AgeCommit message (Collapse)AuthorFilesLines
2002-05-14* macroexp.c (init_buffer, gather_arguments, expand): Use NULL, not 0.Jim Blandy1-5/+5
* 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/+1169
* 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.