This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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]

Re: ada vs identical flex


I think I can get rid of the yyrealloc stuff altogether.  It seems that
one of the rules in ada-lex is not really used, but causes the non-use
of yyrealloc as a side-effect.  If you could, would you try the following
patch with the problematic platform/flex version?  Thanks.

Built for me! Thanks.


Andrew

Paul Hilfinger


Index: merge.224/gdb/ada-lex.l
--- merge.224/gdb/ada-lex.l Wed, 06 Oct 2004 02:59:24 -0700 hilfingr
+++ merge.224(w)/gdb/ada-lex.l Fri, 08 Oct 2004 03:18:25 -0700 hilfingr
@@ -154,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;
@@ -926,5 +924,5 @@ yywrap(void)
typedef void (*dummy_function) ();
dummy_function ada_flex_use[] = { - (dummy_function) yyrealloc, (dummy_function) yyunput
+ (dummy_function) yyunput
};




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