Re: Macro redefinition



Tor Rustad <tor_rustad@xxxxxxxxxxx> writes:

However, there is a translation limit of "509 characters in a logical
source line", and isn't logical source lines made up after
line-splicing your ISO8583_DEFS above?

Interesting point. I've not run into an implementation (yet)
that has such a stringent limit. I notice that C99 expanded the
limit to 4095 characters.
--
int main(void){char p[]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.\
\n",*q="kl BIcNBFr.NKEzjwCIxNJC";int i=sizeof p/2;char *strchr();int putchar(\
);while(*q){i+=strchr(p,*q++)-p;if(i>=(int)sizeof p)i-=sizeof p-1;putchar(p[i]\
);}return 0;}
.



Relevant Pages

  • Re: Macro redefinition
    ... and isn't logical source lines made up after ... line-splicing your ISO8583_DEFS above? ... that has such a stringent limit. ... average ca. 50 characters long, ...
    (comp.lang.c)
  • Re: Macro redefinition
    ... and isn't logical source lines made up after ... line-splicing your ISO8583_DEFS above? ... that has such a stringent limit. ... average ca. 50 characters long, ...
    (comp.lang.c)