* [RFA] AR Index, remove yacc-lex sources for boolean tests
@ 2009-03-12 14:24 Pierre Muller
2009-03-12 17:47 ` 'Daniel Jacobowitz'
0 siblings, 1 reply; 5+ messages in thread
From: Pierre Muller @ 2009-03-12 14:24 UTC (permalink / raw)
To: 'Daniel Jacobowitz', gdb-patches
This simple patch
avoids testing lex and yacc files
for 'boolean' 'false' and 'true'.
Daniel, can I check this in?
Pierre Muller
Pascal language support maintainer for GDB
Index: gdb_ari.sh
===================================================================
RCS file: /cvs/gdbadmin/ss/gdb_ari.sh,v
retrieving revision 1.77
diff -u -p -r1.77 gdb_ari.sh
--- gdb_ari.sh 24 Oct 2007 20:24:55 -0000 1.77
+++ gdb_ari.sh 12 Mar 2009 10:02:38 -0000
@@ -1364,7 +1364,9 @@ Do not use `boolean'\'', use `int'\'' i
category["boolean"] = ari_regression
}
/(^|[^_[:alnum:]])boolean([^_[:alnum:]]|$)/ {
- fail("boolean")
+ if (is_yacc_or_lex == 0) {
+ fail("boolean")
+ }
}
BEGIN { doc["false"] = "\
@@ -1372,7 +1374,9 @@ Definitely do not use `false'\'' in bool
category["false"] = ari_regression
}
/(^|[^_[:alnum:]])false([^_[:alnum:]]|$)/ {
- fail("false")
+ if (is_yacc_or_lex == 0) {
+ fail("false")
+ }
}
BEGIN { doc["true"] = "\
@@ -1380,7 +1384,9 @@ Do not try to use `true'\'' in boolean e
category["true"] = ari_regression
}
/(^|[^_[:alnum:]])true([^_[:alnum:]]|$)/ {
- fail("true")
+ if (is_yacc_or_lex == 0) {
+ fail("true")
+ }
}
BEGIN { doc["if assignment"] = "\
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFA] AR Index, remove yacc-lex sources for boolean tests
2009-03-12 14:24 [RFA] AR Index, remove yacc-lex sources for boolean tests Pierre Muller
@ 2009-03-12 17:47 ` 'Daniel Jacobowitz'
2009-03-17 23:26 ` Pierre Muller
0 siblings, 1 reply; 5+ messages in thread
From: 'Daniel Jacobowitz' @ 2009-03-12 17:47 UTC (permalink / raw)
To: Pierre Muller; +Cc: gdb-patches
On Thu, Mar 12, 2009 at 11:29:26AM +0100, Pierre Muller wrote:
> This simple patch
> avoids testing lex and yacc files
> for 'boolean' 'false' and 'true'.
>
> Daniel, can I check this in?
Yes, go ahead.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [RFA] AR Index, remove yacc-lex sources for boolean tests
2009-03-12 17:47 ` 'Daniel Jacobowitz'
@ 2009-03-17 23:26 ` Pierre Muller
2009-03-18 3:15 ` Joel Brobecker
0 siblings, 1 reply; 5+ messages in thread
From: Pierre Muller @ 2009-03-17 23:26 UTC (permalink / raw)
To: 'Daniel Jacobowitz'; +Cc: gdb-patches
I tried several times to commit that
approved patch, but I always get the same
error: Could not open lock file `/cvs/gdbadmin/ss/,gdb_ari.sh,'
I suppose that members allowed to commit to /cvs/src
are not necessarily the same as for /cvs/gdbadmin...
Joel found out that this directory is writable only
by group gdbadmin, and offered to commit it for me.
Thanks Joel,
the patch is below.
Pierre Muller
Pascal language support maintainer for GDB
PS: the commit.txt file was just for
the cvs commit -F commit.txt gdb_ari.sh
as this directory has no ChangeLog.
$ cat commit.txt
* gdb_ari.sh (boolean, true, false): Do not consider lex and yacc
sources.
Pierre@d620-muller ~/ss
$ cvs diff -up gdb_ari.sh
Index: gdb_ari.sh
===================================================================
RCS file: /cvs/gdbadmin/ss/gdb_ari.sh,v
retrieving revision 1.77
diff -u -p -r1.77 gdb_ari.sh
--- gdb_ari.sh 24 Oct 2007 20:24:55 -0000 1.77
+++ gdb_ari.sh 17 Mar 2009 22:39:46 -0000
@@ -1364,7 +1364,9 @@ Do not use `boolean'\'', use `int'\'' i
category["boolean"] = ari_regression
}
/(^|[^_[:alnum:]])boolean([^_[:alnum:]]|$)/ {
- fail("boolean")
+ if (is_yacc_or_lex == 0) {
+ fail("boolean")
+ }
}
BEGIN { doc["false"] = "\
@@ -1372,7 +1374,9 @@ Definitely do not use `false'\'' in bool
category["false"] = ari_regression
}
/(^|[^_[:alnum:]])false([^_[:alnum:]]|$)/ {
- fail("false")
+ if (is_yacc_or_lex == 0) {
+ fail("false")
+ }
}
BEGIN { doc["true"] = "\
@@ -1380,7 +1384,9 @@ Do not try to use `true'\'' in boolean e
category["true"] = ari_regression
}
/(^|[^_[:alnum:]])true([^_[:alnum:]]|$)/ {
- fail("true")
+ if (is_yacc_or_lex == 0) {
+ fail("true")
+ }
}
BEGIN { doc["if assignment"] = "\
> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de 'Daniel Jacobowitz'
> Envoyé : Thursday, March 12, 2009 5:32 PM
> À : Pierre Muller
> Cc : gdb-patches@sourceware.org
> Objet : Re: [RFA] AR Index, remove yacc-lex sources for boolean tests
>
> On Thu, Mar 12, 2009 at 11:29:26AM +0100, Pierre Muller wrote:
> > This simple patch
> > avoids testing lex and yacc files
> > for 'boolean' 'false' and 'true'.
> >
> > Daniel, can I check this in?
>
> Yes, go ahead.
>
> --
> Daniel Jacobowitz
> CodeSourcery
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFA] AR Index, remove yacc-lex sources for boolean tests
2009-03-17 23:26 ` Pierre Muller
@ 2009-03-18 3:15 ` Joel Brobecker
2009-03-18 7:40 ` Pierre Muller
0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2009-03-18 3:15 UTC (permalink / raw)
To: Pierre Muller; +Cc: 'Daniel Jacobowitz', gdb-patches
> * gdb_ari.sh (boolean, true, false): Do not consider lex and yacc
> sources.
OK, I checked this change in. As far as I can tell, things should work
and the next cycle should show your changes. I'm afraid we missed
tonight's boat.
Wasn't there another (bigger) change that you proposed as well?
--
Joel
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [RFA] AR Index, remove yacc-lex sources for boolean tests
2009-03-18 3:15 ` Joel Brobecker
@ 2009-03-18 7:40 ` Pierre Muller
0 siblings, 0 replies; 5+ messages in thread
From: Pierre Muller @ 2009-03-18 7:40 UTC (permalink / raw)
To: 'Joel Brobecker'; +Cc: 'Daniel Jacobowitz', gdb-patches
Thanks, Joel
> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Joel Brobecker
> Envoyé : Wednesday, March 18, 2009 4:07 AM
> À : Pierre Muller
> Cc : 'Daniel Jacobowitz'; gdb-patches@sourceware.org
> Objet : Re: [RFA] AR Index, remove yacc-lex sources for boolean tests
>
> > * gdb_ari.sh (boolean, true, false): Do not consider lex and
> yacc
> > sources.
>
> OK, I checked this change in. As far as I can tell, things should work
> and the next cycle should show your changes. I'm afraid we missed
> tonight's boat.
>
> Wasn't there another (bigger) change that you proposed as well?
Yes indeed.
See this thread:
http://sourceware.org/ml/gdb-patches/2009-03/msg00167.html
Until now, you are the only one who
reacted to that RFC.
Pierre Muller
Pascal language support maintainer for GDB
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-03-18 6:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-12 14:24 [RFA] AR Index, remove yacc-lex sources for boolean tests Pierre Muller
2009-03-12 17:47 ` 'Daniel Jacobowitz'
2009-03-17 23:26 ` Pierre Muller
2009-03-18 3:15 ` Joel Brobecker
2009-03-18 7:40 ` Pierre Muller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox