From 44143ee21da8725df24ddf59ed91d7b47b7092c2 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sat, 27 Jun 2026 00:39:04 +0200 Subject: Report errors during name analysis --- Rakefile | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 6778780..71d875a 100644 --- a/Rakefile +++ b/Rakefile @@ -36,21 +36,9 @@ end desc 'Convert previous stage language into the current stage language' task :convert do - File.open('boot/stage24/cl.elna', 'w') do |current_stage| - seen_proc = false - - File.readlines('boot/stage23/cl.elna').each do |line| - if line.start_with?('proc') && !seen_proc - seen_proc = true - current_stage << <<~CODE - proc sprintf(buffer: Pointer, format: ^Char, number: Word) - extern - - CODE - current_stage << line - else - current_stage << line - end + File.open('boot/stage25/cl.elna', 'w') do |current_stage| + File.readlines('boot/stage24/cl.elna').each do |line| + current_stage << line end end end -- cgit v1.2.3