summaryrefslogtreecommitdiff
path: root/cgen.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-12-07 13:59:34 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2019-12-07 13:59:34 -0500
commit1b52d023c3d3fc8474cb9fbdd6c08778e5840860 (patch)
treef96f43a44357487d0bbefc7422c123d6adedc532 /cgen.c
parent54b525a928a6db7a17982ef0a29885dafea04d60 (diff)
added license
Diffstat (limited to 'cgen.c')
-rw-r--r--cgen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/cgen.c b/cgen.c
index cda3c7a..b40870f 100644
--- a/cgen.c
+++ b/cgen.c
@@ -1,3 +1,8 @@
+/*
+ Copyright (C) 2019 Leo Tenenbaum.
+ This file is part of toc. toc is distributed under version 3 of the GNU General Public License, without any warranty whatsoever.
+ You should have received a copy of the GNU General Public License along with toc. If not, see <https://www.gnu.org/licenses/>.
+*/
static void cgen_create(CGenerator *g, FILE *out, Identifiers *ids, Evaluator *ev, Allocator *allocr) {
g->outc = out;
g->ident_counter = 1; /* some places use 0 to mean no id */