Simple specialisation of an exception class for the PragmaHandler. If raised this will cause the PpLexer to register undefined behaviour.
Exception class for the PragmaHandler to stop parsing token stream.
Abstract base class for a pragma handler.
Takes a list of PpTokens, processes then and should return a newline terminated string that will be preprocessed in the current environment.
An boolean attribute that says whether the supplied tokens should be macro replaced before being passed to self.
A pragma handler that does nothing.
Consume and return.
Tokens do not require macro replacement.
Base class for a pragma handler that implements ISO/IEC 9899:1999 (E) 6.10.5 Error directive para. 2.
Standard C acceptable macro directives
Standard C macro states
Standard C macro
Inject a macro declaration into the environment.
See ISO/IEC 9899:1999 (E) 6.10.5 Error directive para. 2.
STDC lines do not require macro replacement.