The following line, when presented to the compiler:
call xprintf ("(c)hex of 5 is %s:\n", hex (5));
results in the following diagnostic:
// *** Error, forceaccumulator type 14 error (detected at line 3141 in xcom)
It appears that you left out a case (CHARPROCTYPE) in a switch.
Fixed in version 0.4