Skip to content

Commit

Permalink
optencod utility changes
Browse files Browse the repository at this point in the history
separate option chain from usage chain to handle undependable
rename tag USAGEGRP to USAGEGROUP
add tag USAGENOCHAIN
  • Loading branch information
jmalak committed Jan 23, 2024
1 parent f1d32bc commit 9593cf3
Show file tree
Hide file tree
Showing 25 changed files with 299 additions and 215 deletions.
10 changes: 6 additions & 4 deletions bld/as/h/options.gml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
:cmt.
:cmt. GML Macros used:
:cmt.
:cmt. :chain. <option> <usage text> options that start with <option>
:cmt. :chain. <option> <option> ... options that start with <option>
:cmt. can be chained together i.e.,
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usagechain. <option> <usage text> group of options that start with <option>
:cmt. are chained together in usage
:cmt. :usagegrp. <num> <usage text> group of options that have group <num>
:cmt. :usagegroup. <num> <usage text> group of options that have group <num>
:cmt. are chained together in usage
:cmt. :title. <text> English title usage text
:cmt. :jtitle. <text> Japanese title usage text
Expand Down Expand Up @@ -86,6 +86,8 @@
:cmt. if there is no text associated with the tag.


:chain. o v

:title. Usage: wasaxp {options} {asm_files}
:jtitle.
:target. axp
Expand Down Expand Up @@ -137,7 +139,7 @@
:usage. set include path
:jusage.

:chain. o Output object file format
:usagechain. o Output object file format
:jusage.

:option. oc
Expand All @@ -162,7 +164,7 @@
:usage. treat all warnings as errors
:jusage.

:chain. v Debug verbose output
:usagechain. v Debug verbose output
:jusage.

:option. vi
Expand Down
4 changes: 2 additions & 2 deletions bld/bdiff/gml/diffopts.gml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
:cmt.
:cmt. GML Macros used:
:cmt.
:cmt. :chain. <option> <usage text> options that start with <option>
:cmt. :chain. <option> <option> ... options that start with <option>
:cmt. can be chained together i.e.,
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usagechain. <option> <usage text> group of options that start with <option>
:cmt. are chained together in usage
:cmt. :usagegrp. <num> <usage text> group of options that have group <num>
:cmt. :usagegroup. <num> <usage text> group of options that have group <num>
:cmt. are chained together in usage
:cmt. :title. <text> English title usage text
:cmt. :jtitle. <text> Japanese title usage text
Expand Down
4 changes: 2 additions & 2 deletions bld/bdiff/gml/dumpopts.gml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
:cmt.
:cmt. GML Macros used:
:cmt.
:cmt. :chain. <option> <usage text> options that start with <option>
:cmt. :chain. <option> <option> ... options that start with <option>
:cmt. can be chained together i.e.,
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usagechain. <option> <usage text> group of options that start with <option>
:cmt. are chained together in usage
:cmt. :usagegrp. <num> <usage text> group of options that have group <num>
:cmt. :usagegroup. <num> <usage text> group of options that have group <num>
:cmt. are chained together in usage
:cmt. :title. <text> English title usage text
:cmt. :jtitle. <text> Japanese title usage text
Expand Down
4 changes: 2 additions & 2 deletions bld/bdiff/gml/patcopts.gml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
:cmt.
:cmt. GML Macros used:
:cmt.
:cmt. :chain. <option> <usage text> options that start with <option>
:cmt. :chain. <option> <option> ... options that start with <option>
:cmt. can be chained together i.e.,
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usagechain. <option> <usage text> group of options that start with <option>
:cmt. are chained together in usage
:cmt. :usagegrp. <num> <usage text> group of options that have group <num>
:cmt. :usagegroup. <num> <usage text> group of options that have group <num>
:cmt. are chained together in usage
:cmt. :title. <text> English title usage text
:cmt. :jtitle. <text> Japanese title usage text
Expand Down
15 changes: 9 additions & 6 deletions bld/cc/gml/options.gml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
:cmt.
:cmt. GML Macros used:
:cmt.
:cmt. :chain. <option> <usage text> options that start with <option>
:cmt. :chain. <option> <option> ... options that start with <option>
:cmt. can be chained together i.e.,
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usagechain. <option> <usage text> group of options that start with <option>
:cmt. are chained together in usage
:cmt. :usagegrp. <num> <usage text> group of options that have group <num>
:cmt. :usagegroup. <num> <usage text> group of options that have group <num>
:cmt. are chained together in usage
:cmt. :title. <text> English title usage text
:cmt. :jtitle. <text> Japanese title usage text
Expand Down Expand Up @@ -122,10 +122,7 @@
:target. any
:ntarget. bsd linux osx qnx haiku

:chain. p Preprocess source file
:jusage. p ソースファイルを前処理します
:chain. o Optimization
:jusage. o 最適化
:chain. o p

:option. ?
:target. any
Expand Down Expand Up @@ -815,6 +812,9 @@
:usage. set name of text segment
:jusage. テキスト・セグメント名を設定します

:usagechain. o Optimization
:jusage. o 最適化

:option. oa
:target. any
:usage. relax aliasing constraints
Expand Down Expand Up @@ -941,6 +941,9 @@
:usage. NULL points to valid memory in the target environment
:jusage. NULLは、ターゲット環境内の有効なメモリを指します

:usagechain. p Preprocess source file
:jusage. p ソースファイルを前処理します

:option. pil
:target. any
:nochain.
Expand Down
26 changes: 13 additions & 13 deletions bld/f77/gml/wfxopts.gml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
:cmt.
:cmt. GML Macros used:
:cmt.
:cmt. :chain. <option> <usage text> options that start with <option>
:cmt. :chain. <option> <option> ... options that start with <option>
:cmt. can be chained together i.e.,
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usagechain. <option> <usage text> group of options that start with <option>
:cmt. are chained together in usage
:cmt. :usagegrp. <num> <usage text> group of options that have group <num>
:cmt. :usagegroup. <num> <usage text> group of options that have group <num>
:cmt. are chained together in usage
:cmt. :title. <text> English title usage text
:cmt. :jtitle. <text> Japanese title usage text
Expand Down Expand Up @@ -147,7 +147,7 @@
:cmt.
:cmt. Compile and Link Options
:cmt.
:usagegrp. 1 *Compile and Link Options*
:usagegroup. 1 *Compile and Link Options*
:jusage. *コンパイル/リンクオプション*

:option. C
Expand Down Expand Up @@ -235,7 +235,7 @@
:cmt.
:cmt. File Management Options
:cmt.
:usagegrp. 2 *File Management Options*
:usagegroup. 2 *File Management Options*
:jusage. *ファイルマネージメントオプション*

:option. LISt
Expand Down Expand Up @@ -289,7 +289,7 @@
:cmt.
:cmt. Diagnostic Options
:cmt.
:usagegrp. 3 *Diagnostic Options*
:usagegroup. 3 *Diagnostic Options*
:jusage. *診断オプション*

:option. EXtensions
Expand Down Expand Up @@ -343,7 +343,7 @@
:cmt.
:cmt. Debugging Options
:cmt.
:usagegrp. 4 *Debugging Options*
:usagegroup. 4 *Debugging Options*
:jusage. *デバッグオプション*

:option. D1
Expand Down Expand Up @@ -386,7 +386,7 @@
:cmt.
:cmt. Floating-Point Options
:cmt.
:usagegrp. 5 *Floating-Point Options*
:usagegroup. 5 *Floating-Point Options*
:jusage. *浮動小数点オプション*

:option. FPC
Expand Down Expand Up @@ -446,7 +446,7 @@
:cmt.
:cmt. Optimization Options
:cmt.
:usagegrp. 6 *Optimizations*
:usagegroup. 6 *Optimizations*
:jusage. *最適化*

:option. OB
Expand Down Expand Up @@ -573,7 +573,7 @@
:cmt.
:cmt. Memory Models
:cmt.
:usagegrp. 7 *Memory Models*
:usagegroup. 7 *Memory Models*
:jusage. *メモリモデル*

:option. MF
Expand Down Expand Up @@ -615,7 +615,7 @@
:cmt.
:cmt. CPU Targets
:cmt.
:usagegrp. 8 *CPU Targets*
:usagegroup. 8 *CPU Targets*
:jusage. *CPU ターゲット*

:option. 0
Expand Down Expand Up @@ -664,7 +664,7 @@
:cmt.
:cmt. Application Type
:cmt.
:usagegrp. 9 *Application Type*
:usagegroup. 9 *Application Type*
:jusage. *アプリケーションタイプ*

:option. BW
Expand Down Expand Up @@ -695,7 +695,7 @@
:cmt.
:cmt. Character set
:cmt.
:usagegrp. 10 *Character Set Options*
:usagegroup. 10 *Character Set Options*
:jusage. *文字セットオプション*

:option. CHInese
Expand All @@ -720,7 +720,7 @@
:cmt.
:cmt. Miscellaneous Options
:cmt.
:usagegrp. 11 *Miscellaneous Options*
:usagegroup. 11 *Miscellaneous Options*
:jusage. *その他のオプション*

:option. SHort
Expand Down
Loading

0 comments on commit 9593cf3

Please sign in to comment.