diff options
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -46,11 +46,9 @@ task :convert do current_stage << <<~FUN proc f(); var - x: ^ElnaLocation; + x: ElnaRtlObjectInfo; begin - x := malloc(#size(ElnaLocation)); - x^.line := 5; - x^.column := cast(3: Word) + x.allocated := true end; begin @@ -60,6 +58,8 @@ task :convert do current_stage << <<~FUN var FUN + elsif line.end_with?("allocated: Word\n") + current_stage << "\t\tallocated: Bool\n" else current_stage << line end |
