This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ir.texi problems


While trying to generate ir.info from ir.texi, makeinfo complained a
number of times. Here is a patch. I also ran ispell over it once,
although I probably did not catch all typos.

Martin

1999-09-23  Martin v. Löwis  <loewis@informatik.hu-berlin.de>

	* ir.texi: Fix formatting errors and typos.

Index: ir.texi
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/ir.texi,v
retrieving revision 1.4
diff -u -r1.4 ir.texi
--- ir.texi	1999/09/23 02:10:54	1.4
+++ ir.texi	1999/09/23 10:16:02
@@ -35,7 +35,7 @@
 @end ifinfo
 
 @c ---------------------------------------------------------------------
-@c Titlepage
+@c Title page
 @c ---------------------------------------------------------------------
 
 @titlepage
@@ -834,7 +834,7 @@
 FIXME: Talk about bitfields.
 
 @item NAMESPACE_DECL
-@xref{Namespaces}
+@xref{Namespaces}.
 
 @item TEMPLATE_DECL
 
@@ -1123,22 +1123,22 @@
 @example
 void process_stmt (stmt)
      tree stmt;
-{
+@{
   while (stmt)
-    {
+    @{
       switch (TREE_CODE (stmt))
-        {
+        @{
         case IF_STMT:
           process_stmt (THEN_CLAUSE (stmt));
           /* More processing here.  */
           break;
         
         ...
-        }
+        @}
 
       stmt = TREE_CHAIN (stmt);
-    }
-}
+    @}
+@}
 @end example
 In other words, while the @code{then} clause of an @code{if} statement
 in C++ can be only one statement (although that one statement may be a
@@ -1747,7 +1747,7 @@
 These nodes are used to represent G++'s statement-expression extension.
 The statement-expression extension allows code like this:
 @example
-int f() { return ({ int j; j = 3; j + 7; }); }
+int f() @{ return (@{ int j; j = 3; j + 7; @}); @}
 @end example
 In other words, an sequence of statements may occur where a single
 expression would normally appear.  The @code{STMT_EXPR} node represents
@@ -1777,7 +1777,7 @@
 next available array element.
 
 Conceptually, before any initialization is done, the entire area of
-storage is intialized to zero.
+storage is initialized to zero.
 
 @item SAVE_EXPR
 
@@ -1805,7 +1805,7 @@
 function.
 
 If @code{AGGR_INIT_VIA_CTOR_P} holds of the @code{AGGR_INIT_EXPR}, then
-the intialization is via a constructor call.  The address of the third
+the initialization is via a constructor call.  The address of the third
 operand of the @code{AGGR_INIT_EXPR}, which is always a @code{VAR_DECL},
 is taken, and this value replaces the first argument in the argument
 list.  In this case, the value of the expression is the @code{VAR_DECL}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]