fix precedence

This commit is contained in:
2025-04-08 20:19:48 -04:00
parent 26e7a4da4a
commit 920199c567
4 changed files with 49 additions and 17 deletions

View File

@@ -13,7 +13,7 @@ pub enum PInfixOp {
}
impl PInfixOp {
pub fn presedence(&self) -> u32 {
pub fn precedence(&self) -> u32 {
match self {
Self::Assign => 0,
Self::LessThan => 1,