Skip to content

Commit

Permalink
Merge pull request nim-lang#1981 from Varriount/zielmicha-devel
Browse files Browse the repository at this point in the history
Custom merge of Zielmicha devel
  • Loading branch information
Varriount committed Jan 18, 2015
2 parents 4b30c6d + 66a9be4 commit d3a8d5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions compiler/extccomp.nim
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,6 @@ const
ucc(),
icl()]

const
hExt* = ".h"

var
Expand Down Expand Up @@ -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(),
Expand Down Expand Up @@ -717,4 +717,3 @@ proc writeMapping*(gSymbolMapping: PRope) =

appf(code, "\n[Symbols]$n$1", [gSymbolMapping])
writeRope(code, joinPath(gProjectPath, "mapping.txt"))

3 changes: 3 additions & 0 deletions tests/misc/tspace in filename.nim
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Test for the compiler to be able to compile a Nim file with spaces in it.

echo("Successful")

0 comments on commit d3a8d5b

Please sign in to comment.