Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Question about ARI for expression parsers
@ 2007-07-27 11:02 Pierre Muller
  2007-07-28  0:02 ` Jim Blandy
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre Muller @ 2007-07-27 11:02 UTC (permalink / raw)
  To: gdb

  I just sent an email to gdb-patches about
fixes for p-valprint.c regarding ARI reports.

  I noticed that, in the pascal specific files
that I maintain, there are lots of DEPRECATED stuff
in the file p-exp.y.

  But none of the expression parser is listed in the ARI
report web page, why is that?
  Wouldn't it be better to include them
or would it give too many false alarms?


Pierre Muller
Pascal language maintainer





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Question about ARI for expression parsers
  2007-07-27 11:02 Question about ARI for expression parsers Pierre Muller
@ 2007-07-28  0:02 ` Jim Blandy
  2007-07-31 11:53   ` Pierre Muller
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Blandy @ 2007-07-28  0:02 UTC (permalink / raw)
  To: Pierre Muller; +Cc: gdb


"Pierre Muller" <muller@ics.u-strasbg.fr> writes:
>   I just sent an email to gdb-patches about
> fixes for p-valprint.c regarding ARI reports.
>
>   I noticed that, in the pascal specific files
> that I maintain, there are lots of DEPRECATED stuff
> in the file p-exp.y.
>
>   But none of the expression parser is listed in the ARI
> report web page, why is that?
>   Wouldn't it be better to include them
> or would it give too many false alarms?

I don't see any of the .y files listed in the ARI.  Perhaps the
scripts don't know how to handle YACC grammars.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Question about ARI for expression parsers
  2007-07-28  0:02 ` Jim Blandy
@ 2007-07-31 11:53   ` Pierre Muller
  0 siblings, 0 replies; 3+ messages in thread
From: Pierre Muller @ 2007-07-31 11:53 UTC (permalink / raw)
  To: 'Jim Blandy'; +Cc: gdb

  I big part of the YACC grammar files
are in fact C functions like yylex,
and those would certainly benefit from
being checked as usual C sources are.

  Nervertheless, I did not look into the
scripts used to generate these ARI reports
and have no clue if it would be feasible/easy
to restrict the checking to the included
C functions, or if treating the whole
file as a C source would generate errors,
or false reports.

  If someone could try to add the yacc grammar sources
and report the results, we might get an idea if 
there is more work needed to insert these files
into the ARI report.

Pierre Muller

> -----Original Message-----
> From: Jim Blandy [mailto:jimb@codesourcery.com]
> Sent: Friday, July 27, 2007 7:53 PM
> To: Pierre Muller
> Cc: gdb@sourceware.org
> Subject: Re: Question about ARI for expression parsers
> 
> 
> "Pierre Muller" <muller@ics.u-strasbg.fr> writes:
> >   I just sent an email to gdb-patches about
> > fixes for p-valprint.c regarding ARI reports.
> >
> >   I noticed that, in the pascal specific files
> > that I maintain, there are lots of DEPRECATED stuff
> > in the file p-exp.y.
> >
> >   But none of the expression parser is listed in the ARI
> > report web page, why is that?
> >   Wouldn't it be better to include them
> > or would it give too many false alarms?
> 
> I don't see any of the .y files listed in the ARI.  Perhaps the
> scripts don't know how to handle YACC grammars.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-31  7:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-27 11:02 Question about ARI for expression parsers Pierre Muller
2007-07-28  0:02 ` Jim Blandy
2007-07-31 11:53   ` Pierre Muller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox