summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2000-08-20 18:44:23 +0000
committerBruno Haible <bruno@clisp.org>2000-08-20 18:44:23 +0000
commit745d7fc2fb5401bddae806a6a889cc8c9e5646c2 (patch)
tree483a8e4f1fd293938bdfc9e547ed8675ca95c46f /tests
parent4bdae6102758a6e3805a058fc638a6c882c08e81 (diff)
downloadgperf-745d7fc2fb5401bddae806a6a889cc8c9e5646c2.tar.gz
Regenerated.
Diffstat (limited to 'tests')
-rw-r--r--tests/c-parse.exp6
-rw-r--r--tests/chill.exp6
-rw-r--r--tests/cplusplus.exp6
-rw-r--r--tests/gpc.exp6
-rw-r--r--tests/java.exp6
-rw-r--r--tests/modula2.exp8
-rw-r--r--tests/objc.exp6
-rw-r--r--tests/test-4.exp6
8 files changed, 41 insertions, 9 deletions
diff --git a/tests/c-parse.exp b/tests/c-parse.exp
index 9bef0e8..d0dc46a 100644
--- a/tests/c-parse.exp
+++ b/tests/c-parse.exp
@@ -1,4 +1,4 @@
-/* C code produced by gperf version 2.7 */
+/* C code produced by gperf version 2.7.2 */
/* Command-line: ../src/gperf -L C -F ', 0, 0' -p -j1 -i 1 -g -o -t -G -N is_reserved_word -k'1,3,$' */
/* Command-line: gperf -L KR-C -F ', 0, 0' -p -j1 -i 1 -g -o -t -N is_reserved_word -k1,3,$ c-parse.gperf */
struct resword { const char *name; short token; enum rid rid; };
@@ -12,6 +12,10 @@ struct resword { const char *name; short token; enum rid rid; };
#ifdef __GNUC__
__inline
+#else
+#ifdef __cplusplus
+inline
+#endif
#endif
static unsigned int
hash (str, len)
diff --git a/tests/chill.exp b/tests/chill.exp
index 1cb9814..24380de 100644
--- a/tests/chill.exp
+++ b/tests/chill.exp
@@ -1,4 +1,4 @@
-/* C code produced by gperf version 2.7 */
+/* C code produced by gperf version 2.7.2 */
/* Command-line: ../src/gperf -L C -F ', 0, 0, 0' -D -E -S1 -p -j1 -i 1 -g -o -t -k'*' */
struct resword {
const char *name;
@@ -11,6 +11,10 @@ extern tree ridpointers [];
#ifdef __GNUC__
__inline
+#else
+#ifdef __cplusplus
+inline
+#endif
#endif
static unsigned int
hash (str, len)
diff --git a/tests/cplusplus.exp b/tests/cplusplus.exp
index bee96fb..8fb6427 100644
--- a/tests/cplusplus.exp
+++ b/tests/cplusplus.exp
@@ -1,4 +1,4 @@
-/* C code produced by gperf version 2.7 */
+/* C code produced by gperf version 2.7.2 */
/* Command-line: ../src/gperf -L C -F ', 0, 0' -p -j1 -g -o -t -N is_reserved_word -k'1,4,7,$' */
/* Command-line: gperf -L KR-C -F ', 0, 0' -p -j1 -g -o -t -N is_reserved_word -k1,4,$,7 gplus.gperf */
struct resword { const char *name; short token; enum rid rid;};
@@ -12,6 +12,10 @@ struct resword { const char *name; short token; enum rid rid;};
#ifdef __GNUC__
__inline
+#else
+#ifdef __cplusplus
+inline
+#endif
#endif
static unsigned int
hash (str, len)
diff --git a/tests/gpc.exp b/tests/gpc.exp
index 8f4d9ab..d4ada45 100644
--- a/tests/gpc.exp
+++ b/tests/gpc.exp
@@ -1,4 +1,4 @@
-/* C code produced by gperf version 2.7 */
+/* C code produced by gperf version 2.7.2 */
/* Command-line: ../src/gperf -g -o -j1 -t -p -N is_reserved_word */
/* ISO Pascal 7185 reserved words.
*
@@ -20,6 +20,10 @@ struct resword { char *name; short token; short iclass;};
#ifdef __GNUC__
__inline
+#else
+#ifdef __cplusplus
+inline
+#endif
#endif
static unsigned int
hash (str, len)
diff --git a/tests/java.exp b/tests/java.exp
index 314da20..d9cdf68 100644
--- a/tests/java.exp
+++ b/tests/java.exp
@@ -1,4 +1,4 @@
-/* C code produced by gperf version 2.7 */
+/* C code produced by gperf version 2.7.2 */
/* Command-line: ../src/gperf -L C -F ', 0' -p -t -j1 -i 1 -g -o -N java_keyword -k'1,3,$' */
/* Keyword definition for the GNU compiler for the Java(TM) language.
Copyright (C) 1997, 1998 Free Software Foundation, Inc.
@@ -36,6 +36,10 @@ struct java_keyword { const char *name; int token; };
#ifdef __GNUC__
__inline
+#else
+#ifdef __cplusplus
+inline
+#endif
#endif
static unsigned int
hash (str, len)
diff --git a/tests/modula2.exp b/tests/modula2.exp
index 3b9e7b0..e13f352 100644
--- a/tests/modula2.exp
+++ b/tests/modula2.exp
@@ -1,4 +1,4 @@
-/* C code produced by gperf version 2.7 */
+/* C code produced by gperf version 2.7.2 */
/* Command-line: ../src/gperf -n -k1-8 -l */
#define TOTAL_KEYWORDS 40
@@ -10,6 +10,10 @@
#ifdef __GNUC__
__inline
+#else
+#ifdef __cplusplus
+inline
+#endif
#endif
static unsigned int
hash (str, len)
@@ -194,7 +198,7 @@ in_word_set (str, len)
{
register const char *s = wordlist[key];
- if (*str == *s && !strcmp (str + 1, s + 1))
+ if (*str == *s && !memcmp (str + 1, s + 1, len - 1))
return s;
}
}
diff --git a/tests/objc.exp b/tests/objc.exp
index 3272b3a..abf2e08 100644
--- a/tests/objc.exp
+++ b/tests/objc.exp
@@ -1,4 +1,4 @@
-/* C code produced by gperf version 2.7 */
+/* C code produced by gperf version 2.7.2 */
/* Command-line: ../src/gperf -p -j1 -i 1 -g -o -t -N is_reserved_word -k'1,3,$' */
/* Command-line: gperf -p -j1 -i 1 -g -o -t -N is_reserved_word -k1,3,$ objc.gperf */
struct resword { char *name; short token; enum rid rid; };
@@ -12,6 +12,10 @@ struct resword { char *name; short token; enum rid rid; };
#ifdef __GNUC__
__inline
+#else
+#ifdef __cplusplus
+inline
+#endif
#endif
static unsigned int
hash (str, len)
diff --git a/tests/test-4.exp b/tests/test-4.exp
index 865003c..945331c 100644
--- a/tests/test-4.exp
+++ b/tests/test-4.exp
@@ -1,4 +1,4 @@
-/* C code produced by gperf version 2.7 */
+/* C code produced by gperf version 2.7.2 */
/* Command-line: ../src/gperf -D -p -t */
/* Command-line: gperf -L KR-C -F ', 0, 0' -p -j1 -i 1 -g -o -t -N is_reserved_word -k1,3,$ c-parse.gperf */
struct resword { const char *name; short token; enum rid rid; };
@@ -12,6 +12,10 @@ struct resword { const char *name; short token; enum rid rid; };
#ifdef __GNUC__
__inline
+#else
+#ifdef __cplusplus
+inline
+#endif
#endif
static unsigned int
hash (str, len)