diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-04-30 23:47:20 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-05-01 21:11:51 +0200 |
| commit | ebb2af7ae98f37e11036cabc3b925602508e47f5 (patch) | |
| tree | 655072b4c583d353ef0357d053b38f480853f619 /Rakefile | |
| parent | 14d130f2854a119de69475e6f48f51ed6659953a (diff) | |
| download | elna-ebb2af7ae98f37e11036cabc3b925602508e47f5.tar.gz | |
Let elna_tac_make_variable accept an ElnaTacOperand type
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -47,12 +47,14 @@ task :convert do proc f(); var + x: ^ElnaLocation; y: ElnaLocation; begin + x := malloc(#size(ElnaLocation)); y.line := 1; y.column := 3; - x := y; - printf("# %i %i %i %i\\n\\0", x.line, x.column, y.line, y.column) + x^ := y; + printf("# %i %i %i %i\\n\\0", x^.line, x^.column, y.line, y.column) end; begin @@ -61,7 +63,6 @@ task :convert do elsif line.start_with?('var') && !seen_global_var current_stage << <<~FUN var - x: ElnaLocation; FUN else current_stage << line |
