~ifolder-dev/simias/trunk-packaging

« back to all changes in this revision

Viewing changes to tools/gsoap/win32-2.7/src/.svn/text-base/init2.c.svn-base

  • Committer: Jorge O. Castro
  • Date: 2007-12-03 06:56:46 UTC
  • Revision ID: jorge@ubuntu.com-20071203065646-mupcnjcwgm5mnhyt
* Remove a bunch of .svn directories we no longer need.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 
3
 
init2.c
4
 
 
5
 
Symbol table initialization.
6
 
 
7
 
gSOAP XML Web services tools
8
 
Copyright (C) 2004, Robert van Engelen, Genivia, Inc. All Rights Reserved.
9
 
 
10
 
--------------------------------------------------------------------------------
11
 
gSOAP public license.
12
 
 
13
 
The contents of this file are subject to the gSOAP Public License Version 1.3
14
 
(the "License"); you may not use this file except in compliance with the
15
 
License. You may obtain a copy of the License at
16
 
http://www.cs.fsu.edu/~engelen/soaplicense.html
17
 
Software distributed under the License is distributed on an "AS IS" basis,
18
 
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
19
 
for the specific language governing rights and limitations under the License.
20
 
 
21
 
The Initial Developer of the Original Code is Robert A. van Engelen.
22
 
Copyright (C) 2000-2004 Robert A. van Engelen, Genivia inc. All Rights Reserved.
23
 
--------------------------------------------------------------------------------
24
 
GPL license.
25
 
 
26
 
This program is free software; you can redistribute it and/or modify it under
27
 
the terms of the GNU General Public License as published by the Free Software
28
 
Foundation; either version 2 of the License, or (at your option) any later
29
 
version.
30
 
 
31
 
This program is distributed in the hope that it will be useful, but WITHOUT ANY
32
 
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
33
 
PARTICULAR PURPOSE. See the GNU General Public License for more details.
34
 
 
35
 
You should have received a copy of the GNU General Public License along with
36
 
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
37
 
Place, Suite 330, Boston, MA 02111-1307 USA
38
 
 
39
 
Author contact information:
40
 
engelen@genivia.com / engelen@acm.org
41
 
--------------------------------------------------------------------------------
42
 
*/
43
 
 
44
 
#include "soapcpp2.h"
45
 
#include "soapcpp2_yacc.h"
46
 
 
47
 
typedef struct Keyword
48
 
{ char *s;      /* name */
49
 
  Token t;      /* token */
50
 
} Keyword;
51
 
 
52
 
static Keyword keywords[] =
53
 
{       "auto",         AUTO,
54
 
        "bool",         BOOL,
55
 
        "break",        BREAK,
56
 
        "case",         CASE,
57
 
        "char",         CHAR,
58
 
        "class",        CLASS,
59
 
        "const",        CONST,
60
 
        "continue",     CONTINUE,
61
 
        "default",      DEFAULT,
62
 
        "do",           DO,
63
 
        "double",       DOUBLE,
64
 
        "else",         ELSE,
65
 
        "enum",         ENUM,
66
 
        "explicit",     EXPLICIT,
67
 
        "extern",       EXTERN,
68
 
        "false",        CFALSE,
69
 
        "float",        FLOAT,
70
 
        "for",          FOR,
71
 
        "friend",       FRIEND,
72
 
        "goto",         GOTO,
73
 
        "if",           IF,
74
 
        "inline",       INLINE,
75
 
        "int",          INT,
76
 
        "long",         LONG,
77
 
        "LONG64",       LLONG,
78
 
        "namespace",    NAMESPACE,
79
 
        "NULL",         null,
80
 
        "operator",     OPERATOR,
81
 
        "private",      PRIVATE,
82
 
        "protected",    PROTECTED,
83
 
        "public",       PUBLIC,
84
 
        "register",     REGISTER,
85
 
        "restrict",     RESTRICT,
86
 
        "return",       RETURN,
87
 
        "short",        SHORT,
88
 
        "signed",       SIGNED,
89
 
        "size_t",       SIZE,
90
 
        "sizeof",       SIZEOF,
91
 
        "static",       STATIC,
92
 
        "struct",       STRUCT,
93
 
        "switch",       SWITCH,
94
 
        "template",     TEMPLATE,
95
 
        "time_t",       TIME,
96
 
        "true",         CTRUE,
97
 
        "typename",     TYPENAME,
98
 
        "typedef",      TYPEDEF,
99
 
        "ULONG64",      ULLONG,
100
 
        "union",        UNION,
101
 
        "unsigned",     UNSIGNED,
102
 
        "using",        USING,
103
 
        "virtual",      VIRTUAL,
104
 
        "void",         VOID,
105
 
        "volatile",     VOLATILE,
106
 
        "wchar_t",      WCHAR,
107
 
        "while",        WHILE,
108
 
 
109
 
        "operator!",    NONE,
110
 
        "operator~",    NONE,
111
 
        "operator=",    NONE,
112
 
        "operator+=",   NONE,
113
 
        "operator-=",   NONE,
114
 
        "operator*=",   NONE,
115
 
        "operator/=",   NONE,
116
 
        "operator%=",   NONE,
117
 
        "operator&=",   NONE,
118
 
        "operator^=",   NONE,
119
 
        "operator|=",   NONE,
120
 
        "operator<<=",  NONE,
121
 
        "operator>>=",  NONE,
122
 
        "operator||",   NONE,
123
 
        "operator&&",   NONE,
124
 
        "operator|",    NONE,
125
 
        "operator^",    NONE,
126
 
        "operator&",    NONE,
127
 
        "operator==",   NONE,
128
 
        "operator!=",   NONE,
129
 
        "operator<",    NONE,
130
 
        "operator<=",   NONE,
131
 
        "operator>",    NONE,
132
 
        "operator>=",   NONE,
133
 
        "operator<<",   NONE,
134
 
        "operator>>",   NONE,
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
 
 
145
 
        "mustUnderstand",       MUSTUNDERSTAND,
146
 
 
147
 
        "SOAP_ENV__Header",     ID,
148
 
        "dummy",                ID,
149
 
        "soap_header",          ID,
150
 
 
151
 
        "SOAP_ENV__Fault",      ID,
152
 
        "SOAP_ENV__Code",       ID,
153
 
        "SOAP_ENV__Reason",     ID,
154
 
        "SOAP_ENV__Detail",     ID,
155
 
        "SOAP_ENV__Value",      ID,
156
 
        "SOAP_ENV__Node",       ID,
157
 
        "SOAP_ENV__Role",       ID,
158
 
        "faultcode",            ID,
159
 
        "faultstring",          ID,
160
 
        "faultactor",           ID,
161
 
        "detail",               ID,
162
 
        "__type",               ID,
163
 
        "fault",                ID,
164
 
        "__any",                ID,
165
 
 
166
 
        "_QName",               TYPE,
167
 
        "_XML",                 TYPE,
168
 
        "std::string",          TYPE,
169
 
        "std::wstring",         TYPE,
170
 
 
171
 
        "/*?*/",                NONE,
172
 
 
173
 
        0,                      0
174
 
};
175
 
 
176
 
/*
177
 
init - initialize symbol table with predefined keywords
178
 
*/
179
 
init()
180
 
{ struct Keyword *k;
181
 
  for (k = keywords; k->s; k++)
182
 
    install(k->s, k->t);
183
 
}