<<
cpplib fragment handling
>>
Use
cpplib
's (existing but disabled) include file cache.
Also remember chain of fragments.
cpplib
logic and directive handling mostly unchanged.
After directive or file start call
enter_fragment
call-back.
Before next directive or file end call
exit_fragment
call-back.
If first time seen, tells front-end to remember declarations.
If fragment was previously-read, call-back checks dependencies for validity. On success, remembered declarations are "pushed" into top
binding_level
.
If
enter_fragment
succeeds,
cpplib
skips forward to end of fragment.