When compiling from stdin write binary to stdinfile
This commit is contained in:
parent
6894ac7c0a
commit
c37e8035ea
3 changed files with 4 additions and 2 deletions
|
|
@ -61,6 +61,8 @@ proc handleCmdLine() =
|
|||
if gCmd == cmdRun:
|
||||
tccgen.run(commands.arguments)
|
||||
if optRun in gGlobalOptions:
|
||||
if gProjectName == "-":
|
||||
gProjectFull = "stdinfile"
|
||||
if gCmd == cmdCompileToJS:
|
||||
var ex: string
|
||||
if options.outFile.len > 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue