OSDN Git Service

* jcf-dump.c (main): Updated for change to jcf_path_seal.
[pf3gnuchains/gcc-fork.git] / gcc / java / keyword.gperf
1 %{
2 /* Keyword definition for the GNU compiler for the Java(TM) language.
3    Copyright (C) 1997, 1998 Free Software Foundation, Inc.
4    Contributed by Alexandre Petit-Bianco (apbianco@cygnus.com)
5
6 This file is part of GNU CC.
7
8 GNU CC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12
13 GNU CC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GNU CC; see the file COPYING.  If not, write to
20 the Free Software Foundation, 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA.
22
23 Java and all Java-based marks are trademarks or registered trademarks
24 of Sun Microsystems, Inc. in the United States and other countries.
25 The Free Software Foundation is independent of Sun Microsystems, Inc.  */
26
27 %}
28 struct java_keyword { const char *name; int token; };
29 #ifdef __GNUC__
30 __inline
31 #endif
32 static unsigned int hash                PARAMS ((const char *, unsigned int));
33 #ifdef __GNUC__
34 __inline
35 #endif
36 struct java_keyword *java_keyword       PARAMS ((const char *, unsigned int));
37 %%
38 abstract, ABSTRACT_TK
39 default, DEFAULT_TK
40 if, IF_TK
41 private, PRIVATE_TK
42 throw, THROW_TK
43 boolean, BOOLEAN_TK
44 do, DO_TK
45 implements, IMPLEMENTS_TK
46 protected, PROTECTED_TK
47 throws, THROWS_TK
48 break, BREAK_TK
49 double, DOUBLE_TK
50 import, IMPORT_TK
51 public, PUBLIC_TK
52 transient, TRANSIENT_TK
53 byte, BYTE_TK
54 else, ELSE_TK
55 instanceof, INSTANCEOF_TK
56 return, RETURN_TK
57 try, TRY_TK
58 case, CASE_TK
59 extends, EXTENDS_TK
60 int, INT_TK
61 short, SHORT_TK
62 void, VOID_TK
63 catch, CATCH_TK
64 final, FINAL_TK
65 interface, INTERFACE_TK
66 static, STATIC_TK
67 volatile, VOLATILE_TK
68 char, CHAR_TK
69 finally, FINALLY_TK
70 long, LONG_TK
71 super, SUPER_TK
72 while, WHILE_TK
73 class, CLASS_TK
74 float, FLOAT_TK
75 native, NATIVE_TK
76 switch, SWITCH_TK
77 const, CONST_TK
78 for, FOR_TK
79 new, NEW_TK
80 synchronized, SYNCHRONIZED_TK
81 continue, CONTINUE_TK
82 goto, GOTO_TK
83 package, PACKAGE_TK
84 this, THIS_TK
85 strictfp, STRICT_TK
86 # true, false and null aren't keyword. But we match them easily this way
87 true, TRUE_TK
88 false, FALSE_TK
89 null, NULL_TK