Fixed Inch being lexed as InchOfMercury

This commit is contained in:
Kasper 2020-01-13 01:55:48 +01:00
parent 5360318bfc
commit a0a33d175b

View File

@ -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);
},
}
},