[gnu.g++.bug] g++.texinfo glitches

jjc@UUNET.UU.NET (James Clark) (05/11/89)

There were a couple of glitches in g++.texinfo in 1.35.0-, when I ran
it through texinfo-format-buffer:

*** /u/local/src-g++/g++.texinfo	Fri May  5 20:20:50 1989
--- g++.texinfo	Wed May 10 21:42:43 1989
***************
*** 2943,2948 ****
--- 2943,2949 ----
           
    return strcat (t, string);
  }
+ @end example
  
  In this example, @code{__user_new} is defined to provide @code{realloc}-style
  behavior for the built-in operator @code{new}.  All other semantics
***************
*** 3084,3091 ****
      default:       printf ("other\n"); 
      }
  }
! @end example                          
!                           
  Duplicate, overlapping case values and empty ranges are detected and
  rejected by the compiler.
  
--- 3085,3092 ----
      default:       printf ("other\n"); 
      }
  }
! @end example
! 
  Duplicate, overlapping case values and empty ranges are detected and
  rejected by the compiler.
  
***************
*** 3223,3229 ****
  @node Named Return Values, Bugs, Linking, Features
  @section Avoid extra constructor call when returning classes from functions.
  
! Consider a function @code{m ()} with a return value of class @coce{X}.
  
  @example
  X m () @{ X b; b.a = 23; return b; @}
--- 3224,3230 ----
  @node Named Return Values, Bugs, Linking, Features
  @section Avoid extra constructor call when returning classes from functions.
  
! Consider a function @code{m ()} with a return value of class @code{X}.
  
  @example
  X m () @{ X b; b.a = 23; return b; @}

(It's some junk on the end of the line that causes a problem in the
second part of the diff.)

James Clark
jjc@jclark.uucp