On Tue, 2009-04-28 at 11:16 -0500, Gary wrote: > I was just doing an update and compile and ran into this problem which is > new, as I never had troulbe before. Error is token exceeds limit, as > below. Any help would be appreciated.
What's your re2c version? > SA ~ # sa-update --gpgkey 6C6191E3 --channel sought.rules.yerp.org > --channel updates.spamassassin.org > SA ~ # sa-compile ... > re2c -i -b -o scanner15.c scanner15.re > re2c: error: line 159, column 2: Token exceeds limit > command failed! at /usr/bin/sa-compile line 288, <$fh> line 6173. May I take a guess? re2c 0.13.3 -- if so, update to 0.13.5 or newer. -- char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}