happy new year
This commit is contained in:
parent
fc636e2d12
commit
9c47bb9cc0
10 changed files with 14 additions and 14 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# The Nim Compiler
|
# The Nim Compiler
|
||||||
# (c) Copyright 2016 Andreas Rumpf
|
# (c) Copyright 2017 Andreas Rumpf
|
||||||
#
|
#
|
||||||
# See the file "copying.txt", included in this
|
# See the file "copying.txt", included in this
|
||||||
# distribution, for details about the copyright.
|
# distribution, for details about the copyright.
|
||||||
|
|
|
||||||
|
|
@ -852,12 +852,12 @@ proc addIntTypes(result: var Rope) {.inline.} =
|
||||||
proc getCopyright(cfile: string): Rope =
|
proc getCopyright(cfile: string): Rope =
|
||||||
if optCompileOnly in gGlobalOptions:
|
if optCompileOnly in gGlobalOptions:
|
||||||
result = ("/* Generated by Nim Compiler v$1 */$N" &
|
result = ("/* Generated by Nim Compiler v$1 */$N" &
|
||||||
"/* (c) 2016 Andreas Rumpf */$N" &
|
"/* (c) 2017 Andreas Rumpf */$N" &
|
||||||
"/* The generated code is subject to the original license. */$N") %
|
"/* The generated code is subject to the original license. */$N") %
|
||||||
[rope(VersionAsString)]
|
[rope(VersionAsString)]
|
||||||
else:
|
else:
|
||||||
result = ("/* Generated by Nim Compiler v$1 */$N" &
|
result = ("/* Generated by Nim Compiler v$1 */$N" &
|
||||||
"/* (c) 2016 Andreas Rumpf */$N" &
|
"/* (c) 2017 Andreas Rumpf */$N" &
|
||||||
"/* The generated code is subject to the original license. */$N" &
|
"/* The generated code is subject to the original license. */$N" &
|
||||||
"/* Compiled for: $2, $3, $4 */$N" &
|
"/* Compiled for: $2, $3, $4 */$N" &
|
||||||
"/* Command for C compiler:$n $5 */$N") %
|
"/* Command for C compiler:$n $5 */$N") %
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# The Nim Compiler
|
# The Nim Compiler
|
||||||
# (c) Copyright 2016 Andreas Rumpf
|
# (c) Copyright 2017 Andreas Rumpf
|
||||||
#
|
#
|
||||||
# See the file "copying.txt", included in this
|
# See the file "copying.txt", included in this
|
||||||
# distribution, for details about the copyright.
|
# distribution, for details about the copyright.
|
||||||
|
|
|
||||||
|
|
@ -2171,7 +2171,7 @@ proc genHeader(target: TTarget): Rope =
|
||||||
if target == targetJS:
|
if target == targetJS:
|
||||||
result = (
|
result = (
|
||||||
"/* Generated by the Nim Compiler v$1 */$n" &
|
"/* Generated by the Nim Compiler v$1 */$n" &
|
||||||
"/* (c) 2016 Andreas Rumpf */$n$n" &
|
"/* (c) 2017 Andreas Rumpf */$n$n" &
|
||||||
"var framePtr = null;$n" &
|
"var framePtr = null;$n" &
|
||||||
"var excHandler = 0;$n" &
|
"var excHandler = 0;$n" &
|
||||||
"var lastJSError = null;$n" &
|
"var lastJSError = null;$n" &
|
||||||
|
|
@ -2187,7 +2187,7 @@ proc genHeader(target: TTarget): Rope =
|
||||||
else:
|
else:
|
||||||
result = ("<?php$n" &
|
result = ("<?php$n" &
|
||||||
"/* Generated by the Nim Compiler v$1 */$n" &
|
"/* Generated by the Nim Compiler v$1 */$n" &
|
||||||
"/* (c) 2016 Andreas Rumpf */$n$n" &
|
"/* (c) 2017 Andreas Rumpf */$n$n" &
|
||||||
"$$framePtr = null;$n" &
|
"$$framePtr = null;$n" &
|
||||||
"$$excHandler = 0;$n" &
|
"$$excHandler = 0;$n" &
|
||||||
"$$lastJSError = null;$n") %
|
"$$lastJSError = null;$n") %
|
||||||
|
|
@ -2246,7 +2246,7 @@ proc genClass(obj: PType; content: Rope; ext: string) =
|
||||||
else: nil
|
else: nil
|
||||||
let result = ("<?php$n" &
|
let result = ("<?php$n" &
|
||||||
"/* Generated by the Nim Compiler v$# */$n" &
|
"/* Generated by the Nim Compiler v$# */$n" &
|
||||||
"/* (c) 2016 Andreas Rumpf */$n$n" &
|
"/* (c) 2017 Andreas Rumpf */$n$n" &
|
||||||
"require_once \"nimsystem.php\";$n" &
|
"require_once \"nimsystem.php\";$n" &
|
||||||
"class $#$# {$n$#$n}$n") %
|
"class $#$# {$n$#$n}$n") %
|
||||||
[rope(VersionAsString), cls, extends, content]
|
[rope(VersionAsString), cls, extends, content]
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# The Nim Compiler
|
# The Nim Compiler
|
||||||
# (c) Copyright 2016 Andreas Rumpf
|
# (c) Copyright 2017 Andreas Rumpf
|
||||||
#
|
#
|
||||||
# See the file "copying.txt", included in this
|
# See the file "copying.txt", included in this
|
||||||
# distribution, for details about the copyright.
|
# distribution, for details about the copyright.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# The Nim Compiler
|
# The Nim Compiler
|
||||||
# (c) Copyright 2016 Andreas Rumpf
|
# (c) Copyright 2017 Andreas Rumpf
|
||||||
#
|
#
|
||||||
# See the file "copying.txt", included in this
|
# See the file "copying.txt", included in this
|
||||||
# distribution, for details about the copyright.
|
# distribution, for details about the copyright.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# The Nim Compiler
|
# The Nim Compiler
|
||||||
# (c) Copyright 2016 Andreas Rumpf
|
# (c) Copyright 2017 Andreas Rumpf
|
||||||
#
|
#
|
||||||
# See the file "copying.txt", included in this
|
# See the file "copying.txt", included in this
|
||||||
# distribution, for details about the copyright.
|
# distribution, for details about the copyright.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# The Nim Compiler
|
# The Nim Compiler
|
||||||
# (c) Copyright 2016 Andreas Rumpf
|
# (c) Copyright 2017 Andreas Rumpf
|
||||||
#
|
#
|
||||||
# See the file "copying.txt", included in this
|
# See the file "copying.txt", included in this
|
||||||
# distribution, for details about the copyright.
|
# distribution, for details about the copyright.
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# The Nim Compiler
|
# The Nim Compiler
|
||||||
# (c) Copyright 2016 Andreas Rumpf
|
# (c) Copyright 2017 Andreas Rumpf
|
||||||
#
|
#
|
||||||
# See the file "copying.txt", included in this
|
# See the file "copying.txt", included in this
|
||||||
# distribution, for details about the copyright.
|
# distribution, for details about the copyright.
|
||||||
|
|
|
||||||
4
koch.nim
4
koch.nim
|
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Maintenance program for Nim
|
# Maintenance program for Nim
|
||||||
# (c) Copyright 2016 Andreas Rumpf
|
# (c) Copyright 2017 Andreas Rumpf
|
||||||
#
|
#
|
||||||
# See the file "copying.txt", included in this
|
# See the file "copying.txt", included in this
|
||||||
# distribution, for details about the copyright.
|
# distribution, for details about the copyright.
|
||||||
|
|
@ -30,7 +30,7 @@ const
|
||||||
+-----------------------------------------------------------------+
|
+-----------------------------------------------------------------+
|
||||||
| Maintenance program for Nim |
|
| Maintenance program for Nim |
|
||||||
| Version $1|
|
| Version $1|
|
||||||
| (c) 2016 Andreas Rumpf |
|
| (c) 2017 Andreas Rumpf |
|
||||||
+-----------------------------------------------------------------+
|
+-----------------------------------------------------------------+
|
||||||
Build time: $2, $3
|
Build time: $2, $3
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue