diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2023-03-10 22:30:27 +0100 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2023-03-10 22:30:27 +0100 |
| commit | 29816e89e1ef85c671b070c74308b97c675dcbee (patch) | |
| tree | 94107657ce20735ea48d3bc1c71eee6211288c75 /src | |
| parent | 998ac324d217b6b7ca32fb7c6bd31af830148f5a (diff) | |
formatter: check state flag for value decl
Diffstat (limited to 'src')
| -rw-r--r-- | src/odin/printer/visit.odin | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/odin/printer/visit.odin b/src/odin/printer/visit.odin index 92e378a..3343c34 100644 --- a/src/odin/printer/visit.odin +++ b/src/odin/printer/visit.odin @@ -337,6 +337,7 @@ visit_decl :: proc( } document = cons(document, move_line(p, decl.pos)) + document = cons(document, visit_state_flags(p, v.state_flags)) lhs := empty() rhs := empty() |