changeset 6552 | 91adc9ee7b8c |
parent 6520 | 6fecdc5d182f |
child 6618 | 2d3232069c4b |
--- a/tools/pas2c.hs Fri Jan 06 01:51:04 2012 +0100 +++ b/tools/pas2c.hs Sat Jan 07 00:10:47 2012 +0400 @@ -126,6 +126,7 @@ uses2C :: Uses -> State RenderState Doc uses2C uses@(Uses unitIds) = do mapM_ injectNamespace (Identifier "pas2cSystem" undefined : unitIds) + mapM_ (id2C True) unitIds return $ vcat . map (\i -> text $ "#include \"" ++ i ++ ".h\"") $ uses2List uses where injectNamespace (Identifier i _) = do