Merge pull request #1981 from Varriount/zielmicha-devel

Custom merge of Zielmicha devel
This commit is contained in:
Varriount
2015-01-17 21:20:41 -05:00
2 changed files with 4 additions and 2 deletions

View File

@@ -332,7 +332,6 @@ const
ucc(),
icl()]
const
hExt* = ".h"
var
@@ -547,6 +546,7 @@ proc getCompileCFileCmd*(cfilename: string, isExternal = false): string =
else:
completeCFilePath(toObjFile(cfile))
objfile = quoteShell(objfile)
cfile = quoteShell(cfile)
result = quoteShell(compilePattern % [
"file", cfile, "objfile", objfile, "options", options,
"include", includeCmd, "nimrod", getPrefixDir(),
@@ -717,4 +717,3 @@ proc writeMapping*(gSymbolMapping: PRope) =
appf(code, "\n[Symbols]$n$1", [gSymbolMapping])
writeRope(code, joinPath(gProjectPath, "mapping.txt"))

View File

@@ -0,0 +1,3 @@
# Test for the compiler to be able to compile a Nim file with spaces in it.
echo("Successful")