aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface
diff options
context:
space:
mode:
authorMikael Morin <mikael@gcc.gnu.org>2024-09-25 21:23:00 +0200
committerMikael Morin <mikael@gcc.gnu.org>2024-09-25 21:23:00 +0200
commit0b953ce8e2e975c419e3c92917ab02b6b9b05737 (patch)
tree965b012ec671e133ab78f7e62a364bfe24de5b14 /gcc/ada/gcc-interface
parentcc40795d8956d78e719a6acc83d5abad7032a6c3 (diff)
downloadgcc-0b953ce8e2e975c419e3c92917ab02b6b9b05737.zip
gcc-0b953ce8e2e975c419e3c92917ab02b6b9b05737.tar.gz
gcc-0b953ce8e2e975c419e3c92917ab02b6b9b05737.tar.bz2
doc: Remove @code wrapping of fortran option names [PR116801]
The documentation of gfortran options uses @code wrappings for arguments to @opindex. This is superfluous, as 'op' index is a texinfo 'code' index, that is it already implicitly formats its arguments as if in a @code block. The superfluous wrapping has the effect of creating a nested <code class="..."> tag inside the regular automatic <code> tag, in the option index HTML page, preventing the recognition of the corresponding option by the option URL generation script. This change removes those superfluous @code wrappings. Additionally, variables appearing as separate argument in index are removed, permitting a few more URL recognition. Finally, the URL files are regenerated with the new URLs recognized on the updated HTML files. By the way, a spurious 'option' is removed from the label of the std= option in the index, without any effect on URL recognition. PR other/116801 gcc/fortran/ChangeLog: * invoke.texi: Remove @code wrapping in arguments to @opindex. (std=): Remove spurious 'option' in index. (idirafter, imultilib, iprefix, isysroot, iquote, isystem, fintrinsic-modules-path): Remove variable from index. * lang.opt.urls: Regenerate. gcc/ada/ChangeLog: * gcc-interface/lang.opt.urls: Regenerate. gcc/c-family/ChangeLog: * c.opt.urls: Regenerate. gcc/ChangeLog: * common.opt.urls: Regenerate. gcc/d/ChangeLog: * lang.opt.urls: Regenerate. gcc/go/ChangeLog: * lang.opt.urls: Regenerate. gcc/m2/ChangeLog: * lang.opt.urls: Regenerate. gcc/rust/ChangeLog: * lang.opt.urls: Regenerate.
Diffstat (limited to 'gcc/ada/gcc-interface')
-rw-r--r--gcc/ada/gcc-interface/lang.opt.urls6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ada/gcc-interface/lang.opt.urls b/gcc/ada/gcc-interface/lang.opt.urls
index 7913bcb..3174c22 100644
--- a/gcc/ada/gcc-interface/lang.opt.urls
+++ b/gcc/ada/gcc-interface/lang.opt.urls
@@ -7,10 +7,10 @@ UrlSuffix(gcc/Directory-Options.html#index-I) LangUrlSuffix_D(gdc/Directory-Opti
; duplicate: 'gcc/Standard-Libraries.html#index-Wall-1'
; duplicate: 'gcc/Warning-Options.html#index-Wall'
Wall
-LangUrlSuffix_D(gdc/Warnings.html#index-Wall)
+LangUrlSuffix_D(gdc/Warnings.html#index-Wall) LangUrlSuffix_Fortran(gfortran/Error-and-Warning-Options.html#index-Wall)
nostdinc
-UrlSuffix(gcc/Directory-Options.html#index-nostdinc) LangUrlSuffix_D(gdc/Directory-Options.html#index-nostdinc)
+UrlSuffix(gcc/Directory-Options.html#index-nostdinc) LangUrlSuffix_D(gdc/Directory-Options.html#index-nostdinc) LangUrlSuffix_Fortran(gfortran/Preprocessing-Options.html#index-nostdinc)
nostdlib
UrlSuffix(gcc/Link-Options.html#index-nostdlib)
@@ -19,6 +19,8 @@ UrlSuffix(gcc/Link-Options.html#index-nostdlib)
; duplicate: 'gcc/Code-Gen-Options.html#index-fshort-enums'
; duplicate: 'gcc/Non-bugs.html#index-fshort-enums-3'
; duplicate: 'gcc/Structures-unions-enumerations-and-bit-fields-implementation.html#index-fshort-enums-1'
+fshort-enums
+LangUrlSuffix_Fortran(gfortran/Code-Gen-Options.html#index-fshort-enums)
; skipping UrlSuffix for 'fsigned-char' due to multiple URLs:
; duplicate: 'gcc/C-Dialect-Options.html#index-fsigned-char'