diff options
author | Ben Bridle <ben@derelict.engineering> | 2025-10-13 13:27:15 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2025-10-13 13:27:15 +1300 |
commit | 73ab590c4420e051afba4a501c1dcb4fb99baeec (patch) | |
tree | 5e8986460cb7ed82d10aa4b3831ce0666b47f3b0 /src/stages | |
parent | 343a15b77ece1674ca49719f04b6189bb26d220e (diff) | |
download | torque-asm-73ab590c4420e051afba4a501c1dcb4fb99baeec.zip |
Fix initial indentation when printing semantic tokens
Al non-macro-definition semantic tokens were being printed starting
from indentation level zero, instead of from the provided indentation
value.
Diffstat (limited to 'src/stages')
-rw-r--r-- | src/stages/semantic_tokens.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stages/semantic_tokens.rs b/src/stages/semantic_tokens.rs index bdbc0f9..ab50fb1 100644 --- a/src/stages/semantic_tokens.rs +++ b/src/stages/semantic_tokens.rs @@ -204,7 +204,7 @@ pub fn print_semantic_token(i: usize, token: &SemanticToken) { } } } - SemanticToken::BlockToken(block) => print_block_token(0, block), + SemanticToken::BlockToken(block) => print_block_token(i, block), } } |