small improvements
This commit is contained in:
parent
b4232a672f
commit
8090b6c027
2 changed files with 6 additions and 2 deletions
|
|
@ -462,9 +462,10 @@ proc MainCommand =
|
|||
gCmd = cmdCompileToC
|
||||
wantMainModule()
|
||||
CommandCompileToC()
|
||||
of "cpp", "compiletocpp":
|
||||
of "cpp", "compiletocpp":
|
||||
extccomp.cExt = ".cpp"
|
||||
gCmd = cmdCompileToCpp
|
||||
if cCompiler == ccGcc: setCC("gpp")
|
||||
wantMainModule()
|
||||
DefineSymbol("cpp")
|
||||
CommandCompileToC()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue