diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-23 09:47:25 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-23 09:47:25 +0000 |
commit | 2252d1a2cee8d276065b3b219c4566d375827af8 (patch) | |
tree | c1b1a99728def9cc78b05fe21964f45f99f36136 /eqn.c | |
parent | bf7102688102ef67c2fde9e395308692aa679c51 (diff) | |
download | mandoc-2252d1a2cee8d276065b3b219c4566d375827af8.tar.gz |
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.
Diffstat (limited to 'eqn.c')
-rw-r--r-- | eqn.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 { |