=================================================================== RCS file: /cvs/mandoc/tbl_layout.c,v retrieving revision 1.26 retrieving revision 1.28 diff -u -p -r1.26 -r1.28 --- mandoc/tbl_layout.c 2014/04/20 16:46:05 1.26 +++ mandoc/tbl_layout.c 2014/10/07 14:07:03 1.28 @@ -1,4 +1,4 @@ -/* $Id: tbl_layout.c,v 1.26 2014/04/20 16:46:05 schwarze Exp $ */ +/* $Id: tbl_layout.c,v 1.28 2014/10/07 14:07:03 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2012, 2014 Ingo Schwarze @@ -15,10 +15,10 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifdef HAVE_CONFIG_H #include "config.h" -#endif +#include + #include #include #include @@ -200,6 +200,11 @@ mod: goto mod; default: break; + } + if (isalnum((unsigned char)p[*pos - 1])) { + mandoc_vmsg(MANDOCERR_FT_BAD, tbl->parse, + ln, *pos - 1, "TS f%c", p[*pos - 1]); + goto mod; } mandoc_msg(MANDOCERR_TBLLAYOUT, tbl->parse,