fix several build warnings

This fixes all but one of the warnings documented in issue #2685. The
sole remaining warning is from the

    string split '' abc

example in doc_src/string.txt. That example results in the man page
displaying

    string split {} abc

I leave it to someone else to fix that problem (I'll open an issue
specifically for it since it took some effort to track down the source
of the warning).

Resolves issue #2685.
This commit is contained in:
Kurtis Rader
2016-01-28 19:09:30 -08:00
parent 7c4f553acc
commit b88e31b3f1
4 changed files with 12 additions and 5 deletions

View File

@@ -475,7 +475,9 @@ x
#.
# Mark up sesitive character entities.
#.
:entities
# We comment out this target because it isn't referenced and if we don't we
# get warnings about "unused label 'entities'".
#:entities
s/</\&lt;/g
s/>/\&gt;/g
s/((d))/@/g
@@ -575,7 +577,9 @@ s/\($[$]*\)\([A-Za-z_0-9][A-Za-z_0-9]*\)/@vars{@optr{\1}\2}/g
# Files
s/\([^@]\)\([A-Za-z0-9_-][A-Za-z0-9_-]*\.[a-z0-9*][a-z0-9*]*\)/\1@fsfo{\2}/g
#.
:commands
# We comment out this target because it isn't referenced and if we don't we
# get warnings about "unused label 'commands'".
#:commands
#.
#### This section is built in the Makefile. Just some formatting examples. #####
#.