diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-02-22 00:11:41 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-02-22 00:11:41 +0100 |
| commit | b987dd741a738c5e9947f4cc4fc85cfb480db201 (patch) | |
| tree | 267d08607ef381ee75e4625a3162b60174ed210b /Rakefile | |
| parent | 8142680fb7d8e91061a8aa6bf25150c0a890d865 (diff) | |
| download | elna-b987dd741a738c5e9947f4cc4fc85cfb480db201.tar.gz | |
Use operand record in TAC expression visitor
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -38,11 +38,20 @@ desc 'Convert previous stage language into the current stage language' task :convert do File.open('boot/stage20/cl.elna', 'w') do |current_stage| File.readlines('boot/stage19/cl.elna').each do |line| - if line.include? "_assign_at(@classification, 1, ElnaLexerClass.eof)" - current_stage << "\tclassification[1] := ElnaLexerClass.eof;\n" - else - current_stage << line - end + current_stage << line end + current_stage << <<~FUN + + proc f(m: ElnaInstructionModule); + begin + end; + + proc g(); + var + x: ElnaInstructionModule; + begin + f(x) + end; + FUN end end |
