fix << evaluation.

This commit is contained in:
Kelvin Sherlock 2016-07-27 16:28:48 -04:00
parent 683b06b3b5
commit 544f3a994c
1 changed files with 1 additions and 1 deletions

View File

@ -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 '||':