diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-24 11:43:13 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-24 11:43:13 +0000 |
commit | 9e0f9f2ee7f854665c6fbf442ea8339bbce17ecb (patch) | |
tree | c5b5201797d9e59ac3a378e66b6411e1b2610d7a /regress | |
parent | 6229c59e2536a1921c81abefed1a37bfd01790b0 (diff) | |
download | mandoc-9e0f9f2ee7f854665c6fbf442ea8339bbce17ecb.tar.gz |
Escape-sequence validation in place (for nodes).
Diffstat (limited to 'regress')
-rw-r--r-- | regress/test.escape.00 | 20 | ||||
-rw-r--r-- | regress/test.escape.01 | 20 | ||||
-rw-r--r-- | regress/test.escape.02 | 20 | ||||
-rw-r--r-- | regress/test.escape.03 | 20 | ||||
-rw-r--r-- | regress/test.escape.04 | 20 | ||||
-rw-r--r-- | regress/test.list.05 | 2 |
6 files changed, 101 insertions, 1 deletions
diff --git a/regress/test.escape.00 b/regress/test.escape.00 new file mode 100644 index 00000000..28df79e5 --- /dev/null +++ b/regress/test.escape.00 @@ -0,0 +1,20 @@ +.\" +.Dd $Mdocdate$ +.Dt mdoc 3 +.Os +.\" +.Sh NAME +.Nm mdoc_free +.Nd mdoc macro compiler library +.\" +.Sh SYNOPSIS +Valid escape: \(ab +Valid escape: \[d] +Valid escape: \[dsdfajsdflaksjfhalksjdfh__----] +Valid escape: \\ +Valid escape: \e +Valid escape: \` +Valid escape: \' +Valid escape: \. +Valid escape: \- +Valid escape: \ diff --git a/regress/test.escape.01 b/regress/test.escape.01 new file mode 100644 index 00000000..2bf37cf6 --- /dev/null +++ b/regress/test.escape.01 @@ -0,0 +1,20 @@ +.\" +.Dd $Mdocdate$ +.Dt mdoc 3 +.Os +.\" +.Sh NAME +.Nm mdoc_free +.Nd mdoc macro compiler library +.\" +.Sh SYNOPSIS +Valid escape: \(ab +Valid escape: \[d] +Valid escape: \[dsdfajsdflaksjfhalksjdfh__----] +Valid escape: \\ +Valid escape: \e +Valid escape: \` +Valid escape: \' +Valid escape: \. +Valid escape: \- +Invalid escape: \" diff --git a/regress/test.escape.02 b/regress/test.escape.02 new file mode 100644 index 00000000..1c727a8f --- /dev/null +++ b/regress/test.escape.02 @@ -0,0 +1,20 @@ +.\" +.Dd $Mdocdate$ +.Dt mdoc 3 +.Os +.\" +.Sh NAME +.Nm mdoc_free +.Nd mdoc macro compiler library +.\" +.Sh SYNOPSIS +Valid escape: \(ab +Valid escape: \[d] +Valid escape: \[dsdfajsdflaksjfhalksjdfh__----] +Valid escape: \\ +Valid escape: \e +Valid escape: \` +Valid escape: \' +Valid escape: \. +Valid escape: \- +Invalid escape: \( diff --git a/regress/test.escape.03 b/regress/test.escape.03 new file mode 100644 index 00000000..7fa92ecd --- /dev/null +++ b/regress/test.escape.03 @@ -0,0 +1,20 @@ +.\" +.Dd $Mdocdate$ +.Dt mdoc 3 +.Os +.\" +.Sh NAME +.Nm mdoc_free +.Nd mdoc macro compiler library +.\" +.Sh SYNOPSIS +Valid escape: \(ab +Valid escape: \[d] +Valid escape: \[dsdfajsdflaksjfhalksjdfh__----] +Valid escape: \\ +Valid escape: \e +Valid escape: \` +Valid escape: \' +Valid escape: \. +Valid escape: \- +Invalid escape: \ diff --git a/regress/test.escape.04 b/regress/test.escape.04 new file mode 100644 index 00000000..a393ab83 --- /dev/null +++ b/regress/test.escape.04 @@ -0,0 +1,20 @@ +.\" +.Dd $Mdocdate$ +.Dt mdoc 3 +.Os +.\" +.Sh NAME +.Nm mdoc_free +.Nd mdoc macro compiler library +.\" +.Sh SYNOPSIS +Valid escape: \(ab +Valid escape: \[d] +Valid escape: \[dsdfajsdflaksjfhalksjdfh__----] +Valid escape: \\ +Valid escape: \e +Valid escape: \` +Valid escape: \' +Valid escape: \. +Valid escape: \- +Invalid escape: \[ diff --git a/regress/test.list.05 b/regress/test.list.05 index 18540423..08954e84 100644 --- a/regress/test.list.05 +++ b/regress/test.list.05 @@ -6,5 +6,5 @@ .Nd description .Sh DESCRIPTION .Bl -column "xxxxx" "xxxxx" -.It d \ e f +.It d \ e f .El |