cpphsSource codeContentsIndex
Language.Preprocessor.Cpphs.CppIfdef
PortabilityAll
Stabilityexperimental
MaintainerMalcolm Wallace <Malcolm.Wallace@cs.york.ac.uk>
Description
Perform a cpp.first-pass, gathering #define's and evaluating #ifdef's. and #include's.
Synopsis
cppIfdef :: FilePath -> [(String, String)] -> [String] -> BoolOptions -> String -> [(Posn, String)]
Documentation
cppIfdefSource
:: FilePathFile for error reports
-> [(String, String)]Pre-defined symbols and their values
-> [String]Search path for #includes
-> BoolOptionsOptions controlling output style
-> StringThe input file content
-> [(Posn, String)]The file after processing (in lines)
Run a first pass of cpp, evaluating #ifdef's and processing #include's, whilst taking account of #define's and #undef's as we encounter them.
Produced by Haddock version 0.8