* README-vms: Delete.
[deliverable/binutils-gdb.git] / gdb / ada-lex.l
index 10870581a6176fe5b899379f11edd6fa7fef3358..6aa3b7d5bff5fff3062c6d8d8a79422f1f30b2a8 100644 (file)
@@ -42,8 +42,6 @@ EXP   (e[+-]{NUM10})
 POSEXP  (e"+"?{NUM10})
 
 %{
-#define malloc xmalloc
-#define free xfree
 
 #define NUMERAL_WIDTH 256
 #define LONGEST_SIGN ((ULONGEST) 1 << (sizeof(LONGEST) * HOST_CHAR_BIT - 1))
@@ -156,8 +154,6 @@ static int find_dot_all (const char *);
                   return CHARLIT;
                }
 
-\"{OPER}\"/{WHITE}*"(" { return processId (yytext, yyleng); }
-
 <INITIAL>\"    {
                   tempbuf_len = 0;
                   BEGIN IN_STRING;
@@ -349,7 +345,7 @@ resize_tempbuf (unsigned int n)
   if (tempbufsize < n)
     {
       tempbufsize = (n+63) & ~63;
-      tempbuf = (char *) xrealloc (tempbuf, tempbufsize);
+      tempbuf = xrealloc (tempbuf, tempbufsize);
     }
 }
 
@@ -923,3 +919,10 @@ yywrap(void)
 {
   return 1;
 }
+
+/* Dummy definition to suppress warnings about unused static definitions. */
+typedef void (*dummy_function) ();
+dummy_function ada_flex_use[] = 
+{ 
+  (dummy_function) yyunput
+};
This page took 0.025167 seconds and 4 git commands to generate.