From 3fa921a38b2c8440d22b2613106db469340984fa Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Thu, 2 Jan 2020 18:40:34 -0500 Subject: preparing for release --- README.html | 3 +++ README.md | 3 +++ types.c | 5 +++++ 3 files changed, 11 insertions(+) diff --git a/README.html b/README.html index b64d533..0d9d5d9 100644 --- a/README.html +++ b/README.html @@ -46,6 +46,8 @@ it is nearly as fast in theory.

toc Source Code

+

The source code to toc is licensed under the GNU General Public License, version 3. See LICENSE for more information.

+

toc is written in C, for speed and portability. It has no dependencies, other than the C runtime library.

Build system

@@ -91,6 +93,7 @@ it is nearly as fast in theory.

0.0Initial version.2019 Dec 6 0.1Constant parameter inference.2019 Dec 15 0.1.1Better constant parameter inference.2019 Dec 16 +0.1.2Minor bug fixes2020 Jan 2 diff --git a/README.md b/README.md index 4a64382..dd3ead5 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,8 @@ On other systems, you can just compile main.c with a C compiler. `toc` uses seve ### `toc` Source Code +The source code to `toc` is licensed under the GNU General Public License, version 3. See `LICENSE` for more information. + `toc` is written in C, for speed and portability. It has no dependencies, other than the C runtime library. #### Build system @@ -79,6 +81,7 @@ Here are the major versions of `toc`. 0.0Initial version.2019 Dec 6 0.1Constant parameter inference.2019 Dec 15 0.1.1Better constant parameter inference.2019 Dec 16 +0.1.2Minor bug fixes2020 Jan 2 --- diff --git a/types.c b/types.c index 69cd75b..970a3d9 100644 --- a/types.c +++ b/types.c @@ -2038,7 +2038,12 @@ static bool types_decl(Typer *tr, Declaration *d) { err_print(d->where, "Declaration marked for exporting, but no package output was specified."); success = false; } else { +#ifdef TOC_DEBUG /* TODO: remove this */ success = export_decl(tr->exptr, d); +#else + err_print(d->where, "This feature is in progress."); + success = false; +#endif } } } else { -- cgit v1.2.3