From 5933605591e6fd877e2774d08af5005d730f483d Mon Sep 17 00:00:00 2001 From: Felix Krause Date: Sat, 27 Feb 2016 13:09:50 +0100 Subject: [PATCH] Added copyright notices to files where missing --- private/dom.nim | 6 ++++++ private/serialization.nim | 6 ++++++ private/streams.nim | 6 ++++++ test/common.nim | 6 ++++++ test/constructingJson.nim | 6 ++++++ test/dom.nim | 6 ++++++ test/parsing.nim | 6 ++++++ test/serializing.nim | 6 ++++++ test/tests.nim | 6 ++++++ 9 files changed, 54 insertions(+) diff --git a/private/dom.nim b/private/dom.nim index 3304a91..1fc531d 100644 --- a/private/dom.nim +++ b/private/dom.nim @@ -1,3 +1,9 @@ +# NimYAML - YAML implementation in Nim +# (c) Copyright 2015 Felix Krause +# +# See the file "copying.txt", included in this +# distribution, for details about the copyright. + proc newYamlNode*(content: string, tag: string = "?"): YamlNode = new(result) result.kind = yScalar diff --git a/private/serialization.nim b/private/serialization.nim index f1d77ed..b849172 100644 --- a/private/serialization.nim +++ b/private/serialization.nim @@ -1,3 +1,9 @@ +# NimYAML - YAML implementation in Nim +# (c) Copyright 2015 Felix Krause +# +# See the file "copying.txt", included in this +# distribution, for details about the copyright. + proc initRefNodeData(p: pointer): RefNodeData = result.p = p result.count = 1 diff --git a/private/streams.nim b/private/streams.nim index a6e8bd6..5abfe83 100644 --- a/private/streams.nim +++ b/private/streams.nim @@ -1,3 +1,9 @@ +# NimYAML - YAML implementation in Nim +# (c) Copyright 2015 Felix Krause +# +# See the file "copying.txt", included in this +# distribution, for details about the copyright. + proc initYamlStream*(backend: iterator(): YamlStreamEvent): YamlStream = result.peeked = false result.backend = backend diff --git a/test/common.nim b/test/common.nim index 6ca92ab..07ee059 100644 --- a/test/common.nim +++ b/test/common.nim @@ -1,3 +1,9 @@ +# NimYAML - YAML implementation in Nim +# (c) Copyright 2015 Felix Krause +# +# See the file "copying.txt", included in this +# distribution, for details about the copyright. + import "../yaml" proc printDifference*(expected, actual: YamlStreamEvent) = diff --git a/test/constructingJson.nim b/test/constructingJson.nim index 58bb531..c96d279 100644 --- a/test/constructingJson.nim +++ b/test/constructingJson.nim @@ -1,3 +1,9 @@ +# NimYAML - YAML implementation in Nim +# (c) Copyright 2015 Felix Krause +# +# See the file "copying.txt", included in this +# distribution, for details about the copyright. + import "../yaml" import unittest, json diff --git a/test/dom.nim b/test/dom.nim index d17f2e3..91074db 100644 --- a/test/dom.nim +++ b/test/dom.nim @@ -1,3 +1,9 @@ +# NimYAML - YAML implementation in Nim +# (c) Copyright 2015 Felix Krause +# +# See the file "copying.txt", included in this +# distribution, for details about the copyright. + import "../yaml" import unittest, common diff --git a/test/parsing.nim b/test/parsing.nim index 12f3013..c18bc8d 100644 --- a/test/parsing.nim +++ b/test/parsing.nim @@ -1,3 +1,9 @@ +# NimYAML - YAML implementation in Nim +# (c) Copyright 2015 Felix Krause +# +# See the file "copying.txt", included in this +# distribution, for details about the copyright. + import "../yaml" import unittest, common diff --git a/test/serializing.nim b/test/serializing.nim index 2ca5067..8355d00 100644 --- a/test/serializing.nim +++ b/test/serializing.nim @@ -1,3 +1,9 @@ +# NimYAML - YAML implementation in Nim +# (c) Copyright 2015 Felix Krause +# +# See the file "copying.txt", included in this +# distribution, for details about the copyright. + import "../yaml" import unittest, strutils diff --git a/test/tests.nim b/test/tests.nim index 90ded06..a4d2c83 100644 --- a/test/tests.nim +++ b/test/tests.nim @@ -1 +1,7 @@ +# NimYAML - YAML implementation in Nim +# (c) Copyright 2015 Felix Krause +# +# See the file "copying.txt", included in this +# distribution, for details about the copyright. + import parsing, constructingJson, serializing, dom \ No newline at end of file