summaryrefslogtreecommitdiff
path: root/infer.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-05-05 13:52:45 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-05-05 13:52:45 -0400
commitcb75407e5ebd05edf3779b4ab389afcd70d7b3c8 (patch)
tree09128efe91f9761cea1eda96412d27d1f6cdb818 /infer.c
parentea45f46f883c6192319f200290c55544db7b53e1 (diff)
forgot some licenses
Diffstat (limited to 'infer.c')
-rw-r--r--infer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/infer.c b/infer.c
index 9816e2e..aff8c6a 100644
--- a/infer.c
+++ b/infer.c
@@ -1,3 +1,8 @@
+/*
+ Copyright (C) 2019, 2020 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 bool call_arg_param_order(FnExpr *fn, Type *fn_type, Argument *args, Location where, I16 **orderp);
static bool parameterized_struct_arg_order(StructDef *struc, Argument *args, I16 **order, Location where);
static bool types_expr(Typer *tr, Expression *e);