happy new year
This commit is contained in:
parent
fc636e2d12
commit
9c47bb9cc0
10 changed files with 14 additions and 14 deletions
|
|
@ -2171,7 +2171,7 @@ proc genHeader(target: TTarget): Rope =
|
|||
if target == targetJS:
|
||||
result = (
|
||||
"/* 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 excHandler = 0;$n" &
|
||||
"var lastJSError = null;$n" &
|
||||
|
|
@ -2187,7 +2187,7 @@ proc genHeader(target: TTarget): Rope =
|
|||
else:
|
||||
result = ("<?php$n" &
|
||||
"/* Generated by the Nim Compiler v$1 */$n" &
|
||||
"/* (c) 2016 Andreas Rumpf */$n$n" &
|
||||
"/* (c) 2017 Andreas Rumpf */$n$n" &
|
||||
"$$framePtr = null;$n" &
|
||||
"$$excHandler = 0;$n" &
|
||||
"$$lastJSError = null;$n") %
|
||||
|
|
@ -2246,7 +2246,7 @@ proc genClass(obj: PType; content: Rope; ext: string) =
|
|||
else: nil
|
||||
let result = ("<?php$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" &
|
||||
"class $#$# {$n$#$n}$n") %
|
||||
[rope(VersionAsString), cls, extends, content]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue