Tidied up the export/import lists for GenerateC and GenerateCPPCSP
This commit is contained in:
parent
5abb775ae4
commit
cc6dce5ead
|
@ -16,8 +16,25 @@ You should have received a copy of the GNU General Public License along
|
|||
with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-}
|
||||
|
||||
-- | Generate C code from the mangled AST.
|
||||
module GenerateC (cgenOps, cgenReplicatorLoop, cgenType, cintroduceSpec, cPreReq, genComma, genCPasses, generate, generateC, genLeftB, genMeta, genName, genRightB, seqComma, withIf ) where
|
||||
-- | Generate C code from the mangled AST. Most of the exports here are actually
|
||||
-- for GenerateCPPCSP to use
|
||||
module GenerateC
|
||||
( cgenOps
|
||||
, cgenReplicatorLoop
|
||||
, cgenType
|
||||
, cintroduceSpec
|
||||
, cPreReq
|
||||
, genComma
|
||||
, genCPasses
|
||||
, generate
|
||||
, generateC
|
||||
, genLeftB
|
||||
, genMeta
|
||||
, genName
|
||||
, genRightB
|
||||
, seqComma
|
||||
, withIf
|
||||
) where
|
||||
|
||||
import Data.Char
|
||||
import Data.Generics
|
||||
|
|
|
@ -39,7 +39,8 @@ import System.IO
|
|||
|
||||
import qualified AST as A
|
||||
import CompState
|
||||
import GenerateC (cgenOps, cintroduceSpec, cgenReplicatorLoop, cgenType, generate, genComma, genLeftB, genMeta, genName, genRightB, seqComma, withIf)
|
||||
import GenerateC (cgenOps, cgenReplicatorLoop, cgenType, cintroduceSpec,
|
||||
generate, genComma, genLeftB, genMeta, genName, genRightB, seqComma, withIf)
|
||||
import GenerateCBased
|
||||
import Metadata
|
||||
import Pass
|
||||
|
|
Loading…
Reference in New Issue
Block a user