From cb4f4df4f12fe6a49a2b2ff8edd2175c9ed9edcf Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Mon, 6 Sep 2021 16:11:35 +0200 Subject: [PATCH] No date comment --- src/preserves/private/preserves_schema_nim.nim | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/preserves/private/preserves_schema_nim.nim b/src/preserves/private/preserves_schema_nim.nim index 01bd74b..c8a3723 100644 --- a/src/preserves/private/preserves_schema_nim.nim +++ b/src/preserves/private/preserves_schema_nim.nim @@ -1,7 +1,7 @@ # SPDX-FileCopyrightText: 2021 ☭ Emery Hemingway # SPDX-License-Identifier: Unlicense -import std/[os, strutils, tables, times] +import std/[os, strutils, tables] import compiler/[ast, idents, renderer, lineinfos] @@ -438,13 +438,10 @@ proc generateNimFile*(scm: Schema; path: string) = for typeDef in knownTypes.values: typeSection.add typeDef var - dateComment = PNode(kind: nkCommentStmt, comment: - "Date of generation: " & now().format("yyyy-MM-dd HH:mm")) imports = nkImportStmt.newNode.add( ident"std/typetraits", ident"preserves") module = newNode(nkStmtList).add( - dateComment, imports, typeSection, constSection