diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-06-27 00:39:04 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-06-27 00:39:04 +0200 |
| commit | 44143ee21da8725df24ddf59ed91d7b47b7092c2 (patch) | |
| tree | ad2c5fd2b7c03a635a264a7a233bd437e6b1f466 /Rakefile | |
| parent | 3b747ac448ddc2173affd86b9316ab8a6c5f7bd6 (diff) | |
| download | elna-44143ee21da8725df24ddf59ed91d7b47b7092c2.tar.gz | |
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 18 |
1 files changed, 3 insertions, 15 deletions
@@ -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 |
