twittidai / picoc

Automatically exported from code.google.com/p/picoc
0 stars 0 forks source link

The >> operator doesn't work #114

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The >> operator doesn't work and performed a << instead

in expression.c at line 722 i sugest to replace
  case TokenShiftRight:           ResultInt = BottomInt << TopInt; break;
by 
  case TokenShiftRight:           ResultInt = BottomInt >> TopInt; break;

Thanks

Original issue reported on code.google.com by olivier....@smardtv.com on 19 Oct 2010 at 3:14

GoogleCodeExporter commented 8 years ago
Thanks for the bug report. Fixed in revision #484. 

Original comment by zik.sale...@gmail.com on 6 Jan 2011 at 7:42

GoogleCodeExporter commented 8 years ago
Tests added in r485. Closed.

Original comment by zik.sale...@gmail.com on 6 Jan 2011 at 7:43