>>>>> "Dehao" == Dehao Chen <de...@google.com> writes:
Dehao> + static htab_t location_adhoc_data_htab; Dehao> + static source_location curr_adhoc_loc; Dehao> + static struct location_adhoc_data *location_adhoc_data; Dehao> + static unsigned int allocated_location_adhoc_data; libcpp was written to allow multiple preprocessor objects to be created and used in one process. I think introducing globals like this breaks this part of the design. It seems to me they should instead be fields of cpp_reader or line_maps. Tom