summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile18
1 files changed, 3 insertions, 15 deletions
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