aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2018-06-12 16:41:10 +0200
committerMartin Liska <marxin@gcc.gnu.org>2018-06-12 14:41:10 +0000
commit9f51da538376188b7ad282ab38d704eed871bd4e (patch)
tree69a7dbda32d486d48760019b7d1eb7232a3a69ad /gcc/doc
parent3713f2e213602fdc5119c3b9ece371330ceeac30 (diff)
downloadgcc-9f51da538376188b7ad282ab38d704eed871bd4e.zip
gcc-9f51da538376188b7ad282ab38d704eed871bd4e.tar.gz
gcc-9f51da538376188b7ad282ab38d704eed871bd4e.tar.bz2
Document IntegerRange in internal documentation.
2018-06-12 Martin Liska <mliska@suse.cz> * doc/options.texi: Document IntegerRange. From-SVN: r261498
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/options.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/doc/options.texi b/gcc/doc/options.texi
index 80f1bd3..b3ca9f6 100644
--- a/gcc/doc/options.texi
+++ b/gcc/doc/options.texi
@@ -264,6 +264,11 @@ option handler. @code{UInteger} should also be used on options like
@code{-falign-loops}=@var{n} are supported to make sure the saved
options are given a full integer.
+@item IntegerRange(@var{n}, @var{m})
+The options's arguments are integer numbers. The option's parser
+will check that value of an option is inclusively within the
+range [@var{n}, @var{m}].
+
@item ToLower
The option's argument should be converted to lowercase as part of
putting it in canonical form, and before comparing with the strings