[Boost-bugs] [Boost C++ Libraries] #10733: [wave] Hooks not called for expanding specific predefined macros

Subject: [Boost-bugs] [Boost C++ Libraries] #10733: [wave] Hooks not called for expanding specific predefined macros
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-11-01 15:52:15


#10733: [wave] Hooks not called for expanding specific predefined macros
---------------------------------------------------+---------------------
 Reporter: Tamas Berghammer <berghammer.tamas@…> | Owner: hkaiser
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: wave
  Version: Boost Development Trunk | Severity: Problem
 Keywords: hook, predefined macro, expansion |
---------------------------------------------------+---------------------
 Non of the preprocessor hook is called during the expansion of the
 following predefined macros: {{{__LINE__}}}, {{{__FILE__}}},
 {{{__INCLUDE_LEVEL__}}}.

 This is because the expansion of these macros are handled with a specific
 code path which skips the hooks.

 Expected behavior:
 * expanding_object_like_macro hook is called before the expansion
 * expansion happens based on the return value from the hook
 * expanded_macro hook is called after the expansion

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10733>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC