]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc: @var fixes.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 20 Dec 2010 07:26:12 +0000 (07:26 +0000)
committerRalf Wildenhues <rwild@gcc.gnu.org>
Mon, 20 Dec 2010 07:26:12 +0000 (07:26 +0000)
gcc/:
* doc/cppopts.texi: Use @var when appropriate.
* doc/extend.texi (Structure-Packing Pragmas): Likewise.
* doc/gimple.texi (Logical Operators)
(Adding a new GIMPLE statement code): Likewise.
* doc/invoke.texi (Target Options, Precompiled Headers):
Likewise.
* doc/plugins.texi (Plugins): Likewise.

From-SVN: r168081

gcc/ChangeLog
gcc/doc/cppopts.texi
gcc/doc/extend.texi
gcc/doc/gimple.texi
gcc/doc/invoke.texi
gcc/doc/plugins.texi

index 8224947c1138591c51c1361ab0051c5f4e184918..aaafb645b3225ae176f232f362de549f23b6d584 100644 (file)
@@ -1,5 +1,13 @@
 2010-12-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       * doc/cppopts.texi: Use @var when appropriate.
+       * doc/extend.texi (Structure-Packing Pragmas): Likewise.
+       * doc/gimple.texi (Logical Operators)
+       (Adding a new GIMPLE statement code): Likewise.
+       * doc/invoke.texi (Target Options, Precompiled Headers):
+       Likewise.
+       * doc/plugins.texi (Plugins): Likewise.
+
        * doc/install.texi (Configuration, Building, Testing, Specific):
        Remove leading whitespace from examples.
 
index 57624ed7497c2383dcb0f5726cddee2ba5bdfe07..5212478389dcf1994cf90042c46b629da4b4ea1c 100644 (file)
@@ -330,10 +330,10 @@ header is used.
 @opindex fpch-preprocess
 This option allows use of a precompiled header (@pxref{Precompiled
 Headers}) together with @option{-E}.  It inserts a special @code{#pragma},
-@code{#pragma GCC pch_preprocess "<filename>"} in the output to mark
-the place where the precompiled header was found, and its filename.  When
-@option{-fpreprocessed} is in use, GCC recognizes this @code{#pragma} and
-loads the PCH@.
+@code{#pragma GCC pch_preprocess "@var{filename}"} in the output to mark
+the place where the precompiled header was found, and its @var{filename}.
+When @option{-fpreprocessed} is in use, GCC recognizes this @code{#pragma}
+and loads the PCH@.
 
 This option is off by default, because the resulting preprocessed output
 is only really suitable as input to GCC@.  It is switched on by
index cbfb44009e17aa98e169d4304420711748beb940..90f8b7afd39d9cacf9c3dae9e5b1d30a88e5af29 100644 (file)
@@ -12989,7 +12989,7 @@ to be a small power of two and specifies the new alignment in bytes.
 @item @code{#pragma pack(@var{n})} simply sets the new alignment.
 @item @code{#pragma pack()} sets the alignment to the one that was in
 effect when compilation started (see also command-line option
-@option{-fpack-struct[=<n>]} @pxref{Code Gen Options}).
+@option{-fpack-struct[=@var{n}]} @pxref{Code Gen Options}).
 @item @code{#pragma pack(push[,@var{n}])} pushes the current alignment
 setting on an internal stack and then optionally sets the new alignment.
 @item @code{#pragma pack(pop)} restores the alignment setting to the one
index 5e217a772da0f67bf6dfffe9af998b6d4a6e5ba9..e8cecd75d3c89566b82446c1e6b6c0eede6a3c82 100644 (file)
@@ -635,7 +635,7 @@ access the operands.
 When adding a new operand to a gimple statement, the operand will
 be validated according to what each tuple accepts in its operand
 vector.  These predicates are called by the
-@code{gimple_<name>_set_...()}.  Each tuple will use one of the
+@code{gimple_@var{name}_set_...()}.  Each tuple will use one of the
 following predicates (Note, this list is not exhaustive):
 
 @deftypefn {GIMPLE function} is_gimple_operand (tree t)
@@ -2497,7 +2497,7 @@ in @code{gimple.c}.
 
 You will probably want to create a function to build the new
 gimple statement in @code{gimple.c}.  The function should be called
-@code{gimple_build_<@code{NEW_TUPLE_NAME}>}, and should return the new tuple
+@code{gimple_build_@var{new-tuple-name}}, and should return the new tuple
 of type gimple.
 
 If your new statement requires accessors for any members or
index b28073c4523377ae0f64c145c792f8fee4314fd7..834965131a4003e1a18628425626602dc8e1757d 100644 (file)
@@ -9856,10 +9856,10 @@ proper position among the other output files.
 @cindex compiler version, specifying
 @cindex target machine, specifying
 
-The usual way to run GCC is to run the executable called @file{gcc}, or
-@file{<machine>-gcc} when cross-compiling, or
-@file{<machine>-gcc-<version>} to run a version other than the one that
-was installed last.
+The usual way to run GCC is to run the executable called @command{gcc}, or
+@command{@var{machine}-gcc} when cross-compiling, or
+@command{@var{machine}-gcc-@var{version}} to run a version other than the
+one that was installed last.
 
 @node Submodel Options
 @section Hardware Models and Configurations
@@ -18479,7 +18479,7 @@ precompiled header.  The following are known to be safe:
 
 @gccoptlist{-fmessage-length=  -fpreprocessed  -fsched-interblock @gol
 -fsched-spec  -fsched-spec-load  -fsched-spec-load-dangerous @gol
--fsched-verbose=<number>  -fschedule-insns  -fvisibility= @gol
+-fsched-verbose=@var{number}  -fschedule-insns  -fvisibility= @gol
 -pedantic-errors}
 
 @end itemize
index 5a56042499356c2c0b40a68eaec75b1ffddf8659..767cee8800cc73c33344dbf579e37a43e75895ee 100644 (file)
@@ -16,16 +16,16 @@ process.
 
 Plugins are loaded with 
 
-@option{-fplugin=/path/to/NAME.so} @option{-fplugin-arg-NAME-<key1>[=<value1>]}
+@option{-fplugin=/path/to/@var{name}.so} @option{-fplugin-arg-@var{name}-@var{key1}[=@var{value1}]}
 
 The plugin arguments are parsed by GCC and passed to respective
 plugins as key-value pairs. Multiple plugins can be invoked by
 specifying multiple @option{-fplugin} arguments.
 
 A plugin can be simply given by its short name (no dots or
-slashes). When simply passing @option{-fplugin=NAME}, the plugin is
-loaded from the @file{plugin} directory, so @option{-fplugin=NAME} is
-the same as @option{-fplugin=`gcc -print-file-name=plugin`/NAME.so},
+slashes). When simply passing @option{-fplugin=@var{name}}, the plugin is
+loaded from the @file{plugin} directory, so @option{-fplugin=@var{name}} is
+the same as @option{-fplugin=`gcc -print-file-name=plugin`/@var{name}.so},
 using backquote shell syntax to query the @file{plugin} directory.
 
 @section Plugin API
@@ -45,8 +45,8 @@ If this symbol does not exist, the compiler will emit a fatal error
 and exit with the error message:
 
 @smallexample
-fatal error: plugin <name> is not licensed under a GPL-compatible license
-<name>: undefined symbol: plugin_is_GPL_compatible
+fatal error: plugin @var{name} is not licensed under a GPL-compatible license
+@var{name}: undefined symbol: plugin_is_GPL_compatible
 compilation terminated
 @end smallexample