This commit is contained in:
ConnorSkees 2020-02-08 16:08:35 -05:00
parent 6471ce8f29
commit 55ca402644
2 changed files with 4 additions and 4 deletions

View File

@ -1,13 +1,13 @@
use std::collections::BTreeMap;
use std::convert::TryInto;
use num_rational::BigRational;
use num_bigint::BigInt;
use num_rational::BigRational;
use super::Builtin;
use crate::color::Color;
use crate::value::Value;
use crate::units::Unit;
use crate::value::Value;
pub(crate) fn register(f: &mut BTreeMap<String, Builtin>) {
decl!(f "rgb", |args| {

View File

@ -55,9 +55,9 @@ impl<'a> Iterator for Lexer<'a> {
self.pos.next_char();
TokenKind::Op(Op::Equal)
}
_ => TokenKind::Symbol(Symbol::Equal)
_ => TokenKind::Symbol(Symbol::Equal),
}
}
},
'?' => symbol!(self, QuestionMark),
'\\' => symbol!(self, BackSlash),
'~' => symbol!(self, Tilde),