format definitions in section 3.x
authornsz <nsz@port70.net>
Thu, 21 Jul 2011 15:31:26 +0000 (17:31 +0200)
committernsz <nsz@port70.net>
Thu, 21 Jul 2011 15:31:26 +0000 (17:31 +0200)
ann2html.sh
n1256.html
n1548.html

index ad4413d..6950da2 100755 (executable)
@@ -85,6 +85,10 @@ seencontents && !seenfore && /^[^@]/ {
        next
 }
 
+/^@sect 3\./ {
+       markdef = 1
+}
+
 /^@sect/ {
        sid++
        slevel = split($2,a,/\./)+1
@@ -218,6 +222,10 @@ seencontents && !seenfore && /^[^@]/ {
        }
        s = p s
        sub(/^ *Forward references/, "<p><b>&</b>", s)
+       if (markdef) {
+               s = "<b>" s "</b><br>"
+               markdef = 0
+       }
        if (pre)
                pre = pre "\n" s
        else if (nn)
index 52cdafe..3ae6a94 100644 (file)
@@ -595,7 +595,7 @@ WG14/N1256                Committee Draft -- Septermber 7, 2007
 
 <h3><a name="3.1" href="#3.1">3.1</a></h3>
 <p><!--para 1 -->
- access
+<b> access</b><br>
  &lt;execution-time action&gt; to read or modify the value of an object
 <p><!--para 2 -->
  NOTE 1   Where only one of these two actions is meant, ''read'' or ''modify'' is used.
@@ -609,13 +609,13 @@ WG14/N1256                Committee Draft -- Septermber 7, 2007
 
 <h3><a name="3.2" href="#3.2">3.2</a></h3>
 <p><!--para 1 -->
- alignment
+<b> alignment</b><br>
  requirement that objects of a particular type be located on storage boundaries with
  addresses that are particular multiples of a byte address
 
 <h3><a name="3.3" href="#3.3">3.3</a></h3>
 <p><!--para 1 -->
- argument
+<b> argument</b><br>
  actual argument
  actual parameter (deprecated)
  expression in the comma-separated list bounded by the parentheses in a function call
@@ -624,12 +624,12 @@ WG14/N1256                Committee Draft -- Septermber 7, 2007
 
 <h3><a name="3.4" href="#3.4">3.4</a></h3>
 <p><!--para 1 -->
- behavior
+<b> behavior</b><br>
  external appearance or action
 
 <h4><a name="3.4.1" href="#3.4.1">3.4.1</a></h4>
 <p><!--para 1 -->
- implementation-defined behavior
+<b> implementation-defined behavior</b><br>
  unspecified behavior where each implementation documents how the choice is made
 <p><!--para 2 -->
  EXAMPLE An example of implementation-defined behavior is the propagation of the high-order bit
@@ -638,7 +638,7 @@ WG14/N1256                Committee Draft -- Septermber 7, 2007
 
 <h4><a name="3.4.2" href="#3.4.2">3.4.2</a></h4>
 <p><!--para 1 -->
- locale-specific behavior
+<b> locale-specific behavior</b><br>
  behavior that depends on local conventions of nationality, culture, and language that each
  implementation documents
 <!--page 16 -->
@@ -649,7 +649,7 @@ WG14/N1256                Committee Draft -- Septermber 7, 2007
 
 <h4><a name="3.4.3" href="#3.4.3">3.4.3</a></h4>
 <p><!--para 1 -->
- undefined behavior
+<b> undefined behavior</b><br>
  behavior, upon use of a nonportable or erroneous program construct or of erroneous data,
  for which this International Standard imposes no requirements
 <p><!--para 2 -->
@@ -664,7 +664,7 @@ WG14/N1256                Committee Draft -- Septermber 7, 2007
 
 <h4><a name="3.4.4" href="#3.4.4">3.4.4</a></h4>
 <p><!--para 1 -->
- unspecified behavior
+<b> unspecified behavior</b><br>
  use of an unspecified value, or other behavior where this International Standard provides
  two or more possibilities and imposes no further requirements on which is chosen in any
  instance
@@ -675,7 +675,7 @@ WG14/N1256                Committee Draft -- Septermber 7, 2007
 
 <h3><a name="3.5" href="#3.5">3.5</a></h3>
 <p><!--para 1 -->
- bit
+<b> bit</b><br>
  unit of data storage in the execution environment large enough to hold an object that may
  have one of two values
 <p><!--para 2 -->
@@ -684,7 +684,7 @@ WG14/N1256                Committee Draft -- Septermber 7, 2007
 
 <h3><a name="3.6" href="#3.6">3.6</a></h3>
 <p><!--para 1 -->
- byte
+<b> byte</b><br>
  addressable unit of data storage large enough to hold any member of the basic character
  set of the execution environment
 <p><!--para 2 -->
@@ -698,20 +698,20 @@ WG14/N1256                Committee Draft -- Septermber 7, 2007
 
 <h3><a name="3.7" href="#3.7">3.7</a></h3>
 <p><!--para 1 -->
- character
+<b> character</b><br>
  &lt;abstract&gt; member of a set of elements used for the organization, control, or
  representation of data
 
 <h4><a name="3.7.1" href="#3.7.1">3.7.1</a></h4>
 <p><!--para 1 -->
- character
+<b> character</b><br>
  single-byte character
  &lt;C&gt; bit representation that fits in a byte
 <!--page 17 -->
 
 <h4><a name="3.7.2" href="#3.7.2">3.7.2</a></h4>
 <p><!--para 1 -->
- multibyte character
+<b> multibyte character</b><br>
  sequence of one or more bytes representing a member of the extended character set of
  either the source or the execution environment
 <p><!--para 2 -->
@@ -720,49 +720,49 @@ WG14/N1256                Committee Draft -- Septermber 7, 2007
 
 <h4><a name="3.7.3" href="#3.7.3">3.7.3</a></h4>
 <p><!--para 1 -->
- wide character
+<b> wide character</b><br>
  bit representation that fits in an object of type wchar_t, capable of representing any
  character in the current locale
 
 <h3><a name="3.8" href="#3.8">3.8</a></h3>
 <p><!--para 1 -->
- constraint
+<b> constraint</b><br>
  restriction, either syntactic or semantic, by which the exposition of language elements is
  to be interpreted
 
 <h3><a name="3.9" href="#3.9">3.9</a></h3>
 <p><!--para 1 -->
- correctly rounded result
+<b> correctly rounded result</b><br>
  representation in the result format that is nearest in value, subject to the current rounding
  mode, to what the result would be given unlimited range and precision
 
 <h3><a name="3.10" href="#3.10">3.10</a></h3>
 <p><!--para 1 -->
- diagnostic message
+<b> diagnostic message</b><br>
  message belonging to an implementation-defined subset of the implementation's message
  output
 
 <h3><a name="3.11" href="#3.11">3.11</a></h3>
 <p><!--para 1 -->
- forward reference
+<b> forward reference</b><br>
  reference to a later subclause of this International Standard that contains additional
  information relevant to this subclause
 
 <h3><a name="3.12" href="#3.12">3.12</a></h3>
 <p><!--para 1 -->
- implementation
+<b> implementation</b><br>
  particular set of software, running in a particular translation environment under particular
  control options, that performs translation of programs for, and supports execution of
  functions in, a particular execution environment
 
 <h3><a name="3.13" href="#3.13">3.13</a></h3>
 <p><!--para 1 -->
- implementation limit
+<b> implementation limit</b><br>
  restriction imposed upon programs by the implementation
 
 <h3><a name="3.14" href="#3.14">3.14</a></h3>
 <p><!--para 1 -->
- object
+<b> object</b><br>
  region of data storage in the execution environment, the contents of which can represent
  values
 <!--page 18 -->
@@ -772,7 +772,7 @@ WG14/N1256                Committee Draft -- Septermber 7, 2007
 
 <h3><a name="3.15" href="#3.15">3.15</a></h3>
 <p><!--para 1 -->
- parameter
+<b> parameter</b><br>
  formal parameter
  formal argument (deprecated)
  object declared as part of a function declaration or definition that acquires a value on
@@ -781,28 +781,28 @@ WG14/N1256                Committee Draft -- Septermber 7, 2007
 
 <h3><a name="3.16" href="#3.16">3.16</a></h3>
 <p><!--para 1 -->
- recommended practice
+<b> recommended practice</b><br>
  specification that is strongly recommended as being in keeping with the intent of the
  standard, but that may be impractical for some implementations
 
 <h3><a name="3.17" href="#3.17">3.17</a></h3>
 <p><!--para 1 -->
- value
+<b> value</b><br>
  precise meaning of the contents of an object when interpreted as having a specific type
 
 <h4><a name="3.17.1" href="#3.17.1">3.17.1</a></h4>
 <p><!--para 1 -->
- implementation-defined value
+<b> implementation-defined value</b><br>
  unspecified value where each implementation documents how the choice is made
 
 <h4><a name="3.17.2" href="#3.17.2">3.17.2</a></h4>
 <p><!--para 1 -->
- indeterminate value
+<b> indeterminate value</b><br>
  either an unspecified value or a trap representation
 
 <h4><a name="3.17.3" href="#3.17.3">3.17.3</a></h4>
 <p><!--para 1 -->
- unspecified value
+<b> unspecified value</b><br>
  valid value of the relevant type where this International Standard imposes no
  requirements on which value is chosen in any instance
 <p><!--para 2 -->
@@ -811,7 +811,7 @@ WG14/N1256                Committee Draft -- Septermber 7, 2007
 
 <h3><a name="3.18" href="#3.18">3.18</a></h3>
 <p><!--para 1 -->
- ??? x???
+<b> ??? x???</b><br>
  ceiling of x: the least integer greater than or equal to x
 <p><!--para 2 -->
  EXAMPLE       ???2.4??? is 3, ???-2.4??? is -2.
@@ -819,7 +819,7 @@ WG14/N1256                Committee Draft -- Septermber 7, 2007
 
 <h3><a name="3.19" href="#3.19">3.19</a></h3>
 <p><!--para 1 -->
- ??? x???
+<b> ??? x???</b><br>
  floor of x: the greatest integer less than or equal to x
 <p><!--para 2 -->
  EXAMPLE       ???2.4??? is 2, ???-2.4??? is -3.
index 0791bdf..6fbc9f2 100644 (file)
@@ -805,7 +805,7 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h3><a name="3.1" href="#3.1">3.1</a></h3>
 <p><!--para 1 -->
- access
+<b> access</b><br>
  &lt;execution-time action&gt; to read or modify the value of an object
 <p><!--para 2 -->
  NOTE 1   Where only one of these two actions is meant, ''read'' or ''modify'' is used.
@@ -819,13 +819,13 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h3><a name="3.2" href="#3.2">3.2</a></h3>
 <p><!--para 1 -->
- alignment
+<b> alignment</b><br>
  requirement that objects of a particular type be located on storage boundaries with
  addresses that are particular multiples of a byte address
 
 <h3><a name="3.3" href="#3.3">3.3</a></h3>
 <p><!--para 1 -->
- argument
+<b> argument</b><br>
  actual argument
  actual parameter (deprecated)
  expression in the comma-separated list bounded by the parentheses in a function call
@@ -834,12 +834,12 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h3><a name="3.4" href="#3.4">3.4</a></h3>
 <p><!--para 1 -->
- behavior
+<b> behavior</b><br>
  external appearance or action
 
 <h4><a name="3.4.1" href="#3.4.1">3.4.1</a></h4>
 <p><!--para 1 -->
- implementation-defined behavior
+<b> implementation-defined behavior</b><br>
  unspecified behavior where each implementation documents how the choice is made
 <p><!--para 2 -->
  EXAMPLE An example of implementation-defined behavior is the propagation of the high-order bit
@@ -848,7 +848,7 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h4><a name="3.4.2" href="#3.4.2">3.4.2</a></h4>
 <p><!--para 1 -->
- locale-specific behavior
+<b> locale-specific behavior</b><br>
  behavior that depends on local conventions of nationality, culture, and language that each
  implementation documents
 <!--page 22 -->
@@ -859,7 +859,7 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h4><a name="3.4.3" href="#3.4.3">3.4.3</a></h4>
 <p><!--para 1 -->
- undefined behavior
+<b> undefined behavior</b><br>
  behavior, upon use of a nonportable or erroneous program construct or of erroneous data,
  for which this International Standard imposes no requirements
 <p><!--para 2 -->
@@ -874,7 +874,7 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h4><a name="3.4.4" href="#3.4.4">3.4.4</a></h4>
 <p><!--para 1 -->
- unspecified behavior
+<b> unspecified behavior</b><br>
  use of an unspecified value, or other behavior where this International Standard provides
  two or more possibilities and imposes no further requirements on which is chosen in any
  instance
@@ -885,7 +885,7 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h3><a name="3.5" href="#3.5">3.5</a></h3>
 <p><!--para 1 -->
- bit
+<b> bit</b><br>
  unit of data storage in the execution environment large enough to hold an object that may
  have one of two values
 <p><!--para 2 -->
@@ -894,7 +894,7 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h3><a name="3.6" href="#3.6">3.6</a></h3>
 <p><!--para 1 -->
- byte
+<b> byte</b><br>
  addressable unit of data storage large enough to hold any member of the basic character
  set of the execution environment
 <p><!--para 2 -->
@@ -908,20 +908,20 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h3><a name="3.7" href="#3.7">3.7</a></h3>
 <p><!--para 1 -->
- character
+<b> character</b><br>
  &lt;abstract&gt; member of a set of elements used for the organization, control, or
  representation of data
 
 <h4><a name="3.7.1" href="#3.7.1">3.7.1</a></h4>
 <p><!--para 1 -->
- character
+<b> character</b><br>
  single-byte character
  &lt;C&gt; bit representation that fits in a byte
 <!--page 23 -->
 
 <h4><a name="3.7.2" href="#3.7.2">3.7.2</a></h4>
 <p><!--para 1 -->
- multibyte character
+<b> multibyte character</b><br>
  sequence of one or more bytes representing a member of the extended character set of
  either the source or the execution environment
 <p><!--para 2 -->
@@ -930,49 +930,49 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h4><a name="3.7.3" href="#3.7.3">3.7.3</a></h4>
 <p><!--para 1 -->
- wide character
+<b> wide character</b><br>
  bit representation that fits in an object of type wchar_t, capable of representing any
  character in the current locale
 
 <h3><a name="3.8" href="#3.8">3.8</a></h3>
 <p><!--para 1 -->
- constraint
+<b> constraint</b><br>
  restriction, either syntactic or semantic, by which the exposition of language elements is
  to be interpreted
 
 <h3><a name="3.9" href="#3.9">3.9</a></h3>
 <p><!--para 1 -->
- correctly rounded result
+<b> correctly rounded result</b><br>
  representation in the result format that is nearest in value, subject to the current rounding
  mode, to what the result would be given unlimited range and precision
 
 <h3><a name="3.10" href="#3.10">3.10</a></h3>
 <p><!--para 1 -->
- diagnostic message
+<b> diagnostic message</b><br>
  message belonging to an implementation-defined subset of the implementation's message
  output
 
 <h3><a name="3.11" href="#3.11">3.11</a></h3>
 <p><!--para 1 -->
- forward reference
+<b> forward reference</b><br>
  reference to a later subclause of this International Standard that contains additional
  information relevant to this subclause
 
 <h3><a name="3.12" href="#3.12">3.12</a></h3>
 <p><!--para 1 -->
- implementation
+<b> implementation</b><br>
  particular set of software, running in a particular translation environment under particular
  control options, that performs translation of programs for, and supports execution of
  functions in, a particular execution environment
 
 <h3><a name="3.13" href="#3.13">3.13</a></h3>
 <p><!--para 1 -->
- implementation limit
+<b> implementation limit</b><br>
  restriction imposed upon programs by the implementation
 
 <h3><a name="3.14" href="#3.14">3.14</a></h3>
 <p><!--para 1 -->
- memory location
+<b> memory location</b><br>
  either an object of scalar type, or a maximal sequence of adjacent bit-fields all having
  nonzero width
 <!--page 24 -->
@@ -1004,7 +1004,7 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h3><a name="3.15" href="#3.15">3.15</a></h3>
 <p><!--para 1 -->
- object
+<b> object</b><br>
  region of data storage in the execution environment, the contents of which can represent
  values
 <p><!--para 2 -->
@@ -1013,7 +1013,7 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h3><a name="3.16" href="#3.16">3.16</a></h3>
 <p><!--para 1 -->
- parameter
+<b> parameter</b><br>
  formal parameter
  formal argument (deprecated)
  object declared as part of a function declaration or definition that acquires a value on
@@ -1022,13 +1022,13 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h3><a name="3.17" href="#3.17">3.17</a></h3>
 <p><!--para 1 -->
- recommended practice
+<b> recommended practice</b><br>
  specification that is strongly recommended as being in keeping with the intent of the
  standard, but that may be impractical for some implementations
 
 <h3><a name="3.18" href="#3.18">3.18</a></h3>
 <p><!--para 1 -->
- runtime-constraint
+<b> runtime-constraint</b><br>
  requirement on a program when calling a library function
 <p><!--para 2 -->
  NOTE 1 Despite the similar terms, a runtime-constraint is not a kind of constraint as defined by <a href="#3.8">3.8</a>, and
@@ -1041,22 +1041,22 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h3><a name="3.19" href="#3.19">3.19</a></h3>
 <p><!--para 1 -->
- value
+<b> value</b><br>
  precise meaning of the contents of an object when interpreted as having a specific type
 
 <h4><a name="3.19.1" href="#3.19.1">3.19.1</a></h4>
 <p><!--para 1 -->
- implementation-defined value
+<b> implementation-defined value</b><br>
  unspecified value where each implementation documents how the choice is made
 
 <h4><a name="3.19.2" href="#3.19.2">3.19.2</a></h4>
 <p><!--para 1 -->
- indeterminate value
+<b> indeterminate value</b><br>
  either an unspecified value or a trap representation
 
 <h4><a name="3.19.3" href="#3.19.3">3.19.3</a></h4>
 <p><!--para 1 -->
- unspecified value
+<b> unspecified value</b><br>
  valid value of the relevant type where this International Standard imposes no
  requirements on which value is chosen in any instance
 <p><!--para 2 -->
@@ -1065,12 +1065,12 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h4><a name="3.19.4" href="#3.19.4">3.19.4</a></h4>
 <p><!--para 1 -->
- trap representation
+<b> trap representation</b><br>
  an object representation that need not represent a value of the object type
 
 <h4><a name="3.19.5" href="#3.19.5">3.19.5</a></h4>
 <p><!--para 1 -->
- perform a trap
+<b> perform a trap</b><br>
  interrupt execution of the program such that no further operations are performed
 <p><!--para 2 -->
  NOTE In this International Standard, when the word ''trap'' is not immediately followed by
@@ -1084,7 +1084,7 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h3><a name="3.20" href="#3.20">3.20</a></h3>
 <p><!--para 1 -->
- [^ x^]
+<b> [^ x^]</b><br>
  ceiling of x: the least integer greater than or equal to x
 <p><!--para 2 -->
  EXAMPLE       [^2.4^] is 3, [^-2.4^] is -2.
@@ -1092,7 +1092,7 @@ margin: deleted text is marked with ''*'', new or changed text with '' ''.
 
 <h3><a name="3.21" href="#3.21">3.21</a></h3>
 <p><!--para 1 -->
- [_ x_]
+<b> [_ x_]</b><br>
  floor of x: the greatest integer less than or equal to x
 <p><!--para 2 -->
  EXAMPLE       [_2.4_] is 2, [_-2.4_] is -3.