diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-16 22:28:33 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2010-05-16 22:28:33 +0000 |
commit | 7bbe926b750bcfe99308671e9f343373e1d23671 (patch) | |
tree | 46993c916b318ab53ca941b3d6c19391962e577c /regress | |
parent | 224230fa313f960b4300b3d7266313556f9e2781 (diff) | |
download | mandoc-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.in | 10 | ||||
-rw-r--r-- | regress/roff/if/multiline-free1.in | 11 | ||||
-rw-r--r-- | regress/roff/ig/end0.in | 12 | ||||
-rw-r--r-- | regress/roff/ig/end1.in | 12 | ||||
-rw-r--r-- | regress/roff/ig/redef0.in | 13 | ||||
-rw-r--r-- | regress/roff/ig/simple0.in | 12 | ||||
-rw-r--r-- | regress/roff/ig/simple1.in | 12 | ||||
-rw-r--r-- | regress/roff/ig/simple2.in | 15 |
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 |