git-svn-id: https://projects.brucker.ch/su4sml/svn/infsec-import/trunk/src/su4sml@5783 3260e6d1-4efc-4170-b0a7-36055960796d
This commit is contained in:
parent
4344beecf3
commit
444a097d04
|
@ -190,7 +190,7 @@ fun codegen_home _ = getOpt(OS.Process.getEnv "CODEGEN_HOME",
|
|||
fun call_cpp file =
|
||||
let (*val targetFile = String.substring (file,0,size file -4) ^".tmp";*)
|
||||
val targetFile = OS.FileSys.tmpName ()
|
||||
val _ = OS.Process.system ("cpp "^codegen_home()^"/"^file^" "^targetFile^" -P -C")
|
||||
val _ = OS.Process.system ("cpp -P -C "^codegen_home()^"/"^file^" "^targetFile)
|
||||
in
|
||||
targetFile
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue