[bitc-dev] bug in character decode routines

Swaroop Sridhar swaroop at cs.jhu.edu
Wed May 17 12:11:40 EDT 2006


Jonathan S. Shapiro wrote:
> I suspect the answer is that Swaroop is emitting character constants
> incorrectly -- the algorithm in this case should be:
> 
> 	if (c < 255 && isprint(c)) printf("'%c'", c);
>         else printf("%d", c);

Character emission is now done according to this algorithm.

Swaroop.


More information about the bitc-dev mailing list