# HG changeset patch # User Laurens Holst # Date 1644612701 -3600 # Fri Feb 11 21:51:41 2022 +0100 # Node ID b53214aa511c57e874067a14a625793c23b527cd # Parent d1215db908437a041bc58298688eda488a81c85b README: Document END directive. Has been supported since the first release, but was never documented. diff --git a/CHANGES.md b/CHANGES.md --- a/CHANGES.md +++ b/CHANGES.md @@ -9,6 +9,7 @@ * The `>>>` unsigned shift right operator is now supported. * The `'` character can now be written as `''` in character literals. * The `"` character can now be written as `""` in string literals. + * Documented the `end` directive, supported since the initial release. Glass 0.5 — 2017-01-18 ---------------------- diff --git a/README.md b/README.md --- a/README.md +++ b/README.md @@ -257,6 +257,12 @@ ENDIF ENDM + * Source file end: `end` + + Indicates the end of the current source file. Specifying this is optional, + and usually omitted. Any content on lines beyond this directive will not be + parsed. + * Error: `error` Generates an error and aborts the compilation. Optionally a message can be