aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/eqn/delim/basic.in
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-01-08 12:16:24 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-01-08 12:16:24 +0000
commit98cc12a3729c63e7dc46f5e74003d4df8b335c82 (patch)
tree10dd1e3b74d9e66140306eb78038361e344f43e7 /regress/eqn/delim/basic.in
parent9f7df258616138634322e0de05f630597370754e (diff)
downloadmandoc-98cc12a3729c63e7dc46f5e74003d4df8b335c82.tar.gz
mandoc-98cc12a3729c63e7dc46f5e74003d4df8b335c82.zip
Skip whitespace before tokens, too.
Bug found by bentley@ with input like "delim $$ delim off".
Diffstat (limited to 'regress/eqn/delim/basic.in')
-rw-r--r--regress/eqn/delim/basic.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/regress/eqn/delim/basic.in b/regress/eqn/delim/basic.in
index d8c84b9b..c7671c71 100644
--- a/regress/eqn/delim/basic.in
+++ b/regress/eqn/delim/basic.in
@@ -1,4 +1,4 @@
-.\" $OpenBSD: basic.in,v 1.3 2020/01/08 10:58:09 schwarze Exp $
+.\" $OpenBSD: basic.in,v 1.4 2020/01/08 12:09:14 schwarze Exp $
.Dd $Mdocdate: January 8 2020 $
.Dt DELIM-BASIC 1
.Os
@@ -19,4 +19,13 @@ inline [delta]
delim onepsilon
.EN
inline [zeta]
+.EQ
+delim $$
+delim off
+.EN
+inline $eta$
+.EQ
+delim on
+.EN
+inline $theta$
final text