diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-01-31 21:13:15 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-01-31 21:13:15 +0000 |
commit | b1fbc9d2da943533691dc94508656dabf9bb76a2 (patch) | |
tree | 425454757cab1baf5c2b56a6524934098178a2f7 /gcc/melt-predef.list | |
parent | 4981f4de47debbdae5320105d6b4e7cd19b39de5 (diff) | |
download | gcc-b1fbc9d2da943533691dc94508656dabf9bb76a2.tar.gz |
2014-01-31 Basile Starynkevitch <basile@starynkevitch.net>
{{unstable, since should be boostrapped with make upgrade-warmelt}}
* melt-predef.list (HOOK_PROCESS_PRAGMA): New.
* melt/warmelt-first.melt (class_gcc_pragma): New field
gccpragma_data.
* melt/warmelt-hooks.melt: Most of pragma support is tree specific
so goes into xtramelt-ana-tree.melt...
(pragma_lex, c_register_pragma_with_expansion_and_data)
(c_register_pragma_with_data, melt_register_pragmas_callback):
Remove cheader defining them.
(pragma_processor): New variable.
(register_pragma_processor): New function.
(hook_register_pragmas): Improve.
(check_c_frontend): Move to xtramelt-ana-tree.melt.
(pragma_handler_tuple): New variable.
(hook_process_pragma): New hook.
(cpp_ttype_tuple, register_cpp_ttype, ensure_cpp_ttype_tuple)
(register_expanded_pragma): Move to xtramelt-ana-tree.melt.
(add_pragma_handler): New handler.
* melt/xtramelt-ana-tree.melt: Move most of pragma support from
warmelt-hooks.melt to here.
(pragma_lex, c_register_pragma_with_expansion_and_data)
(c_register_pragma_with_data)
(melt_register_pragmas_callback, melt_pragma_process_callback):
Add cheader defining them.
(check_c_frontend, cpp_ttype_tuple, register_cpp_ttype)
(ensure_cpp_ttype_tuple, pragma_lex): Function & variable & hook
moved from warmelt-hooks.melt
(register_expanded_pragma, register_plain_pragma)
(real_pragma_processor): New functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@207369 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/melt-predef.list')
-rw-r--r-- | gcc/melt-predef.list | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/melt-predef.list b/gcc/melt-predef.list index a4a5cfa0ffc..bd147d1a420 100644 --- a/gcc/melt-predef.list +++ b/gcc/melt-predef.list @@ -164,6 +164,7 @@ HOOK_PATMACRO_EXPORTER HOOK_POLL_INPUTS HOOK_PRE_GENERICIZE + HOOK_PROCESS_PRAGMA HOOK_REGISTER_PRAGMAS HOOK_RTL_EXECUTE HOOK_RTL_GATE |