diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-09-24 00:39:51 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-09-24 00:39:51 +0200 |
| commit | f7b035a505e86ad916a43ab1dc1a662a6066b011 (patch) | |
| tree | a54369ae8ad56352d148c4583ab568f7d4869d30 /source/main.elna | |
| parent | 74e75e41fe12f19e5365a3152ffafa1a29376240 (diff) | |
| download | elna-f7b035a505e86ad916a43ab1dc1a662a6066b011.tar.gz | |
Move module heading to the top
Diffstat (limited to 'source/main.elna')
| -rw-r--r-- | source/main.elna | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/main.elna b/source/main.elna index 955f313..adac5ac 100644 --- a/source/main.elna +++ b/source/main.elna @@ -2,7 +2,9 @@ v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. *) -import cstdio, cstdlib, cstring, cctype, common, command_line_interface, lexer +program(parameters) +import + cstdio, cstdlib, cstring, cctype, common, command_line_interface, lexer type SourceFile* = record @@ -825,10 +827,8 @@ begin stderr := fdopen(2, "w\0".ptr) return -program(parameters) begin initialize_global_state(); -return cast(process(cast(parameters.length: Int), parameters.ptr): Word8) - + exit(process(cast(parameters.length: Int), parameters.ptr)) end. |
