diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/cgen.nim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/cgen.nim b/compiler/cgen.nim index 9a50b718c..afb36e787 100644 --- a/compiler/cgen.nim +++ b/compiler/cgen.nim @@ -1283,12 +1283,10 @@ proc addNimDefines(result: var Rope; conf: ConfigRef) {.inline.} = proc getCopyright(conf: ConfigRef; cfile: Cfile): Rope = if optCompileOnly in conf.globalOptions: result = ("/* Generated by Nim Compiler v$1 */$N" & - "/* (c) " & copyrightYear & " Andreas Rumpf */$N" & "/* The generated code is subject to the original license. */$N") % [rope(VersionAsString)] else: result = ("/* Generated by Nim Compiler v$1 */$N" & - "/* (c) " & copyrightYear & " Andreas Rumpf */$N" & "/* The generated code is subject to the original license. */$N" & "/* Compiled for: $2, $3, $4 */$N" & "/* Command for C compiler:$n $5 */$N") % @@ -1860,8 +1858,8 @@ proc myOpen(graph: ModuleGraph; module: PSym): PPassContext {.nosinks.} = incl g.generatedHeader.flags, isHeaderFile proc writeHeader(m: BModule) = + # could factor with 2 other instances var result = ("/* Generated by Nim Compiler v$1 */$N" & - "/* (c) 2017 Andreas Rumpf */$N" & "/* The generated code is subject to the original license. */$N") % [rope(VersionAsString)] |