cpphsSource codeContentsIndex
Main
Synopsis
version :: String
main :: IO ()
execute :: CpphsOptions -> Maybe FilePath -> Maybe FilePath -> IO ()
data ConvertArgs = ConvertArgs {
traditional, strip :: Bool
infile, outfile :: String
}
convertArgs :: [String] -> [String]
Documentation
version :: StringSource
main :: IO ()Source
execute :: CpphsOptions -> Maybe FilePath -> Maybe FilePath -> IO ()Source
Execute the preprocessor. If the filepath is Nothing then default to stdout/stdin as appropriate.
data ConvertArgs Source
Convert commandline options to remain compatible with cpp. Based on a shell script cpphs.compat
Constructors
ConvertArgs
traditional, strip :: Bool
infile, outfile :: String
convertArgs :: [String] -> [String]Source
Produced by Haddock version 0.8