{- -- The stand-alone main program for cpphs, a simple C pre-processor written in Haskell. -- Copyright (c) 2004 Malcolm Wallace -- This file is placed in the public domain, but the library modules it -- refers to are either standard Haskell'98, or distributed under the LGPL. -} module Main where import RunCpphs( runCpphs ) import System (getArgs, getProgName) main = do args <- getArgs prog <- getProgName runCpphs prog args