diff options
author | Mark Wielaard <mjw@redhat.com> | 2015-02-12 16:51:53 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2015-02-16 11:08:05 +0100 |
commit | 171e6b1cf621bff93e1aea3fe76bdaa6132df9f6 (patch) | |
tree | eec1c11bcf1fe8626eee8aba8278a1d28be07ac6 /gdb/contrib/ari | |
parent | 5348a025be9a49e05b7ae4ac4081bae6e2399b65 (diff) | |
download | gdb-171e6b1cf621bff93e1aea3fe76bdaa6132df9f6.zip gdb-171e6b1cf621bff93e1aea3fe76bdaa6132df9f6.tar.gz gdb-171e6b1cf621bff93e1aea3fe76bdaa6132df9f6.tar.bz2 |
Remove true and false ARI checks now that we use stdbool.h.
gdb/ChangeLog:
* contrib/ari/gdb_ari.sh: Remove checks for "true" and "false".
Diffstat (limited to 'gdb/contrib/ari')
-rw-r--r-- | gdb/contrib/ari/gdb_ari.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gdb/contrib/ari/gdb_ari.sh b/gdb/contrib/ari/gdb_ari.sh index b868a17..52d8ab1 100644 --- a/gdb/contrib/ari/gdb_ari.sh +++ b/gdb/contrib/ari/gdb_ari.sh @@ -1145,26 +1145,6 @@ Do not use `boolean'\'', use `int'\'' instead" } } -BEGIN { doc["false"] = "\ -Definitely do not use `false'\'' in boolean expressions" - category["false"] = ari_regression -} -/(^|[^_[:alnum:]])false([^_[:alnum:]]|$)/ { - if (is_yacc_or_lex == 0) { - fail("false") - } -} - -BEGIN { doc["true"] = "\ -Do not try to use `true'\'' in boolean expressions" - category["true"] = ari_regression -} -/(^|[^_[:alnum:]])true([^_[:alnum:]]|$)/ { - if (is_yacc_or_lex == 0) { - fail("true") - } -} - # Typedefs that are either redundant or can be reduced to `struct # type *''. # Must be placed before if assignment otherwise ARI exceptions |