tools/pas2c/PascalPreprocessor.hs
branchwebgl
changeset 8330 aaefa587e277
parent 8138 cfb228baa598
parent 8020 00b1facf2805
child 9164 d923ba9d1145
equal deleted inserted replaced
8116:d24257910f8d 8330:aaefa587e277
    20     ("FPC", "")
    20     ("FPC", "")
    21     , ("PAS2C", "")
    21     , ("PAS2C", "")
    22 --    , ("WEBGL", "")
    22 --    , ("WEBGL", "")
    23 --    , ("AI_MAINTHREAD", "")
    23 --    , ("AI_MAINTHREAD", "")
    24     , ("ENDIAN_LITTLE", "")
    24     , ("ENDIAN_LITTLE", "")
    25     , ("S3D_DISABLED", "")
       
    26     ]
    25     ]
    27 
    26 
    28 preprocess :: String -> String -> String -> IO String
    27 preprocess :: String -> String -> String -> IO String
    29 preprocess inputPath alternateInputPath fn = do
    28 preprocess inputPath alternateInputPath fn = do
    30     r <- runParserT (preprocessFile (inputPath ++ fn)) (initDefines, [True]) "" ""
    29     r <- runParserT (preprocessFile (inputPath ++ fn)) (initDefines, [True]) "" ""