basic float arith, wip float trig, abs
This commit is contained in:
@@ -24,7 +24,7 @@ pub(crate) fn parse<'a>(_pos: &SourcePosition, keyword: &str, mut args: TokenPar
|
||||
color: if args.len() > 0 {
|
||||
args.next_rd()?
|
||||
} else {
|
||||
Rd::immediate(0) // black
|
||||
Rd::new_imm(0) // black
|
||||
},
|
||||
}
|
||||
}
|
||||
@@ -60,7 +60,7 @@ pub(crate) fn parse<'a>(_pos: &SourcePosition, keyword: &str, mut args: TokenPar
|
||||
force: if args.have_more() {
|
||||
args.next_rd()?
|
||||
} else {
|
||||
Rd::immediate(1)
|
||||
Rd::new_imm(1)
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user