From 2252d1a2cee8d276065b3b219c4566d375827af8 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sat, 23 Jul 2011 09:47:25 +0000 Subject: The circumflex is also a special space character. Note this and clean up some documentation in eqn.7. Also add some version notes, although I'm not ready for a release yet. --- eqn.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'eqn.c') diff --git a/eqn.c b/eqn.c index 1fb8d81f..1f82c556 100644 --- a/eqn.c +++ b/eqn.c @@ -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 { -- cgit