diff options
author | Haitao Li <[email protected]> | 2011-07-28 19:25:55 +0800 |
---|---|---|
committer | Haitao Li <[email protected]> | 2011-07-31 17:41:41 +0800 |
commit | 3306c4fefc33db95d04d432af2d0d1abecfaa4f2 (patch) | |
tree | 94a31827fdbcb6832e77e7e223b003fca0048048 /lib/ic/src/icstruct.erl | |
parent | 68bbc078508ae4781844f3f0999cb2c5487d8c5c (diff) | |
download | otp-3306c4fefc33db95d04d432af2d0d1abecfaa4f2.tar.gz otp-3306c4fefc33db95d04d432af2d0d1abecfaa4f2.tar.bz2 otp-3306c4fefc33db95d04d432af2d0d1abecfaa4f2.zip |
ic: Implement multiple include optimization
Like C header files, IDL files are often macro guarded to avoid opening
and processing the same file repeatedly.
This patch implements the algorithm used by GNU cpp as described at:
http://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
Diffstat (limited to 'lib/ic/src/icstruct.erl')
0 files changed, 0 insertions, 0 deletions