diff options
author | wl <wl> | 2009-02-21 07:40:21 +0000 |
---|---|---|
committer | wl <wl> | 2009-02-21 07:40:21 +0000 |
commit | 231cbd9e8e7cf2fc5da863fbac8f91ea4a62cc44 (patch) | |
tree | 8c75d1e80a24b21de9b6e2b526f57a38ed15aeb4 /doc | |
parent | d4dbc429e98521f1182b84f8482657dfe7dd4049 (diff) | |
download | groff-231cbd9e8e7cf2fc5da863fbac8f91ea4a62cc44.tar.gz |
Add a new `file' warning category.
* src/roff/troff/troff.h (warning_type): Add WARN_FILE.
* src/roff/troff/input.cpp (DEFAULT_WARNING_MASK): Include
WARN_FILE.
(warning_table): Add `file' category.
(macro_source): Convert error on missing macro file to a
warning.
* NEWS, doc/groff.texinfo (I/O, Warnings), man/groff_diff.man,
src/roff/troff/troff.man: Document new warning category.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/groff.texinfo | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/groff.texinfo b/doc/groff.texinfo index bc975184..380d76e6 100644 --- a/doc/groff.texinfo +++ b/doc/groff.texinfo @@ -13132,6 +13132,8 @@ for the specified @var{file} in the same directories as macro files for the the @option{-m} command line option. If the file name to be included has the form @file{@var{name}.tmac} and it isn't found, @code{mso} tries to include @file{tmac.@var{name}} and vice versa. +If the file does not exist, a warning of type @samp{file} is emitted. +@xref{Debugging}, for information about warnings. @endDefreq @DefreqList {trf, file} @@ -14182,6 +14184,11 @@ conditions that are errors when they do not occur in ignored text. @itemx 524288 Color related warnings. +@item file +@itemx 1048576 +Missing files. The @code{mso} request gives this warning when the +requested macro file does not exist. This is enabled by default. + @item all All warnings except @samp{di}, @samp{mac} and @samp{reg}. It is intended that this covers all warnings that are useful with traditional |