5
Symbol table initialization.
7
gSOAP XML Web services tools
8
Copyright (C) 2000-2005, Robert van Engelen, Genivia Inc. All Rights Reserved.
9
This part of the software is released under one of the following licenses:
10
GPL, the gSOAP public license, or Genivia's license for commercial use.
11
--------------------------------------------------------------------------------
14
The contents of this file are subject to the gSOAP Public License Version 1.3
15
(the "License"); you may not use this file except in compliance with the
16
License. You may obtain a copy of the License at
17
http://www.cs.fsu.edu/~engelen/soaplicense.html
18
Software distributed under the License is distributed on an "AS IS" basis,
19
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
20
for the specific language governing rights and limitations under the License.
22
The Initial Developer of the Original Code is Robert A. van Engelen.
23
Copyright (C) 2000-2004 Robert A. van Engelen, Genivia inc. All Rights Reserved.
24
--------------------------------------------------------------------------------
27
This program is free software; you can redistribute it and/or modify it under
28
the terms of the GNU General Public License as published by the Free Software
29
Foundation; either version 2 of the License, or (at your option) any later
32
This program is distributed in the hope that it will be useful, but WITHOUT ANY
33
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
34
PARTICULAR PURPOSE. See the GNU General Public License for more details.
36
You should have received a copy of the GNU General Public License along with
37
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
38
Place, Suite 330, Boston, MA 02111-1307 USA
40
Author contact information:
41
engelen@genivia.com / engelen@acm.org
42
--------------------------------------------------------------------------------
43
A commercial use license is available from Genivia, Inc., contact@genivia.com
44
--------------------------------------------------------------------------------
50
#include "soapcpp2_yacc.h"
52
#include "soapcpp2_yacc.tab.h"
55
typedef struct Keyword
60
static Keyword keywords[] =
70
{ "const_cast", NONE },
71
{ "continue", CONTINUE },
72
{ "default", DEFAULT },
76
{ "dynamic_cast", NONE },
80
{ "explicit", EXPLICIT },
98
{ "namespace", NAMESPACE },
101
{ "operator", OPERATOR },
102
{ "private", PRIVATE },
103
{ "protected", PROTECTED },
104
{ "public", PUBLIC },
105
{ "register", REGISTER },
106
{ "reinterpret_cast", NONE },
107
{ "restrict", NONE },
108
{ "return", RETURN },
110
{ "signed", SIGNED },
112
{ "sizeof", SIZEOF },
113
{ "static", STATIC },
114
{ "static_cast", NONE },
115
{ "struct", STRUCT },
116
{ "switch", SWITCH },
117
{ "template", TEMPLATE },
122
{ "typedef", TYPEDEF },
124
{ "typename", TYPENAME },
125
{ "ULONG64", ULLONG },
127
{ "unsigned", UNSIGNED },
129
{ "virtual", VIRTUAL },
131
{ "volatile", VOLATILE },
132
{ "wchar_t", WCHAR },
135
{ "operator!", NONE },
136
{ "operator~", NONE },
137
{ "operator=", NONE },
138
{ "operator+=", NONE },
139
{ "operator-=", NONE },
140
{ "operator*=", NONE },
141
{ "operator/=", NONE },
142
{ "operator%=", NONE },
143
{ "operator&=", NONE },
144
{ "operator^=", NONE },
145
{ "operator|=", NONE },
146
{ "operator<<=", NONE },
147
{ "operator>>=", NONE },
148
{ "operator||", NONE },
149
{ "operator&&", NONE },
150
{ "operator|", NONE },
151
{ "operator^", NONE },
152
{ "operator&", NONE },
153
{ "operator==", NONE },
154
{ "operator!=", NONE },
155
{ "operator<", NONE },
156
{ "operator<=", NONE },
157
{ "operator>", NONE },
158
{ "operator>=", NONE },
159
{ "operator<<", NONE },
160
{ "operator>>", NONE },
161
{ "operator+", NONE },
162
{ "operator-", NONE },
163
{ "operator*", NONE },
164
{ "operator/", NONE },
165
{ "operator%", NONE },
166
{ "operator++", NONE },
167
{ "operator--", NONE },
168
{ "operator->", NONE },
169
{ "operator[]", NONE },
170
{ "operator()", NONE },
172
{ "mustUnderstand", MUSTUNDERSTAND },
174
{ "SOAP_ENV__Header", ID },
176
{ "soap_header", ID },
178
{ "SOAP_ENV__Fault", ID },
179
{ "SOAP_ENV__Code", ID },
180
{ "SOAP_ENV__Subcode", ID },
181
{ "SOAP_ENV__Reason", ID },
182
{ "SOAP_ENV__Text", ID },
183
{ "SOAP_ENV__Detail", ID },
184
{ "SOAP_ENV__Value", ID },
185
{ "SOAP_ENV__Node", ID },
186
{ "SOAP_ENV__Role", ID },
188
{ "faultstring", ID },
189
{ "faultactor", ID },
197
{ "std::string", TYPE },
198
{ "std::wstring", TYPE },
206
init - initialize symbol table with predefined keywords
210
for (k = keywords; k->s; k++)