From 470bfba45661d19558c0bf43b7819696a925ecb4 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Mon, 6 Jul 2026 10:44:15 +0200 Subject: Fix compiler crashing on syntax errors after error reporting. --- source/cstdio.elna | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/cstdio.elna') diff --git a/source/cstdio.elna b/source/cstdio.elna index b86014f..c589200 100644 --- a/source/cstdio.elna +++ b/source/cstdio.elna @@ -10,13 +10,13 @@ var stdout*: ^FILE := extern stderr*: ^FILE := extern -proc fopen*(pathname: ^Char, mode: ^Char) -> ^FILE +proc fopen*(pathname: ^Char; mode: ^Char) -> ^FILE extern proc fclose*(stream: ^FILE) -> Int extern -proc fseek*(stream: ^FILE, off: Int, whence: Int) -> Int +proc fseek*(stream: ^FILE; off: Int; whence: Int) -> Int extern proc rewind*(stream: ^FILE) @@ -28,10 +28,10 @@ extern proc fflush*(stream: ^FILE) -> Int extern -proc fread*(ptr: Pointer, size: Word, nmemb: Word, stream: ^FILE) -> Word +proc fread*(ptr: Pointer; size: Word; nmemb: Word; stream: ^FILE) -> Word extern -proc fwrite*(ptr: Pointer, size: Word, nitems: Word, stream: ^FILE) -> Word +proc fwrite*(ptr: Pointer; size: Word; nitems: Word; stream: ^FILE) -> Word extern proc perror(s: ^Char) -- cgit v1.2.3