Accept 16-bit addresses.
[deliverable/binutils-gdb.git] / gdb / m2-exp.y
index 08a11ce2c3c81eead4336b72c09948fa72b19c5e..94d1fe005b0b69b7bd702e2dcbc73b4d8f9d4ec7 100644 (file)
@@ -135,7 +135,7 @@ static struct block *modblock=0;
 %union
   {
     LONGEST lval;
-    unsigned LONGEST ulval;
+    ULONGEST ulval;
     DOUBLEST dval;
     struct symbol *sym;
     struct type *tval;
@@ -1050,6 +1050,10 @@ yylex ()
        case LOC_LABEL:
        case LOC_UNRESOLVED:
          error("internal:  Unforseen case in m2lex()");
+
+       default:
+         error ("unhandled token in m2lex()");
+         break;
        }
     }
     else
This page took 0.0233 seconds and 4 git commands to generate.