summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.html3
-rw-r--r--README.md3
-rw-r--r--types.c5
3 files changed, 11 insertions, 0 deletions
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.</p>
<h3><code>toc</code> Source Code</h3>
+<p>The source code to <code>toc</code> is licensed under the GNU General Public License, version 3. See <code>LICENSE</code> for more information.</p>
+
<p><code>toc</code> is written in C, for speed and portability. It has no dependencies, other than the C runtime library.</p>
<h4>Build system</h4>
@@ -91,6 +93,7 @@ it is nearly as fast in theory.</p>
<tr><td>0.0</td><td>Initial version.</td><td>2019 Dec 6</td></tr>
<tr><td>0.1</td><td>Constant parameter inference.</td><td>2019 Dec 15</td></tr>
<tr><td>0.1.1</td><td>Better constant parameter inference.</td><td>2019 Dec 16</td></tr>
+<tr><td>0.1.2</td><td>Minor bug fixes</td><td>2020 Jan 2</td></tr>
</table>
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`.
<tr><td>0.0</td><td>Initial version.</td><td>2019 Dec 6</td></tr>
<tr><td>0.1</td><td>Constant parameter inference.</td><td>2019 Dec 15</td></tr>
<tr><td>0.1.1</td><td>Better constant parameter inference.</td><td>2019 Dec 16</td></tr>
+<tr><td>0.1.2</td><td>Minor bug fixes</td><td>2020 Jan 2</td></tr>
</table>
---
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 {