This is the mail archive of the cgen@sourceware.org mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] : Fix minor typo in doc/porting.texi.


Hi , 

There is a minor typo in the documentation about Writing
define-normal-insn-enum . The example given needs to be changed
according to the syntax / convention followed.

The patch attached corrects this. 

Ok to commit ? 

cheers
Ramana






-- 
Ramana Radhakrishnan
GNU Tools
codito ergo sum (www.codito.com)
Index: doc/porting.texi
===================================================================
RCS file: /cvs/src/src/cgen/doc/porting.texi,v
retrieving revision 1.8
diff -a -u -r1.8 porting.texi
--- doc/porting.texi	7 Jun 2005 17:54:14 -0000	1.8
+++ doc/porting.texi	15 Oct 2005 23:03:38 -0000
@@ -147,7 +147,7 @@
 
 @example
 (define-normal-insn-enum
-  insn-op1 "insn format enums" () f-op1 OP1_
+  insn-op1 "insn format enums" () OP1_ f-op1
   (ADD ADDC SUB SUBC
    AND OR   XOR INV)
 )
@@ -446,7 +446,7 @@
 
 @example
 (define-normal-insn-enum
-  insn-op1 "insn format enums" () f-op1 OP1_
+  insn-op1 "insn format enums" () OP1_ f-op1
   (ADD ADDC SUB SUBC
    AND OR   XOR INV)
 )

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