=================================================================== RCS file: /cvs/mandoc/eqn.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -p -r1.30 -r1.31 --- mandoc/eqn.c 2011/07/22 14:59:02 1.30 +++ mandoc/eqn.c 2011/07/23 09:47:25 1.31 @@ -1,4 +1,4 @@ -/* $Id: eqn.c,v 1.30 2011/07/22 14:59:02 kristaps Exp $ */ +/* $Id: eqn.c,v 1.31 2011/07/23 09:47:25 kristaps Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * @@ -648,7 +648,7 @@ again: if ('{' == *start || '}' == *start) ssz = 1; else - ssz = strcspn(start + 1, " ~\"{}\t") + 1; + ssz = strcspn(start + 1, " ^~\"{}\t") + 1; next = start + (int)ssz; if ('\0' == *next) next = NULL; @@ -662,6 +662,7 @@ again: ep->cur++; while (' ' == ep->data[(int)ep->cur] || '\t' == ep->data[(int)ep->cur] || + '^' == ep->data[(int)ep->cur] || '~' == ep->data[(int)ep->cur]) ep->cur++; } else {