From f7b035a505e86ad916a43ab1dc1a662a6066b011 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Thu, 24 Sep 2026 00:39:51 +0200 Subject: Move module heading to the top --- source/main.elna | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/main.elna') 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. -- cgit v1.2.3