Thomas Dickey writes: >On Thu, Mar 16, 2017 at 12:30:19PM -0400, [email protected] wrote: >> >> I'm trying to compile vile 9.8s, but I'm getting stuck here: >> >> echo "#include <flt_defs.h>" > sh-filt.c >> flex -t sh-filt.l >> sh-filt.c >> /usr/bin/m4:stdin:2872: ERROR: end of file in string >> makefile:248: recipe for target 'sh-filt.o' failed >> make[1]: *** [sh-filt.o] Error 1 >> make[1]: Leaving directory '/home/hymie/vile-9.8s/filters' > >That's a bug in "new" flex (reported earlier this year against 2.6.1), >which sees "[[" in a comment and gets confused: > >#define LEN_KSH_TEST_DOWN 2 /* "[[" */ >#define LEN_BACKTIC1_DOWN 2 /* "$(" */ >#define LEN_BACKTIC2_DOWN 3 /* "$((" */ >#define LEN_BRACEGRP_DOWN 3 /* "$("{space} */
I adjusted the offending line #define LEN_KSH_TEST_DOWN 2 but I still get the same error cd filters && make prefix=/usr/local DESTDIR= all make[1]: Entering directory '/home/hymie/vile-9.8s/filters' echo "#include <flt_defs.h>" > sh-filt.c flex -t sh-filt.l >> sh-filt.c /usr/bin/m4:stdin:2872: ERROR: end of file in string makefile:248: recipe for target 'sh-filt.o' failed make[1]: *** [sh-filt.o] Error 1 make[1]: Leaving directory '/home/hymie/vile-9.8s/filters' I also found this C_INT16 0x[[[:xdigit:]]+ which appears to have an extra [ but fixing that didn't help either. :( --hymie! http://lactose.homelinux.net/~hymie [email protected] _______________________________________________ vile mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/vile
