Fixed Inch being lexed as InchOfMercury
This commit is contained in:
parent
5360318bfc
commit
a0a33d175b
@ -373,7 +373,7 @@ pub fn lex(input: &str) -> Result<TokenVector, String> {
|
||||
},
|
||||
_ => {
|
||||
// otherwise, Inch
|
||||
tokens[token_index] = Token::Unit(InchOfMercury);
|
||||
tokens[token_index] = Token::Unit(Inch);
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user