basic float arith, wip float trig, abs
This commit is contained in:
@@ -21,7 +21,7 @@ pub(crate) fn parse<'a>(_pos: &SourcePosition, keyword: &str, mut args: TokenPar
|
||||
|
||||
let value = match args.next() {
|
||||
None => {
|
||||
BufValue::Zeros(Rd::immediate(0))
|
||||
BufValue::Zeros(Rd::new_imm(0))
|
||||
}
|
||||
Some(tok @ Sexp::Atom(Atom::S(_), _)) |
|
||||
Some(tok @ Sexp::Atom(Atom::I(_), _)) |
|
||||
@@ -112,7 +112,7 @@ pub(crate) fn parse<'a>(_pos: &SourcePosition, keyword: &str, mut args: TokenPar
|
||||
"bfrpush" => {
|
||||
BufOps::Insert {
|
||||
obj: args.next_rdobj()?,
|
||||
idx: Rd::immediate(0),
|
||||
idx: Rd::new_imm(0),
|
||||
value: args.next_rd()?,
|
||||
}
|
||||
}
|
||||
@@ -121,7 +121,7 @@ pub(crate) fn parse<'a>(_pos: &SourcePosition, keyword: &str, mut args: TokenPar
|
||||
BufOps::Remove {
|
||||
dst: args.next_wr()?,
|
||||
obj: args.next_rdobj()?,
|
||||
idx: Rd::immediate(0),
|
||||
idx: Rd::new_imm(0),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user