diff options
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 |
