Skip to content

Commit

Permalink
more token lengths
Browse files Browse the repository at this point in the history
  • Loading branch information
levkk committed Oct 28, 2024
1 parent 98a0e44 commit 7c36e22
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rwf/src/view/template/lexer/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ impl Token {
Token::If => 2,
Token::Else => 4,
Token::End => 3,
Token::BlockEnd => 2,
Token::BlockStart => 2,
Token::BlockStartPrint => 3,
Token::BlockStartRender => 3,
_ => 0,
}
}
Expand Down

0 comments on commit 7c36e22

Please sign in to comment.