mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-14 23:33:28 +00:00
Merge pull request #1981 from Varriount/zielmicha-devel
Custom merge of Zielmicha devel
This commit is contained in:
@@ -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"))
|
||||
|
||||
|
||||
3
tests/misc/tspace in filename.nim
Normal file
3
tests/misc/tspace in filename.nim
Normal file
@@ -0,0 +1,3 @@
|
||||
# Test for the compiler to be able to compile a Nim file with spaces in it.
|
||||
|
||||
echo("Successful")
|
||||
Reference in New Issue
Block a user