mirror of
https://github.com/ksherlock/mpw-shell.git
synced 2025-01-08 04:29:34 +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();
|
||||
|
||||
case '<<':
|
||||
return lhs.to_number() >> rhs.to_number();
|
||||
return lhs.to_number() << rhs.to_number();
|
||||
|
||||
// logical || . NaN ok
|
||||
case '||':
|
||||
|
Loading…
Reference in New Issue
Block a user