mirror of
https://github.com/ksherlock/mpw-shell.git
synced 2025-01-08 19:31:31 +00:00
fix << evaluation.
This commit is contained in:
parent
683b06b3b5
commit
544f3a994c
@ -374,7 +374,7 @@ value expression_parser::eval(int op, value &lhs, value &rhs) {
|
|||||||
return lhs.to_number() >> rhs.to_number();
|
return lhs.to_number() >> rhs.to_number();
|
||||||
|
|
||||||
case '<<':
|
case '<<':
|
||||||
return lhs.to_number() >> rhs.to_number();
|
return lhs.to_number() << rhs.to_number();
|
||||||
|
|
||||||
// logical || . NaN ok
|
// logical || . NaN ok
|
||||||
case '||':
|
case '||':
|
||||||
|
Loading…
Reference in New Issue
Block a user