Re: Inform: bug in a box? (patch)


28 Nov 1995 15:24:51 -0800

Of course, as soon as I sent the last message I realized that literals can be
@@?, @@??, and @@???, which totally screws up my patch.

So... you have a couple choices.

1) Change this:
> k++; k++;
> i = i - 3;
to this:
> k++; k++; k++;
> i = i - 4;

and always use three-digit decimals for character literals (@@092 instead
of @@92).

2) Rewrite the patch to look for two @s followed by 1 to 3 digits and subtract
from i one more than the number of digits found. I'm not up to it right now (I
don't have any of my C reference books with me), but if anyone else wants to do
it before I get home, please feel free.

3) Ask Graham if he wants to patch it.

-Josh