summaryrefslogtreecommitdiffstats
path: root/usr.bin/vgrind/vgrindefs.5
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/vgrind/vgrindefs.5')
-rw-r--r--usr.bin/vgrind/vgrindefs.515
1 files changed, 13 insertions, 2 deletions
diff --git a/usr.bin/vgrind/vgrindefs.5 b/usr.bin/vgrind/vgrindefs.5
index 4ac7522..9b65c2c 100644
--- a/usr.bin/vgrind/vgrindefs.5
+++ b/usr.bin/vgrind/vgrindefs.5
@@ -54,6 +54,8 @@ The following table names and describes each field.
.Pp
.Bl -column Namexxx Tpexxx
.Sy Name Type Description
+.It "ab str regular expression for the start of an alternate comment"
+.It "ae str regular expression for the end of an alternate comment"
.It "pb str regular expression for start of a procedure"
.It "bb str regular expression for start of a lexical block"
.It "be str regular expression for the end of a lexical block"
@@ -63,11 +65,20 @@ The following table names and describes each field.
.It "se str regular expression for the end of a string"
.It "lb str regular expression for the start of a character constant"
.It "le str regular expression for the end of a character constant"
+.It "nc str regular expression for a non-comment (see below)"
.It "tl bool present means procedures are only defined at the top lexical level"
.It "oc bool present means upper and lower case are equivalent"
.It "kw str a list of keywords separated by spaces"
.El
.Pp
+Non-comments are required to describe a certain context where a
+sequence that would normally start a comment loses its special
+meaning. A typical example for this can be found in Perl, where
+comments are normally starting with
+.Ql # ,
+while the string
+.Ql $#
+is an operator on an array.
.Sh EXAMPLES
The following entry, which describes the C language, is
typical of a language entry.
@@ -149,8 +160,8 @@ specified in lower case.
File containing terminal descriptions.
.El
.Sh SEE ALSO
-.Xr vgrind 1 ,
-.Xr troff 1
+.Xr troff 1 ,
+.Xr vgrind 1
.Sh HISTORY
The
.Nm
OpenPOWER on IntegriCloud