Skip to content

Commit

Permalink
rename tag USAGEOGRP to more transparent USAGECHAIN
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed Jan 22, 2024
1 parent 7c58f6a commit bff9ef6
Show file tree
Hide file tree
Showing 25 changed files with 94 additions and 76 deletions.
4 changes: 2 additions & 2 deletions bld/as/h/options.gml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:cmt.*
:cmt.* Open Watcom Project
:cmt.*
:cmt.* Copyright (c) 2002-2020 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
:cmt.*
:cmt.* ========================================================================
Expand Down Expand Up @@ -39,7 +39,7 @@
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usageogrp. <option> <usage text> group of options that start with <option>
: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. are chained together in usage
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 @@ -2,7 +2,7 @@
:cmt.*
:cmt.* Open Watcom Project
:cmt.*
:cmt.* Copyright (c) 2002-2021 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
:cmt.*
:cmt.* ========================================================================
Expand Down Expand Up @@ -39,7 +39,7 @@
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usageogrp. <option> <usage text> group of options that start with <option>
: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. are chained together in usage
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 @@ -2,7 +2,7 @@
:cmt.*
:cmt.* Open Watcom Project
:cmt.*
:cmt.* Copyright (c) 2002-2021 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
:cmt.*
:cmt.* ========================================================================
Expand Down Expand Up @@ -39,7 +39,7 @@
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usageogrp. <option> <usage text> group of options that start with <option>
: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. are chained together in usage
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 @@ -2,7 +2,7 @@
:cmt.*
:cmt.* Open Watcom Project
:cmt.*
:cmt.* Copyright (c) 2002-2021 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
:cmt.*
:cmt.* ========================================================================
Expand Down Expand Up @@ -39,7 +39,7 @@
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usageogrp. <option> <usage text> group of options that start with <option>
: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. are chained together in usage
Expand Down
30 changes: 18 additions & 12 deletions bld/cc/gml/options.gml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:cmt.*
:cmt.* Open Watcom Project
:cmt.*
:cmt.* Copyright (c) 2022-2023 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Copyright (c) 2022-2024 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
:cmt.*
:cmt.* ========================================================================
Expand Down Expand Up @@ -39,7 +39,7 @@
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usageogrp. <option> <usage text> group of options that start with <option>
: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. are chained together in usage
Expand Down Expand Up @@ -127,7 +127,13 @@
:chain. o Optimization
:jusage. o 最適化

:option. h ?
:option. ?
:target. any
:nochain.
:usage. print this message
:jusage. このメッセージを表示します

:option. h
:target. any
:nochain.
:usage. print this message
Expand Down Expand Up @@ -228,7 +234,7 @@
:usage. allow non const initializers for local aggregates or unions
:jusage.

:usageogrp. ad Make Dependency Information
:usagechain. ad Make Dependency Information

:option. ad
:target. any
Expand Down Expand Up @@ -283,7 +289,7 @@
:usage. assume short integers are aligned
:jusage. short 整数が整列していると仮定します

:usageogrp. b Application type
:usagechain. b Application type

:option. bc
:target. any
Expand Down Expand Up @@ -323,7 +329,7 @@
:usage. build target is a default windowing application
:jusage. 構築ターゲットはデフォルト・ウィンドウ・アプリケーションです

:usageogrp. d Debugging Information
:usagechain. d Debugging Information

:option. d0
:target. any
Expand Down Expand Up @@ -403,7 +409,7 @@
:usage. emit code coverage gear
:jusage.

:usageogrp. ec Default calling convention
:usagechain. ec Default calling convention

:option. ecc
:target. i86 386
Expand Down Expand Up @@ -612,7 +618,7 @@
:usage. do not check for truncated versions of file names
:jusage. 切り詰めたファイル名をチェックしません

:usageogrp. fp Generate Floating-point code
:usagechain. fp Generate Floating-point code

:option. fpc
:target. i86 386
Expand Down Expand Up @@ -684,7 +690,7 @@
:usage. set code group name
:jusage. コード・グループ名を設定します

:usageogrp. h Debugging Information format
:usagechain. h Debugging Information format

:option. hw
:target. i86 386
Expand Down Expand Up @@ -746,7 +752,7 @@
:usage. enable OWL logging
:jusage. enable OWL logging

:usageogrp. m Memory model
:usagechain. m Memory model
:jusage. メモリ・モデル

:option. mc
Expand Down Expand Up @@ -1039,7 +1045,7 @@
:usage. VC++ compatibility: alloca allowed in argument lists
:jusage. VC++ 互換性: 引数リストの中でallocaを使用できます

:usageogrp. w Warning control
:usagechain. w Warning control

:option. w
:target. any
Expand Down Expand Up @@ -1226,7 +1232,7 @@
:usage. generate function prototypes using base types
:jusage. 基本型を使用した関数プロトタイプを生成します

:usageogrp. zk Multi-byte/Unicode character support
:usagechain. zk Multi-byte/Unicode character support

:option. zk0 zk
:target. any
Expand Down
4 changes: 2 additions & 2 deletions bld/f77/gml/wfxopts.gml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:cmt.*
:cmt.* Open Watcom Project
:cmt.*
:cmt.* Copyright (c) 2002-2021 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
:cmt.*
:cmt.* ========================================================================
Expand Down Expand Up @@ -39,7 +39,7 @@
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usageogrp. <option> <usage text> group of options that start with <option>
: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. are chained together in usage
Expand Down
10 changes: 5 additions & 5 deletions bld/fe_misc/c/optencod.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ TAG( TITLE ) \
TAG( TITLEU ) \
TAG( USAGE ) \
TAG( USAGEGRP ) \
TAG( USAGEOGRP )
TAG( USAGECHAIN )

#define NEXT_ARG() \
--argc1; ++argv1
Expand Down Expand Up @@ -803,7 +803,7 @@ static CHAIN *addChain( char *pattern, bool chain )
if( cn->code_used ) {
fail( "CHAIN: option '%s' already defined\n", pattern );
} else {
fail( "USAGEOGRP: option '%s' already defined\n", pattern );
fail( "USAGECHAIN: option '%s' already defined\n", pattern );
}
}
}
Expand Down Expand Up @@ -1580,16 +1580,16 @@ static void doTIMESTAMP( const char *p )
}
}

// :usageogrp. <option> <usage>
// :usagechain. <option> <usage>
//
// mark options that start with <option> as group in usage text
// i.e., -fp0 -fp1 ==> -fp{0,1}
static void doUSAGEOGRP( const char *p )
static void doUSAGECHAIN( const char *p )
{
CHAIN *cn;

if( *p == '\0' ) {
fail( "missing <option> in :usageogrp. tag\n" );
fail( "missing <option> in :usagechain. tag\n" );
}
p = nextWord( p, tokbuff );
cn = addChain( tokbuff, false );
Expand Down
4 changes: 2 additions & 2 deletions bld/mstools/asaxp/gml/options.gml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:cmt.*
:cmt.* Open Watcom Project
:cmt.*
:cmt.* Copyright (c) 2002-2020 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
:cmt.*
:cmt.* ========================================================================
Expand Down Expand Up @@ -39,7 +39,7 @@
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usageogrp. <option> <usage text> group of options that start with <option>
: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. are chained together in usage
Expand Down
4 changes: 2 additions & 2 deletions bld/mstools/cl/gml/options.gml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:cmt.*
:cmt.* Open Watcom Project
:cmt.*
:cmt.* Copyright (c) 2002-2020 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
:cmt.*
:cmt.* ========================================================================
Expand Down Expand Up @@ -39,7 +39,7 @@
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usageogrp. <option> <usage text> group of options that start with <option>
: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. are chained together in usage
Expand Down
4 changes: 2 additions & 2 deletions bld/mstools/cvtres/gml/options.gml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:cmt.*
:cmt.* Open Watcom Project
:cmt.*
:cmt.* Copyright (c) 2002-2020 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
:cmt.*
:cmt.* ========================================================================
Expand Down Expand Up @@ -39,7 +39,7 @@
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usageogrp. <option> <usage text> group of options that start with <option>
: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. are chained together in usage
Expand Down
4 changes: 2 additions & 2 deletions bld/mstools/lib/gml/options.gml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:cmt.*
:cmt.* Open Watcom Project
:cmt.*
:cmt.* Copyright (c) 2002-2020 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
:cmt.*
:cmt.* ========================================================================
Expand Down Expand Up @@ -39,7 +39,7 @@
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usageogrp. <option> <usage text> group of options that start with <option>
: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. are chained together in usage
Expand Down
4 changes: 2 additions & 2 deletions bld/mstools/link/gml/options.gml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:cmt.*
:cmt.* Open Watcom Project
:cmt.*
:cmt.* Copyright (c) 2002-2020 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
:cmt.*
:cmt.* ========================================================================
Expand Down Expand Up @@ -39,7 +39,7 @@
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usageogrp. <option> <usage text> group of options that start with <option>
: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. are chained together in usage
Expand Down
4 changes: 2 additions & 2 deletions bld/mstools/nmake/gml/options.gml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:cmt.*
:cmt.* Open Watcom Project
:cmt.*
:cmt.* Copyright (c) 2002-2020 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
:cmt.*
:cmt.* ========================================================================
Expand Down Expand Up @@ -39,7 +39,7 @@
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usageogrp. <option> <usage text> group of options that start with <option>
: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. are chained together in usage
Expand Down
4 changes: 2 additions & 2 deletions bld/mstools/rc/gml/options.gml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:cmt.*
:cmt.* Open Watcom Project
:cmt.*
:cmt.* Copyright (c) 2002-2020 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
:cmt.*
:cmt.* ========================================================================
Expand Down Expand Up @@ -39,7 +39,7 @@
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usageogrp. <option> <usage text> group of options that start with <option>
: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. are chained together in usage
Expand Down
4 changes: 2 additions & 2 deletions bld/ndisasm/stand/options.gml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:cmt.*
:cmt.* Open Watcom Project
:cmt.*
:cmt.* Copyright (c) 2002-2021 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Copyright (c) 2002-2024 The Open Watcom Contributors. All Rights Reserved.
:cmt.* Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved.
:cmt.*
:cmt.* ========================================================================
Expand Down Expand Up @@ -39,7 +39,7 @@
:cmt. -oa -ox -ot => -oaxt
:cmt. :target. <targ1> <targ2> ... valid for these targets
:cmt. :ntarget. <targ1> <targ2> ... not valid for these targets
:cmt. :usageogrp. <option> <usage text> group of options that start with <option>
: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. are chained together in usage
Expand Down
Loading

0 comments on commit bff9ef6

Please sign in to comment.