summaryrefslogtreecommitdiffstats
path: root/regress
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-05-16 22:28:33 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-05-16 22:28:33 +0000
commit7bbe926b750bcfe99308671e9f343373e1d23671 (patch)
tree46993c916b318ab53ca941b3d6c19391962e577c /regress
parent224230fa313f960b4300b3d7266313556f9e2781 (diff)
downloadmandoc-7bbe926b750bcfe99308671e9f343373e1d23671.tar.gz
`ig' support in all its glory. Try
.ig ig asdf .ig fdsa .. or .ig if asdf .if n \ foo for a laugh. It all works. Lots of regression tests supporting this and documentation for the same.
Diffstat (limited to 'regress')
-rw-r--r--regress/roff/if/multiline-free0.in10
-rw-r--r--regress/roff/if/multiline-free1.in11
-rw-r--r--regress/roff/ig/end0.in12
-rw-r--r--regress/roff/ig/end1.in12
-rw-r--r--regress/roff/ig/redef0.in13
-rw-r--r--regress/roff/ig/simple0.in12
-rw-r--r--regress/roff/ig/simple1.in12
-rw-r--r--regress/roff/ig/simple2.in15
8 files changed, 97 insertions, 0 deletions
diff --git a/regress/roff/if/multiline-free0.in b/regress/roff/if/multiline-free0.in
new file mode 100644
index 00000000..f9fb0fd9
--- /dev/null
+++ b/regress/roff/if/multiline-free0.in
@@ -0,0 +1,10 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+.if t \{\
+there \} dude
+fdsa
diff --git a/regress/roff/if/multiline-free1.in b/regress/roff/if/multiline-free1.in
new file mode 100644
index 00000000..ac147435
--- /dev/null
+++ b/regress/roff/if/multiline-free1.in
@@ -0,0 +1,11 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+.if t \{\
+there \\} dude
+.\}
+fdsa
diff --git a/regress/roff/ig/end0.in b/regress/roff/ig/end0.in
new file mode 100644
index 00000000..ad35726d
--- /dev/null
+++ b/regress/roff/ig/end0.in
@@ -0,0 +1,12 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+a
+.ig foo
+asdf
+.foo
+b
diff --git a/regress/roff/ig/end1.in b/regress/roff/ig/end1.in
new file mode 100644
index 00000000..c1d075af
--- /dev/null
+++ b/regress/roff/ig/end1.in
@@ -0,0 +1,12 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+a
+.ig foo
+asdf
+.foo
+b
diff --git a/regress/roff/ig/redef0.in b/regress/roff/ig/redef0.in
new file mode 100644
index 00000000..4d5a7e76
--- /dev/null
+++ b/regress/roff/ig/redef0.in
@@ -0,0 +1,13 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+a
+.ig if
+asdf
+.if t \
+b
+c
diff --git a/regress/roff/ig/simple0.in b/regress/roff/ig/simple0.in
new file mode 100644
index 00000000..d693ce77
--- /dev/null
+++ b/regress/roff/ig/simple0.in
@@ -0,0 +1,12 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+123
+.ig
+hello
+..
+12124
diff --git a/regress/roff/ig/simple1.in b/regress/roff/ig/simple1.in
new file mode 100644
index 00000000..d693ce77
--- /dev/null
+++ b/regress/roff/ig/simple1.in
@@ -0,0 +1,12 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+123
+.ig
+hello
+..
+12124
diff --git a/regress/roff/ig/simple2.in b/regress/roff/ig/simple2.in
new file mode 100644
index 00000000..4e82458c
--- /dev/null
+++ b/regress/roff/ig/simple2.in
@@ -0,0 +1,15 @@
+.Dd $Mdocdate$
+.Dt FOO 1
+.Os
+.Sh NAME
+.Nm foo
+.Nd bar
+.Sh DESCRIPTION
+123
+.ig
+hello
+.if t \{\
+hello
+.\}
+..
+12124