This is the mail archive of the gdb-patches@sourceware.org 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: [RFC, PATCH] YACC parsers


Mark> As far as I can tell, it will require an explicit rule for each
Mark> parser, whereas currently an implicit rule is sufficient.

Yeah, I see.
That isn't such a big deal.  We can stuff the body of the rule into a
variable and reuse it in each explicit rule.

>> I wouldn't mind getting rid of these hacks and requiring a -p-capable
>> yacc.

Mark> POSIX requires the -p option, so I guess that would be fine.

Fine by me.

>> Or even requiring Bison; I think this would only be needed by gdb
>> developers anyhow.

Mark> My primary development systems come with a perfectly fine yacc that
Mark> isn't bison.

I suspect eventually I will have a reason to require bison, but we can
put that off until and if it ever happens.

Tom


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