Nimscript: fixes #9246 [backport]
This commit is contained in:
parent
24902394f7
commit
73c306258b
5 changed files with 6 additions and 2 deletions
|
|
@ -776,6 +776,7 @@ proc processArgument*(pass: TCmdLinePass; p: OptParser;
|
|||
# nim filename.nims is the same as "nim e filename.nims":
|
||||
if p.key.endswith(".nims"):
|
||||
config.command = "e"
|
||||
incl(config.globalOptions, optWasNimscript)
|
||||
config.projectName = unixToNativePath(p.key)
|
||||
config.arguments = cmdLineRest(p)
|
||||
result = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue