diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2023-09-09 01:47:15 +0200 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2023-09-09 01:47:15 +0200 |
| commit | fc0e98f7621f1973a96f0b3d5c90634dd669f0c1 (patch) | |
| tree | e8e581759d4c06470ca0f76693dd4102c0f8360d /src | |
| parent | aff00c5060c14cb8b5eed5275a17ebd0e67be7b3 (diff) | |
Fix #reverse
Diffstat (limited to 'src')
| -rw-r--r-- | src/odin/printer/visit.odin | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/odin/printer/visit.odin b/src/odin/printer/visit.odin index da17bc5..3ea92f8 100644 --- a/src/odin/printer/visit.odin +++ b/src/odin/printer/visit.odin @@ -1291,6 +1291,10 @@ visit_stmt :: proc( ) } + if v.reverse { + document = cons(document, text("#reverse"), break_with_no_newline()) + } + document = cons(document, text("for")) if len(v.vals) >= 1 { |