diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-12-14 07:21:49 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-12-14 07:23:59 -0800 |
commit | 62c5ea5228857a910b38df91c2b0fe28f4d1ddc8 (patch) | |
tree | 617d39cb5f141236757bee418fbbeab8ea407084 /libdecnumber | |
parent | 159b0bd9ce263dfb791eff5133b0ca0207201c84 (diff) | |
download | gcc-62c5ea5228857a910b38df91c2b0fe28f4d1ddc8.zip gcc-62c5ea5228857a910b38df91c2b0fe28f4d1ddc8.tar.gz gcc-62c5ea5228857a910b38df91c2b0fe28f4d1ddc8.tar.bz2 |
preprocessor: Deferred macro support
For deferred macros we also need a new field on the macro itself, so
that the module machinery can determine the macro was imported. Also
the documentation for the hashnode's deferred field was incomplete.
libcpp/
* include/cpplib.h (struct cpp_macro): Add imported_p field.
(struct cpp_hashnode): Tweak deferred field documentation.
* macro.c (_cpp_new_macro): Clear new field.
(cpp_get_deferred_macro, get_deferred_or_lazy_macro): Assert
more.
Diffstat (limited to 'libdecnumber')
0 files changed, 0 insertions, 0 deletions