MCPcopy Create free account
hub / github.com/csyonghe/Spire / PushInputStream

Function PushInputStream

Source/SpireCore/Preprocessor.cpp:208–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206
207
208static void PushInputStream(Preprocessor* preprocessor, PreprocessorInputStream* inputStream)
209{
210 inputStream->parent = preprocessor->inputStream;
211 preprocessor->inputStream = inputStream;
212}
213
214// Called when we reach the end of an input stream.
215// Performs some validation and then destroys the input stream if required.

Callers 2

PushMacroExpansionFunction · 0.85
AdvanceTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected