version 1.5, 2001/04/20 02:34:24 |
version 1.17, 2018/03/29 01:32:54 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/parse/kwd.c,v 1.4 2000/12/06 01:27:16 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/kwd.c,v 1.16 2015/08/14 13:51:56 fujimoto Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
#if defined(VISUAL) |
#if defined(VISUAL) || defined(__MINGW32__) |
#include "ytab.h" |
#include "ytab.h" |
#else |
#else |
#include "y.tab.h" |
#include "y.tab.h" |
#endif |
#endif |
|
|
struct oTKWD kwd[] = { |
struct oTKWD kwd[] = { |
{"for",FOR}, |
{"for",FOR}, |
{"while",WHILE}, |
{"while",WHILE}, |
{"do",DO}, |
{"do",DO}, |
{"if",IF}, |
{"if",IF}, |
{"else",ELSE}, |
{"else",ELSE}, |
{"break",BREAK}, |
{"break",BREAK}, |
{"continue",CONTINUE}, |
{"continue",CONTINUE}, |
{"return",RETURN}, |
{"return",RETURN}, |
{"def",FDEF}, |
{"def",FDEF}, |
{"pfdef",PFDEF}, |
{"function",PFDEF}, |
{"global",GLOBAL}, |
{"module",MODDEF}, |
{"extern",GLOBAL}, |
{"endmodule",MODEND}, |
{"struct",STRUCT}, |
{"global",GLOBAL}, |
{"newstruct",NEWSTRUCT}, |
{"extern",GLOBAL}, |
{"car",CAR}, |
{"static",MGLOBAL}, |
{"cdr",CDR}, |
{"local",LOCAL}, |
{"pari",PARIF}, |
{"localf",LOCALF}, |
{"map",MAP}, |
{"struct",STRUCT}, |
{"getopt",GETOPT}, |
{"newstruct",NEWSTRUCT}, |
{"timer",TIMER}, |
{"car",CAR}, |
{"quote",QUOTED}, |
{"cdr",CDR}, |
{0,0} |
{"pari",PARIF}, |
|
{"map",MAP}, |
|
{"recmap",RECMAP}, |
|
{"getopt",GETOPT}, |
|
{"timer",TIMER}, |
|
{"quote",QUOTED}, |
|
{0,0} |
}; |
}; |