* libbfd-in.h (_bfd_ar_spacepad): New prototype.
[deliverable/binutils-gdb.git] / gas / itbl-parse.y
index 7966ee8fe1b5a21387bc17ec751135dea70d15f2..54d7204652991df7841d66a9bf39f21c843832b2 100644 (file)
@@ -1,5 +1,5 @@
 /* itbl-parse.y
 /* itbl-parse.y
-   Copyright (C) 1997  Free Software Foundation, Inc.
+   Copyright 1997, 2002, 2003, 2005 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
 
    This file is part of GAS, the GNU Assembler.
 
@@ -152,7 +152,7 @@ Here is the grammar for the coprocessor table:
            char -> any printable character
            ltr -> ['a'..'z'|'A'..'Z'] 
            dec -> ['0'..'9']*                                       ; value in decimal
            char -> any printable character
            ltr -> ['a'..'z'|'A'..'Z'] 
            dec -> ['0'..'9']*                                       ; value in decimal
-           hex -> '0x'['0'..'9' | 'a'..'f' | 'A'..'F']*        ; value in hexidecimal 
+           hex -> '0x'['0'..'9' | 'a'..'f' | 'A'..'F']*        ; value in hexadecimal 
 
 
 Examples
 
 
 Examples
@@ -239,7 +239,7 @@ was deleted from the original format such that we now count the fields.
 
 ----
 FIXME! should really change lexical analyzer 
 
 ----
 FIXME! should really change lexical analyzer 
-to recognize 'dreg' etc. in context sensative way.
+to recognize 'dreg' etc. in context sensitive way.
 Currently function names or mnemonics may be incorrectly parsed as keywords
 
 FIXME! hex is ambiguous with any digit
 Currently function names or mnemonics may be incorrectly parsed as keywords
 
 FIXME! hex is ambiguous with any digit
@@ -247,6 +247,7 @@ FIXME! hex is ambiguous with any digit
 */
 
 #include <stdio.h>
 */
 
 #include <stdio.h>
+#include "itbl-lex.h"
 #include "itbl-ops.h"
 
 /* #define DEBUG */
 #include "itbl-ops.h"
 
 /* #define DEBUG */
@@ -273,9 +274,6 @@ FIXME! hex is ambiguous with any digit
 
 static int sbit, ebit;
 static struct itbl_entry *insn=0;
 
 static int sbit, ebit;
 static struct itbl_entry *insn=0;
-extern int insntbl_line;
-int yyparse PARAMS ((void));
-int yylex PARAMS ((void));
 static int yyerror PARAMS ((const char *));
 
 %}
 static int yyerror PARAMS ((const char *));
 
 %}
@@ -321,6 +319,7 @@ entry:
            insn=itbl_add_insn ($1, $3, $4, sbit, ebit, $6);
          }
        fieldspecs NL
            insn=itbl_add_insn ($1, $3, $4, sbit, ebit, $6);
          }
        fieldspecs NL
+         {}
        | NL
        | error NL
        ;
        | NL
        | error NL
        ;
This page took 0.023471 seconds and 4 git commands to generate.