[BACK]Return to simple.tab.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / k097

File: [local] / OpenXM / src / k097 / Attic / simple.tab.c (download)

Revision 1.5, Tue Jan 30 08:35:12 2001 UTC (23 years, 3 months ago) by takayama
Branch: MAIN
CVS Tags: R_1_3_1-2, RELEASE_1_3_1_13b, RELEASE_1_2_3_12, RELEASE_1_2_2_KNOPPIX_b, RELEASE_1_2_2_KNOPPIX, RELEASE_1_2_2, RELEASE_1_2_1, KNOPPIX_2006, HEAD, DEB_REL_1_2_3-9
Changes since 1.4: +252 -260 lines

Grammer change:  local ; will be accepted.

/*  A Bison parser, made from simple.y
    by GNU Bison version 1.28  */

#define YYBISON 1  /* Identify Bison output.  */

#define yyparse KCparse
#define yylex KClex
#define yyerror KCerror
#define yylval KClval
#define yychar KCchar
#define yydebug KCdebug
#define yynerrs KCnerrs
#define	ID	257
#define	QUOTE	258
#define	SINGLEQUOTE	259
#define	NUMBER	260
#define	CLASS	261
#define	SUPER	262
#define	OPERATOR	263
#define	FINAL	264
#define	EXTENDS	265
#define	INCETANCEVARIABLE	266
#define	THIS	267
#define	NEW	268
#define	SIZEOFTHISCLASS	269
#define	STARTOFTHISCLASS	270
#define	MODULE	271
#define	PRINT	272
#define	LOCAL	273
#define	DEF	274
#define	SM1	275
#define	LOAD	276
#define	TEST	277
#define	SPECIAL	278
#define	AUTO	279
#define	BREAK	280
#define	CASE	281
#define	CHAR	282
#define	CONST	283
#define	CONTINUE	284
#define	DEFAULT	285
#define	DO	286
#define	DOUBLE	287
#define	ELSE	288
#define	ENUM	289
#define	EXTERN	290
#define	FLOAT	291
#define	FOR	292
#define	GOTO	293
#define	IF	294
#define	INT	295
#define	LONG	296
#define	REGISTER	297
#define	RETURN	298
#define	SHORT	299
#define	SIGNED	300
#define	SIZEOF	301
#define	STATIC	302
#define	STRUCT	303
#define	SWITCH	304
#define	TYPEDEF	305
#define	UNION	306
#define	UNSIGNED	307
#define	VOLATILE	308
#define	VOID	309
#define	WHILE	310
#define	PSFOR	311
#define	PROMPT	312
#define	PUT	313
#define	MULTPUT	314
#define	NEGATEPUT	315
#define	RESIDUEPUT	316
#define	OR	317
#define	AND	318
#define	EQUAL	319
#define	NOTEQUAL	320
#define	LESSEQUAL	321
#define	GREATEREQUAL	322
#define	LEFTSHIFT	323
#define	RIGHTSHIFT	324
#define	UNARYMINUS	325
#define	INCREMENT	326
#define	DECREMENT	327
#define	MEMBER	328

#line 4 "simple.y"

#include <stdio.h>
#include "d.h"
#ifndef YYSTYPE
#define YYSTYPE int
#endif
#include <stdio.h>

#ifndef __cplusplus
#ifndef __STDC__
#define const
#endif
#endif



#define	YYFINAL		304
#define	YYFLAG		-32768
#define	YYNTBASE	98

#define YYTRANSLATE(x) ((unsigned)(x) <= 328 ? yytranslate[x] : 159)

static const char yytranslate[] = {     0,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,    82,     2,     2,     2,    80,    67,     2,    96,
    97,    78,    76,    91,    77,    87,    79,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,    90,    89,    70,
    59,    71,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
    92,     2,    93,    86,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,    94,    66,    95,    85,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,     2,     2,     2,
     2,     2,     2,     2,     2,     1,     3,     4,     5,     6,
     7,     8,     9,    10,    11,    12,    13,    14,    15,    16,
    17,    18,    19,    20,    21,    22,    23,    24,    25,    26,
    27,    28,    29,    30,    31,    32,    33,    34,    35,    36,
    37,    38,    39,    40,    41,    42,    43,    44,    45,    46,
    47,    48,    49,    50,    51,    52,    53,    54,    55,    56,
    57,    58,    60,    61,    62,    63,    64,    65,    68,    69,
    72,    73,    74,    75,    81,    83,    84,    88
};

#if YYDEBUG != 0
static const short yyprhs[] = {     0,
     0,     2,     5,     7,     9,    11,    13,    15,    17,    20,
    23,    25,    27,    30,    33,    36,    38,    40,    42,    44,
    46,    49,    52,    55,    57,    61,    63,    66,    68,    70,
    72,    75,    79,    82,    86,    91,    93,    95,    98,   103,
   108,   113,   117,   120,   122,   124,   129,   133,   136,   137,
   152,   155,   158,   162,   165,   168,   173,   178,   183,   188,
   191,   194,   199,   200,   204,   206,   210,   212,   214,   216,
   218,   220,   222,   226,   228,   230,   232,   234,   236,   238,
   240,   242,   244,   247,   251,   254,   258,   260,   263,   267,
   272,   276,   281,   285,   289,   293,   297,   299,   303,   307,
   309,   311,   315,   316,   318,   322,   326,   328,   331,   333,
   337,   341,   345,   347,   349,   352,   355,   358,   362,   366,
   370,   374,   378,   382,   386,   390,   394,   398,   402,   406,
   410,   414,   418,   422,   426,   430,   434,   437,   440,   444,
   448,   452,   456,   460,   464,   468,   472,   474,   476,   481,
   486,   490,   493,   496,   501,   507,   511,   514,   518,   520,
   524,   526,   531
};

static const short yyrhs[] = {    99,
     0,   100,    99,     0,   100,     0,   116,     0,   119,     0,
   122,     0,   111,     0,   135,     0,   147,    89,     0,   147,
    90,     0,    89,     0,   152,     0,     1,    89,     0,    58,
    89,     0,   102,   101,     0,   102,     0,   116,     0,   119,
     0,   122,     0,   111,     0,   147,    89,     0,   104,    89,
     0,   105,    89,     0,    89,     0,   147,    91,   103,     0,
   147,     0,    44,   147,     0,    44,     0,    26,     0,    92,
     0,   106,    93,     0,   106,   103,    93,     0,    94,    95,
     0,    94,   101,    95,     0,    40,    96,   147,    97,     0,
   102,     0,   108,     0,   109,   110,     0,   109,   110,    34,
   102,     0,   109,   110,    34,   108,     0,    38,    96,   147,
    89,     0,    38,    96,    89,     0,   147,    89,     0,    89,
     0,   147,     0,   112,   113,   114,    97,     0,   112,   113,
    97,     0,   115,   108,     0,     0,    57,    96,     3,    59,
   147,    89,   118,     3,    70,   147,    89,     3,    83,    97,
     0,   117,   108,     0,    56,    96,     0,   120,   147,    97,
     0,   120,    97,     0,   121,   108,     0,    18,    96,   147,
    97,     0,    21,    96,   126,    97,     0,    22,    96,     4,
    97,     0,    22,    96,     3,    97,     0,    22,     3,     0,
    22,     4,     0,    22,    92,     4,    93,     0,     0,   126,
    91,     4,     0,     4,     0,   126,    91,     3,     0,     3,
     0,     3,     0,     4,     0,     5,     0,     6,     0,    13,
     0,    96,   147,    97,     0,   129,     0,   107,     0,   123,
     0,   124,     0,   125,     0,   148,     0,   149,     0,   146,
     0,   141,     0,     3,    96,     0,   128,   103,    97,     0,
   128,    97,     0,   130,    91,     3,     0,     3,     0,    20,
     3,     0,    20,    55,     3,     0,    96,   130,    97,    94,
     0,    96,    97,    94,     0,   137,   140,   101,    95,     0,
   140,   101,    95,     0,   131,   133,   134,     0,   156,   133,
   134,     0,   132,   133,   134,     0,    19,     0,   136,   130,
    89,     0,   138,    91,     3,     0,     3,     0,    36,     0,
   139,   138,    89,     0,     0,   142,     0,   144,   143,    93,
     0,   147,    91,   143,     0,   147,     0,     3,    92,     0,
     3,     0,   145,    59,   147,     0,   142,    59,   147,     0,
    13,    59,   147,     0,   127,     0,   158,     0,    82,   147,
     0,    85,   147,     0,    77,   147,     0,   147,    76,   147,
     0,   147,    77,   147,     0,   147,    78,   147,     0,   147,
    79,   147,     0,   147,    80,   147,     0,   147,    86,   147,
     0,   147,    67,   147,     0,   147,    66,   147,     0,   147,
    68,   147,     0,   147,    70,   147,     0,   147,    71,   147,
     0,   147,    72,   147,     0,   147,    74,   147,     0,   147,
    73,   147,     0,   147,    75,   147,     0,   147,    65,   147,
     0,   147,    64,   147,     0,   147,    69,   147,     0,   147,
    60,   147,     0,   145,    83,     0,   145,    84,     0,   147,
    88,   147,     0,   147,    87,   150,     0,   147,    87,     3,
     0,   157,    87,   150,     0,     6,    87,     6,     0,   147,
    63,   147,     0,   147,    62,   147,     0,   147,    61,   147,
     0,    15,     0,    16,     0,    23,    96,   147,    97,     0,
    24,    96,   107,    97,     0,   151,   103,    97,     0,   151,
    97,     0,     3,    96,     0,   153,   154,    99,    95,     0,
     7,     3,    11,     3,    94,     0,    19,   155,    89,     0,
    19,    89,     0,   155,    91,     3,     0,     3,     0,    20,
     9,     3,     0,     8,     0,    14,    96,   147,    97,     0,
    14,    96,    97,     0
};

#endif

#if YYDEBUG != 0
static const short yyrline[] = { 0,
    42,    46,    48,    52,    54,    55,    56,    57,    58,    59,
    60,    61,    62,    63,    67,    69,    73,    75,    76,    77,
    78,    79,    80,    81,    85,    86,    90,    92,    95,    98,
   102,   103,   107,   108,   112,   115,   116,   119,   121,   122,
   127,   128,   131,   132,   135,   139,   141,   145,   150,   154,
   163,   168,   172,   173,   177,   182,   185,   189,   191,   192,
   193,   194,   196,   197,   198,   199,   200,   204,   212,   213,
   214,   215,   216,   217,   218,   219,   220,   221,   222,   223,
   224,   225,   229,   238,   241,   246,   247,   251,   260,   269,
   272,   278,   281,   286,   290,   294,   301,   305,   310,   312,
   316,   320,   322,   325,   328,   331,   333,   335,   348,   351,
   360,   361,   365,   366,   367,   368,   369,   370,   371,   372,
   373,   374,   375,   376,   377,   378,   379,   380,   381,   382,
   383,   384,   385,   386,   387,   388,   389,   393,   397,   398,
   399,   400,   401,   406,   407,   408,   409,   416,   424,   435,
   443,   446,   451,   457,   466,   484,   488,   494,   498,   504,
   514,   518,   527
};
#endif


#if YYDEBUG != 0 || defined (YYERROR_VERBOSE)

static const char * const yytname[] = {   "$","error","$undefined.","ID","QUOTE",
"SINGLEQUOTE","NUMBER","CLASS","SUPER","OPERATOR","FINAL","EXTENDS","INCETANCEVARIABLE",
"THIS","NEW","SIZEOFTHISCLASS","STARTOFTHISCLASS","MODULE","PRINT","LOCAL","DEF",
"SM1","LOAD","TEST","SPECIAL","AUTO","BREAK","CASE","CHAR","CONST","CONTINUE",
"DEFAULT","DO","DOUBLE","ELSE","ENUM","EXTERN","FLOAT","FOR","GOTO","IF","INT",
"LONG","REGISTER","RETURN","SHORT","SIGNED","SIZEOF","STATIC","STRUCT","SWITCH",
"TYPEDEF","UNION","UNSIGNED","VOLATILE","VOID","WHILE","PSFOR","PROMPT","'='",
"PUT","MULTPUT","NEGATEPUT","RESIDUEPUT","OR","AND","'|'","'&'","EQUAL","NOTEQUAL",
"'<'","'>'","LESSEQUAL","GREATEREQUAL","LEFTSHIFT","RIGHTSHIFT","'+'","'-'",
"'*'","'/'","'%'","UNARYMINUS","'!'","INCREMENT","DECREMENT","'~'","'^'","'.'",
"MEMBER","';'","':'","','","'['","']'","'{'","'}'","'('","')'","program","globalstatements",
"sentence","statements","localsentence","argList","return","break","list_prefix",
"list","curryBrace","if_prefix","if_body","if","for_prefix0","for_exit","for_inc",
"for_prefix","for","PSfor_prefix","@1","PSfor","while_prefix0","while_prefix",
"while","print","sm1","load","sm1ArgList","primitive","functionCall_prefix",
"functionCall","idList","functionHead","voidfunctionHead","functionArg","functionBody",
"functionDefinition","declaration_prefix","declaration","extern_idList","extern_declaration_prefix",
"extern_declaration","arrayValue","array","arrayIndex","array_prefix","id_set",
"set","exp","test","special","member_functionCall","member_functionCall_prefix",
"class_definition","class_definition_prefix","incetance_variables","incetance_variables_list",
"operatorfunctionHead","super","new", NULL
};
#endif

static const short yyr1[] = {     0,
    98,    99,    99,   100,   100,   100,   100,   100,   100,   100,
   100,   100,   100,   100,   101,   101,   102,   102,   102,   102,
   102,   102,   102,   102,   103,   103,   104,   104,   105,   106,
   107,   107,   108,   108,   109,   110,   110,   111,   111,   111,
   112,   112,   113,   113,   114,   115,   115,   116,   118,   117,
   119,   120,   121,   121,   122,   123,   124,   125,   125,   125,
   125,   125,   126,   126,   126,   126,   126,   127,   127,   127,
   127,   127,   127,   127,   127,   127,   127,   127,   127,   127,
   127,   127,   128,   129,   129,   130,   130,   131,   132,   133,
   133,   134,   134,   135,   135,   135,   136,   137,   138,   138,
   139,   140,   140,   141,   142,   143,   143,   144,   145,   146,
   146,   146,   147,   147,   147,   147,   147,   147,   147,   147,
   147,   147,   147,   147,   147,   147,   147,   147,   147,   147,
   147,   147,   147,   147,   147,   147,   147,   147,   147,   147,
   147,   147,   147,   147,   147,   147,   147,   147,   148,   149,
   150,   150,   151,   152,   153,   154,   154,   155,   155,   156,
   157,   158,   158
};

static const short yyr2[] = {     0,
     1,     2,     1,     1,     1,     1,     1,     1,     2,     2,
     1,     1,     2,     2,     2,     1,     1,     1,     1,     1,
     2,     2,     2,     1,     3,     1,     2,     1,     1,     1,
     2,     3,     2,     3,     4,     1,     1,     2,     4,     4,
     4,     3,     2,     1,     1,     4,     3,     2,     0,    14,
     2,     2,     3,     2,     2,     4,     4,     4,     4,     2,
     2,     4,     0,     3,     1,     3,     1,     1,     1,     1,
     1,     1,     3,     1,     1,     1,     1,     1,     1,     1,
     1,     1,     2,     3,     2,     3,     1,     2,     3,     4,
     3,     4,     3,     3,     3,     3,     1,     3,     3,     1,
     1,     3,     0,     1,     3,     3,     1,     2,     1,     3,
     3,     3,     1,     1,     2,     2,     2,     3,     3,     3,
     3,     3,     3,     3,     3,     3,     3,     3,     3,     3,
     3,     3,     3,     3,     3,     3,     2,     2,     3,     3,
     3,     3,     3,     3,     3,     3,     1,     1,     4,     4,
     3,     2,     2,     4,     5,     3,     2,     3,     1,     3,
     1,     4,     3
};

static const short yydefact[] = {     0,
     0,    68,    69,    70,    71,     0,   161,    72,     0,   147,
   148,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,    11,    30,     0,     1,     0,
     0,    75,     0,     7,     0,     0,     4,     0,     5,     0,
     0,     6,    76,    77,    78,   113,     0,    74,     0,     0,
     8,    82,   104,     0,     0,    81,     0,    79,    80,    12,
     0,     0,     0,   114,    13,   108,    83,     0,     0,     0,
     0,     0,    88,     0,     0,    63,    60,    61,     0,     0,
     0,     0,     0,     0,    52,     0,    14,   117,   115,   116,
     0,     2,    31,     0,    26,    29,    28,    24,     0,    36,
     0,     0,    37,    38,    20,    17,    18,    19,     0,    44,
     0,     0,    48,    51,    54,     0,    55,    85,     0,     0,
   103,   103,     0,     0,   107,     0,   137,   138,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     9,    10,     0,     0,   103,     0,   143,     0,
   112,   163,     0,     0,   160,    89,    67,    65,     0,     0,
     0,     0,     0,     0,    42,     0,     0,     0,    73,    32,
     0,    27,    33,     0,    16,    22,    23,     0,    21,    47,
     0,    45,    43,    53,    84,    87,     0,     0,    97,   101,
    94,     0,   103,     0,     0,    96,   111,   105,     0,   110,
   136,   146,   145,   144,   134,   133,   125,   124,   126,   135,
   127,   128,   129,   131,   130,   132,   118,   119,   120,   121,
   122,   123,   141,   140,     0,   139,   159,   157,     0,     0,
    95,     0,   142,     0,   162,    56,     0,    57,    62,    59,
    58,   149,   150,    41,    35,     0,    25,    34,    15,    39,
    40,    46,    91,     0,     0,     0,     0,   100,     0,     0,
   106,   153,   152,     0,   156,     0,   154,   155,    66,    64,
     0,    86,    90,    98,     0,   102,     0,    93,   151,   158,
    49,    92,    99,     0,     0,     0,     0,     0,     0,     0,
    50,     0,     0,     0
};

static const short yydefgoto[] = {   302,
    29,    30,   184,   185,    94,   101,   102,    31,    32,   103,
    33,   104,   105,    35,   111,   191,    36,   106,    38,   294,
   107,    40,    41,   108,    43,    44,    45,   169,    46,    47,
    48,   198,    49,    50,   121,   201,    51,   202,   203,   269,
   204,   205,    52,    53,   124,    54,    55,    56,   109,    58,
    59,   234,   235,    60,    61,   156,   239,    62,    63,    64
};

static const short yypact[] = {   266,
   -73,   -41,-32768,-32768,   -68,    24,-32768,   -22,   -55,-32768,
-32768,   -46,    12,   -27,    10,    -3,    -2,     7,    14,    16,
    17,    15,   838,   838,   838,-32768,-32768,   838,-32768,   170,
   695,-32768,   510,-32768,   744,   -36,-32768,   -36,-32768,   216,
   -36,-32768,-32768,-32768,-32768,-32768,   312,-32768,    18,    18,
-32768,-32768,    36,   838,   -39,-32768,  1129,-32768,-32768,-32768,
    46,    18,    28,-32768,-32768,-32768,-32768,    90,   105,   838,
   360,   838,-32768,   114,   115,    45,-32768,-32768,   116,    60,
   838,    27,   789,   838,-32768,   118,-32768,    21,   -26,   -26,
   830,-32768,-32768,    29,  1065,-32768,   838,-32768,   556,-32768,
    35,    39,-32768,    91,-32768,-32768,-32768,-32768,  1160,-32768,
   397,  1190,-32768,-32768,-32768,   875,-32768,-32768,    56,     8,
    20,    20,   838,    61,  1097,   838,-32768,-32768,   838,   838,
   838,   838,   838,   838,   838,   838,   838,   838,   838,   838,
   838,   838,   838,   838,   838,   838,   838,   838,   838,   838,
   152,   838,-32768,-32768,     9,   266,    20,   158,-32768,   161,
  1310,-32768,   913,   951,-32768,-32768,-32768,-32768,   -45,    72,
    69,    70,   989,    71,-32768,  1220,  1027,   110,-32768,-32768,
   838,  1310,-32768,    77,   650,-32768,-32768,   510,-32768,-32768,
    82,  1310,-32768,-32768,-32768,-32768,    86,   -38,-32768,-32768,
-32768,   179,   151,   186,   650,-32768,  1310,-32768,   838,  1310,
  1310,  1310,  1310,  1310,   549,  1333,  1355,   390,  1374,  1374,
    -1,    -1,    -1,    -1,   465,   465,    21,    21,   -26,   -26,
   -26,   -26,    99,-32768,   425,-32768,-32768,-32768,   -23,   101,
-32768,    99,-32768,   103,-32768,-32768,    85,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,-32768,   838,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,   195,   106,    -9,   650,-32768,     1,   104,
-32768,-32768,-32768,   107,-32768,   198,-32768,-32768,-32768,-32768,
  1250,-32768,-32768,-32768,   108,-32768,   199,-32768,-32768,-32768,
-32768,-32768,-32768,   203,   137,   838,  1280,   208,   129,   117,
-32768,   213,   215,-32768
};

static const short yypgoto[] = {-32768,
   -29,-32768,  -176,   -25,   -30,-32768,-32768,-32768,   134,   -31,
-32768,-32768,     2,-32768,-32768,-32768,-32768,     3,-32768,-32768,
     4,-32768,-32768,     6,-32768,-32768,-32768,-32768,-32768,-32768,
-32768,    23,-32768,-32768,   -24,  -100,-32768,-32768,-32768,-32768,
-32768,    30,-32768,-32768,    32,-32768,-32768,-32768,     0,-32768,
-32768,    59,-32768,-32768,-32768,-32768,-32768,-32768,-32768,-32768
};


#define	YYLAST		1462


static const short yytable[] = {    57,
    92,    34,    37,    39,   113,    42,   114,   100,   259,   117,
   196,   237,    77,    78,    73,    65,   119,  -109,    68,   126,
    74,   206,    88,    89,    90,   122,    69,    91,   270,    57,
    95,    34,    37,    39,   112,    42,    70,   157,   199,   116,
    71,  -109,  -109,   127,   128,   247,    95,   167,   168,    72,
    66,   248,   264,   125,    67,   200,   241,    99,   265,   150,
   151,   152,   171,   172,   155,   275,    75,   276,    76,   161,
   163,   164,   143,   144,   145,   146,   147,   148,   149,   284,
   173,   264,   176,   177,   150,   151,   152,   279,   280,   286,
   285,   287,    81,    82,   123,   159,   182,   238,   147,   148,
   149,    79,    83,    87,   197,    80,   150,   151,   152,    84,
   192,    85,    86,   120,   158,   160,   165,   166,    27,   170,
   178,   180,   207,   186,   188,   210,   240,   187,   211,   212,
   213,   214,   215,   216,   217,   218,   219,   220,   221,   222,
   223,   224,   225,   226,   227,   228,   229,   230,   231,   232,
   257,   236,   195,   208,   233,    57,   261,    34,    37,    39,
   242,    42,   260,   244,   249,   250,   251,   253,   256,    -3,
     1,   258,     2,     3,     4,     5,     6,     7,   262,   263,
    95,   196,     8,     9,    10,    11,   200,    12,   268,    13,
    14,    15,    16,    17,   272,   277,   278,   282,   288,   283,
   290,   293,   292,   289,   274,   295,   296,    18,   125,    19,
   299,   300,   303,   301,   304,   174,   243,     0,     2,     3,
     4,     5,     0,     7,   266,    20,    21,    22,     8,     9,
    10,    11,   267,    12,    95,     0,    14,    15,    16,    17,
   271,     0,     0,     0,     0,     0,    23,     0,     0,     0,
     0,    24,     0,     0,    25,   281,     0,     0,    26,     0,
     0,    27,     0,     0,    -3,    28,     1,     0,     2,     3,
     4,     5,     6,     7,     0,     0,     0,     0,     8,     9,
    10,    11,     0,    12,     0,    13,    14,    15,    16,    17,
     0,     0,    23,     0,     0,   297,     0,    24,     0,     0,
    25,     0,     0,    18,     0,    19,     0,    27,     0,     0,
     0,    28,   115,     0,     2,     3,     4,     5,     0,     7,
     0,    20,    21,    22,     8,     9,    10,    11,     0,    12,
     0,     0,    14,    15,    16,    17,     0,     0,     0,     0,
     0,     0,    23,     0,     0,     0,     0,    24,     0,     0,
    25,     0,     0,     0,    26,     0,     0,    27,     0,     0,
     0,    28,     2,     3,     4,     5,     0,     7,     0,     0,
     0,     0,     8,     9,    10,    11,     0,    12,     0,     0,
    14,    15,    16,    17,     0,     0,     0,     0,    23,     0,
     0,     0,     0,    24,     0,     0,    25,     0,     0,     2,
     3,     4,     5,    27,     7,     0,     0,    28,   118,     8,
     9,    10,    11,     0,    12,     0,     0,    14,    15,    16,
    17,     0,     0,     0,     0,     0,     0,     2,     3,     4,
     5,     0,     7,     0,     0,     0,    23,     8,     9,    10,
    11,    24,    12,     0,    25,    14,    15,    16,    17,     0,
     0,    27,     0,     0,     0,    28,   162,   137,   138,   139,
   140,   141,   142,   143,   144,   145,   146,   147,   148,   149,
     0,     0,     0,    23,     0,   150,   151,   152,    24,     0,
     0,    25,     0,     0,     0,     0,     0,     0,    27,     0,
     0,     0,    28,   190,     0,     0,     0,     0,     0,     0,
     0,    23,     0,     0,     0,     0,    24,     0,     0,    25,
     0,     0,     2,     3,     4,     5,    27,     7,     0,     0,
    28,   273,     8,     9,    10,    11,     0,    12,     0,     0,
    14,    15,    16,    17,     0,    96,     0,     0,     0,     0,
   145,   146,   147,   148,   149,     0,     0,    18,     0,    19,
   150,   151,   152,    97,     0,     0,     0,     0,     2,     3,
     4,     5,     0,     7,     0,    20,    21,     0,     8,     9,
    10,    11,     0,    12,     0,     0,    14,    15,    16,    17,
     0,    96,     0,     0,     0,     0,    23,     0,     0,     0,
     0,    24,     0,    18,    25,    19,     0,     0,    98,    97,
     0,    27,     0,    99,     0,    28,     0,     0,     0,     0,
     0,    20,    21,   134,   135,   136,   137,   138,   139,   140,
   141,   142,   143,   144,   145,   146,   147,   148,   149,     0,
     0,     0,    23,     0,   150,   151,   152,    24,     0,     0,
    25,     0,     0,     0,    98,     0,     0,    27,     0,     0,
   183,    28,     2,     3,     4,     5,     0,     7,     0,     0,
     0,     0,     8,     9,    10,    11,     0,    12,     0,     0,
    14,    15,    16,    17,     0,    96,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,    18,     0,    19,
     0,     0,     0,    97,     0,     0,     0,     2,     3,     4,
     5,     0,     7,     0,     0,    20,    21,     8,     9,    10,
    11,     0,    12,     0,     0,    14,    15,    16,    17,     0,
     0,     0,     0,     0,     0,     0,    23,     0,     0,     0,
     0,    24,     0,     0,    25,     0,     0,     0,    98,     0,
     0,    27,     0,     0,     0,    28,     2,     3,     4,     5,
     0,     7,     0,     0,     0,     0,     8,     9,    10,    11,
     0,    12,     0,     0,    14,    15,    16,    17,     0,     0,
     0,    23,     0,     0,     0,     0,    24,     0,     0,    25,
     0,     0,     0,     0,     0,     0,    27,    93,     0,     0,
    28,     2,     3,     4,     5,     0,     7,     0,     0,     0,
     0,     8,     9,    10,    11,     0,    12,     0,     0,    14,
    15,    16,    17,     0,     0,     0,     0,     0,     0,     0,
    23,     0,     0,     0,     0,    24,     0,     0,    25,     0,
     0,     0,   110,     0,     0,    27,     0,     0,     0,    28,
     2,     3,     4,     5,     0,     7,     0,     0,     0,     0,
     8,     9,    10,    11,     0,    12,     0,     0,    14,    15,
    16,    17,     0,     0,     0,    23,     0,     0,     0,     0,
    24,     0,     0,    25,     0,     0,     0,   175,     0,     0,
    27,     0,     0,     0,    28,     0,     0,     0,     0,   129,
   130,   131,   132,   133,   134,   135,   136,   137,   138,   139,
   140,   141,   142,   143,   144,   145,   146,   147,   148,   149,
     0,     0,     0,     0,    23,   150,   151,   152,     0,    24,
     0,     0,    25,     0,     0,     0,   179,     0,     0,    27,
     0,     0,     0,    28,   129,   130,   131,   132,   133,   134,
   135,   136,   137,   138,   139,   140,   141,   142,   143,   144,
   145,   146,   147,   148,   149,     0,     0,     0,     0,     0,
   150,   151,   152,     0,     0,     0,     0,     0,     0,     0,
     0,   194,   129,   130,   131,   132,   133,   134,   135,   136,
   137,   138,   139,   140,   141,   142,   143,   144,   145,   146,
   147,   148,   149,     0,     0,     0,     0,     0,   150,   151,
   152,     0,     0,     0,     0,     0,     0,     0,     0,   245,
   129,   130,   131,   132,   133,   134,   135,   136,   137,   138,
   139,   140,   141,   142,   143,   144,   145,   146,   147,   148,
   149,     0,     0,     0,     0,     0,   150,   151,   152,     0,
     0,     0,     0,     0,     0,     0,     0,   246,   129,   130,
   131,   132,   133,   134,   135,   136,   137,   138,   139,   140,
   141,   142,   143,   144,   145,   146,   147,   148,   149,     0,
     0,     0,     0,     0,   150,   151,   152,     0,     0,     0,
     0,     0,     0,     0,     0,   252,   129,   130,   131,   132,
   133,   134,   135,   136,   137,   138,   139,   140,   141,   142,
   143,   144,   145,   146,   147,   148,   149,     0,     0,     0,
     0,     0,   150,   151,   152,     0,     0,     0,     0,     0,
     0,     0,     0,   255,   129,   130,   131,   132,   133,   134,
   135,   136,   137,   138,   139,   140,   141,   142,   143,   144,
   145,   146,   147,   148,   149,     0,     0,     0,     0,     0,
   150,   151,   152,     0,     0,   181,   129,   130,   131,   132,
   133,   134,   135,   136,   137,   138,   139,   140,   141,   142,
   143,   144,   145,   146,   147,   148,   149,     0,     0,     0,
     0,     0,   150,   151,   152,     0,     0,   209,   129,   130,
   131,   132,   133,   134,   135,   136,   137,   138,   139,   140,
   141,   142,   143,   144,   145,   146,   147,   148,   149,     0,
     0,     0,     0,     0,   150,   151,   152,   153,   154,   129,
   130,   131,   132,   133,   134,   135,   136,   137,   138,   139,
   140,   141,   142,   143,   144,   145,   146,   147,   148,   149,
     0,     0,     0,     0,     0,   150,   151,   152,   189,   129,
   130,   131,   132,   133,   134,   135,   136,   137,   138,   139,
   140,   141,   142,   143,   144,   145,   146,   147,   148,   149,
     0,     0,     0,     0,     0,   150,   151,   152,   193,   129,
   130,   131,   132,   133,   134,   135,   136,   137,   138,   139,
   140,   141,   142,   143,   144,   145,   146,   147,   148,   149,
     0,     0,     0,     0,     0,   150,   151,   152,   254,   129,
   130,   131,   132,   133,   134,   135,   136,   137,   138,   139,
   140,   141,   142,   143,   144,   145,   146,   147,   148,   149,
     0,     0,     0,     0,     0,   150,   151,   152,   291,   129,
   130,   131,   132,   133,   134,   135,   136,   137,   138,   139,
   140,   141,   142,   143,   144,   145,   146,   147,   148,   149,
     0,     0,     0,     0,     0,   150,   151,   152,   298,   129,
   130,   131,   132,   133,   134,   135,   136,   137,   138,   139,
   140,   141,   142,   143,   144,   145,   146,   147,   148,   149,
     0,     0,     0,     0,     0,   150,   151,   152,   135,   136,
   137,   138,   139,   140,   141,   142,   143,   144,   145,   146,
   147,   148,   149,     0,     0,     0,     0,     0,   150,   151,
   152,   136,   137,   138,   139,   140,   141,   142,   143,   144,
   145,   146,   147,   148,   149,     0,     0,     0,     0,     0,
   150,   151,   152,   139,   140,   141,   142,   143,   144,   145,
   146,   147,   148,   149,     0,     0,     0,     0,     0,   150,
   151,   152
};

static const short yycheck[] = {     0,
    30,     0,     0,     0,    36,     0,    38,    33,   185,    41,
     3,     3,     3,     4,     3,    89,    47,    59,    87,    59,
     9,   122,    23,    24,    25,    50,     3,    28,   205,    30,
    31,    30,    30,    30,    35,    30,    59,    62,    19,    40,
    96,    83,    84,    83,    84,    91,    47,     3,     4,    96,
    92,    97,    91,    54,    96,    36,   157,    94,    97,    86,
    87,    88,     3,     4,    19,    89,    55,    91,    96,    70,
    71,    72,    74,    75,    76,    77,    78,    79,    80,    89,
    81,    91,    83,    84,    86,    87,    88,     3,     4,    89,
   267,    91,    96,    96,    59,     6,    97,    89,    78,    79,
    80,    92,    96,    89,    97,    96,    86,    87,    88,    96,
   111,    96,    96,    96,    87,    11,     3,     3,    92,     4,
     3,    93,   123,    89,    34,   126,   156,    89,   129,   130,
   131,   132,   133,   134,   135,   136,   137,   138,   139,   140,
   141,   142,   143,   144,   145,   146,   147,   148,   149,   150,
   181,   152,    97,    93,     3,   156,   188,   156,   156,   156,
     3,   156,   188,     3,    93,    97,    97,    97,    59,     0,
     1,    95,     3,     4,     5,     6,     7,     8,    97,    94,
   181,     3,    13,    14,    15,    16,    36,    18,     3,    20,
    21,    22,    23,    24,    96,    95,    94,     3,    95,    94,
     3,     3,    95,    97,   235,     3,    70,    38,   209,    40,
     3,    83,     0,    97,     0,    82,   158,    -1,     3,     4,
     5,     6,    -1,     8,   202,    56,    57,    58,    13,    14,
    15,    16,   203,    18,   235,    -1,    21,    22,    23,    24,
   209,    -1,    -1,    -1,    -1,    -1,    77,    -1,    -1,    -1,
    -1,    82,    -1,    -1,    85,   256,    -1,    -1,    89,    -1,
    -1,    92,    -1,    -1,    95,    96,     1,    -1,     3,     4,
     5,     6,     7,     8,    -1,    -1,    -1,    -1,    13,    14,
    15,    16,    -1,    18,    -1,    20,    21,    22,    23,    24,
    -1,    -1,    77,    -1,    -1,   296,    -1,    82,    -1,    -1,
    85,    -1,    -1,    38,    -1,    40,    -1,    92,    -1,    -1,
    -1,    96,    97,    -1,     3,     4,     5,     6,    -1,     8,
    -1,    56,    57,    58,    13,    14,    15,    16,    -1,    18,
    -1,    -1,    21,    22,    23,    24,    -1,    -1,    -1,    -1,
    -1,    -1,    77,    -1,    -1,    -1,    -1,    82,    -1,    -1,
    85,    -1,    -1,    -1,    89,    -1,    -1,    92,    -1,    -1,
    -1,    96,     3,     4,     5,     6,    -1,     8,    -1,    -1,
    -1,    -1,    13,    14,    15,    16,    -1,    18,    -1,    -1,
    21,    22,    23,    24,    -1,    -1,    -1,    -1,    77,    -1,
    -1,    -1,    -1,    82,    -1,    -1,    85,    -1,    -1,     3,
     4,     5,     6,    92,     8,    -1,    -1,    96,    97,    13,
    14,    15,    16,    -1,    18,    -1,    -1,    21,    22,    23,
    24,    -1,    -1,    -1,    -1,    -1,    -1,     3,     4,     5,
     6,    -1,     8,    -1,    -1,    -1,    77,    13,    14,    15,
    16,    82,    18,    -1,    85,    21,    22,    23,    24,    -1,
    -1,    92,    -1,    -1,    -1,    96,    97,    68,    69,    70,
    71,    72,    73,    74,    75,    76,    77,    78,    79,    80,
    -1,    -1,    -1,    77,    -1,    86,    87,    88,    82,    -1,
    -1,    85,    -1,    -1,    -1,    -1,    -1,    -1,    92,    -1,
    -1,    -1,    96,    97,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    77,    -1,    -1,    -1,    -1,    82,    -1,    -1,    85,
    -1,    -1,     3,     4,     5,     6,    92,     8,    -1,    -1,
    96,    97,    13,    14,    15,    16,    -1,    18,    -1,    -1,
    21,    22,    23,    24,    -1,    26,    -1,    -1,    -1,    -1,
    76,    77,    78,    79,    80,    -1,    -1,    38,    -1,    40,
    86,    87,    88,    44,    -1,    -1,    -1,    -1,     3,     4,
     5,     6,    -1,     8,    -1,    56,    57,    -1,    13,    14,
    15,    16,    -1,    18,    -1,    -1,    21,    22,    23,    24,
    -1,    26,    -1,    -1,    -1,    -1,    77,    -1,    -1,    -1,
    -1,    82,    -1,    38,    85,    40,    -1,    -1,    89,    44,
    -1,    92,    -1,    94,    -1,    96,    -1,    -1,    -1,    -1,
    -1,    56,    57,    65,    66,    67,    68,    69,    70,    71,
    72,    73,    74,    75,    76,    77,    78,    79,    80,    -1,
    -1,    -1,    77,    -1,    86,    87,    88,    82,    -1,    -1,
    85,    -1,    -1,    -1,    89,    -1,    -1,    92,    -1,    -1,
    95,    96,     3,     4,     5,     6,    -1,     8,    -1,    -1,
    -1,    -1,    13,    14,    15,    16,    -1,    18,    -1,    -1,
    21,    22,    23,    24,    -1,    26,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    38,    -1,    40,
    -1,    -1,    -1,    44,    -1,    -1,    -1,     3,     4,     5,
     6,    -1,     8,    -1,    -1,    56,    57,    13,    14,    15,
    16,    -1,    18,    -1,    -1,    21,    22,    23,    24,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    77,    -1,    -1,    -1,
    -1,    82,    -1,    -1,    85,    -1,    -1,    -1,    89,    -1,
    -1,    92,    -1,    -1,    -1,    96,     3,     4,     5,     6,
    -1,     8,    -1,    -1,    -1,    -1,    13,    14,    15,    16,
    -1,    18,    -1,    -1,    21,    22,    23,    24,    -1,    -1,
    -1,    77,    -1,    -1,    -1,    -1,    82,    -1,    -1,    85,
    -1,    -1,    -1,    -1,    -1,    -1,    92,    93,    -1,    -1,
    96,     3,     4,     5,     6,    -1,     8,    -1,    -1,    -1,
    -1,    13,    14,    15,    16,    -1,    18,    -1,    -1,    21,
    22,    23,    24,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    77,    -1,    -1,    -1,    -1,    82,    -1,    -1,    85,    -1,
    -1,    -1,    89,    -1,    -1,    92,    -1,    -1,    -1,    96,
     3,     4,     5,     6,    -1,     8,    -1,    -1,    -1,    -1,
    13,    14,    15,    16,    -1,    18,    -1,    -1,    21,    22,
    23,    24,    -1,    -1,    -1,    77,    -1,    -1,    -1,    -1,
    82,    -1,    -1,    85,    -1,    -1,    -1,    89,    -1,    -1,
    92,    -1,    -1,    -1,    96,    -1,    -1,    -1,    -1,    60,
    61,    62,    63,    64,    65,    66,    67,    68,    69,    70,
    71,    72,    73,    74,    75,    76,    77,    78,    79,    80,
    -1,    -1,    -1,    -1,    77,    86,    87,    88,    -1,    82,
    -1,    -1,    85,    -1,    -1,    -1,    97,    -1,    -1,    92,
    -1,    -1,    -1,    96,    60,    61,    62,    63,    64,    65,
    66,    67,    68,    69,    70,    71,    72,    73,    74,    75,
    76,    77,    78,    79,    80,    -1,    -1,    -1,    -1,    -1,
    86,    87,    88,    -1,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    97,    60,    61,    62,    63,    64,    65,    66,    67,
    68,    69,    70,    71,    72,    73,    74,    75,    76,    77,
    78,    79,    80,    -1,    -1,    -1,    -1,    -1,    86,    87,
    88,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    97,
    60,    61,    62,    63,    64,    65,    66,    67,    68,    69,
    70,    71,    72,    73,    74,    75,    76,    77,    78,    79,
    80,    -1,    -1,    -1,    -1,    -1,    86,    87,    88,    -1,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    97,    60,    61,
    62,    63,    64,    65,    66,    67,    68,    69,    70,    71,
    72,    73,    74,    75,    76,    77,    78,    79,    80,    -1,
    -1,    -1,    -1,    -1,    86,    87,    88,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    97,    60,    61,    62,    63,
    64,    65,    66,    67,    68,    69,    70,    71,    72,    73,
    74,    75,    76,    77,    78,    79,    80,    -1,    -1,    -1,
    -1,    -1,    86,    87,    88,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    97,    60,    61,    62,    63,    64,    65,
    66,    67,    68,    69,    70,    71,    72,    73,    74,    75,
    76,    77,    78,    79,    80,    -1,    -1,    -1,    -1,    -1,
    86,    87,    88,    -1,    -1,    91,    60,    61,    62,    63,
    64,    65,    66,    67,    68,    69,    70,    71,    72,    73,
    74,    75,    76,    77,    78,    79,    80,    -1,    -1,    -1,
    -1,    -1,    86,    87,    88,    -1,    -1,    91,    60,    61,
    62,    63,    64,    65,    66,    67,    68,    69,    70,    71,
    72,    73,    74,    75,    76,    77,    78,    79,    80,    -1,
    -1,    -1,    -1,    -1,    86,    87,    88,    89,    90,    60,
    61,    62,    63,    64,    65,    66,    67,    68,    69,    70,
    71,    72,    73,    74,    75,    76,    77,    78,    79,    80,
    -1,    -1,    -1,    -1,    -1,    86,    87,    88,    89,    60,
    61,    62,    63,    64,    65,    66,    67,    68,    69,    70,
    71,    72,    73,    74,    75,    76,    77,    78,    79,    80,
    -1,    -1,    -1,    -1,    -1,    86,    87,    88,    89,    60,
    61,    62,    63,    64,    65,    66,    67,    68,    69,    70,
    71,    72,    73,    74,    75,    76,    77,    78,    79,    80,
    -1,    -1,    -1,    -1,    -1,    86,    87,    88,    89,    60,
    61,    62,    63,    64,    65,    66,    67,    68,    69,    70,
    71,    72,    73,    74,    75,    76,    77,    78,    79,    80,
    -1,    -1,    -1,    -1,    -1,    86,    87,    88,    89,    60,
    61,    62,    63,    64,    65,    66,    67,    68,    69,    70,
    71,    72,    73,    74,    75,    76,    77,    78,    79,    80,
    -1,    -1,    -1,    -1,    -1,    86,    87,    88,    89,    60,
    61,    62,    63,    64,    65,    66,    67,    68,    69,    70,
    71,    72,    73,    74,    75,    76,    77,    78,    79,    80,
    -1,    -1,    -1,    -1,    -1,    86,    87,    88,    66,    67,
    68,    69,    70,    71,    72,    73,    74,    75,    76,    77,
    78,    79,    80,    -1,    -1,    -1,    -1,    -1,    86,    87,
    88,    67,    68,    69,    70,    71,    72,    73,    74,    75,
    76,    77,    78,    79,    80,    -1,    -1,    -1,    -1,    -1,
    86,    87,    88,    70,    71,    72,    73,    74,    75,    76,
    77,    78,    79,    80,    -1,    -1,    -1,    -1,    -1,    86,
    87,    88
};
/* -*-C-*-  Note some compilers choke on comments on `#line' lines.  */
#line 3 "/usr/local/share/bison.simple"
/* This file comes from bison-1.28.  */

/* Skeleton output parser for bison,
   Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 2, or (at your option)
   any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place - Suite 330,
   Boston, MA 02111-1307, USA.  */

/* As a special exception, when this file is copied by Bison into a
   Bison output file, you may use that output file without restriction.
   This special exception was added by the Free Software Foundation
   in version 1.24 of Bison.  */

/* This is the parser code that is written into each bison parser
  when the %semantic_parser declaration is not specified in the grammar.
  It was written by Richard Stallman by simplifying the hairy parser
  used when %semantic_parser is specified.  */

#ifndef YYSTACK_USE_ALLOCA
#ifdef alloca
#define YYSTACK_USE_ALLOCA
#else /* alloca not defined */
#ifdef __GNUC__
#define YYSTACK_USE_ALLOCA
#define alloca __builtin_alloca
#else /* not GNU C.  */
#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi) || (defined (__sun) && defined (__i386))
#define YYSTACK_USE_ALLOCA
#include <alloca.h>
#else /* not sparc */
/* We think this test detects Watcom and Microsoft C.  */
/* This used to test MSDOS, but that is a bad idea
   since that symbol is in the user namespace.  */
#if (defined (_MSDOS) || defined (_MSDOS_)) && !defined (__TURBOC__)
#if 0 /* No need for malloc.h, which pollutes the namespace;
	 instead, just don't use alloca.  */
#include <malloc.h>
#endif
#else /* not MSDOS, or __TURBOC__ */
#if defined(_AIX)
/* I don't know what this was needed for, but it pollutes the namespace.
   So I turned it off.   rms, 2 May 1997.  */
/* #include <malloc.h>  */
 #pragma alloca
#define YYSTACK_USE_ALLOCA
#else /* not MSDOS, or __TURBOC__, or _AIX */
#if 0
#ifdef __hpux /* haible@ilog.fr says this works for HPUX 9.05 and up,
		 and on HPUX 10.  Eventually we can turn this on.  */
#define YYSTACK_USE_ALLOCA
#define alloca __builtin_alloca
#endif /* __hpux */
#endif
#endif /* not _AIX */
#endif /* not MSDOS, or __TURBOC__ */
#endif /* not sparc */
#endif /* not GNU C */
#endif /* alloca not defined */
#endif /* YYSTACK_USE_ALLOCA not defined */

#ifdef YYSTACK_USE_ALLOCA
#define YYSTACK_ALLOC alloca
#else
#define YYSTACK_ALLOC malloc
#endif

/* Note: there must be only one dollar sign in this file.
   It is replaced by the list of actions, each action
   as one case of the switch.  */

#define yyerrok		(yyerrstatus = 0)
#define yyclearin	(yychar = YYEMPTY)
#define YYEMPTY		-2
#define YYEOF		0
#define YYACCEPT	goto yyacceptlab
#define YYABORT 	goto yyabortlab
#define YYERROR		goto yyerrlab1
/* Like YYERROR except do call yyerror.
   This remains here temporarily to ease the
   transition to the new meaning of YYERROR, for GCC.
   Once GCC version 2 has supplanted version 1, this can go.  */
#define YYFAIL		goto yyerrlab
#define YYRECOVERING()  (!!yyerrstatus)
#define YYBACKUP(token, value) \
do								\
  if (yychar == YYEMPTY && yylen == 1)				\
    { yychar = (token), yylval = (value);			\
      yychar1 = YYTRANSLATE (yychar);				\
      YYPOPSTACK;						\
      goto yybackup;						\
    }								\
  else								\
    { yyerror ("syntax error: cannot back up"); YYERROR; }	\
while (0)

#define YYTERROR	1
#define YYERRCODE	256

#ifndef YYPURE
#define YYLEX		yylex()
#endif

#ifdef YYPURE
#ifdef YYLSP_NEEDED
#ifdef YYLEX_PARAM
#define YYLEX		yylex(&yylval, &yylloc, YYLEX_PARAM)
#else
#define YYLEX		yylex(&yylval, &yylloc)
#endif
#else /* not YYLSP_NEEDED */
#ifdef YYLEX_PARAM
#define YYLEX		yylex(&yylval, YYLEX_PARAM)
#else
#define YYLEX		yylex(&yylval)
#endif
#endif /* not YYLSP_NEEDED */
#endif

/* If nonreentrant, generate the variables here */

#ifndef YYPURE

int	yychar;			/*  the lookahead symbol		*/
YYSTYPE	yylval;			/*  the semantic value of the		*/
				/*  lookahead symbol			*/

#ifdef YYLSP_NEEDED
YYLTYPE yylloc;			/*  location data for the lookahead	*/
				/*  symbol				*/
#endif

int yynerrs;			/*  number of parse errors so far       */
#endif  /* not YYPURE */

#if YYDEBUG != 0
int yydebug;			/*  nonzero means print parse trace	*/
/* Since this is uninitialized, it does not stop multiple parsers
   from coexisting.  */
#endif

/*  YYINITDEPTH indicates the initial size of the parser's stacks	*/

#ifndef	YYINITDEPTH
#define YYINITDEPTH 200
#endif

/*  YYMAXDEPTH is the maximum size the stacks can grow to
    (effective only if the built-in stack extension method is used).  */

#if YYMAXDEPTH == 0
#undef YYMAXDEPTH
#endif

#ifndef YYMAXDEPTH
#define YYMAXDEPTH 10000
#endif

/* Define __yy_memcpy.  Note that the size argument
   should be passed with type unsigned int, because that is what the non-GCC
   definitions require.  With GCC, __builtin_memcpy takes an arg
   of type size_t, but it can handle unsigned int.  */

#if __GNUC__ > 1		/* GNU C and GNU C++ define this.  */
#define __yy_memcpy(TO,FROM,COUNT)	__builtin_memcpy(TO,FROM,COUNT)
#else				/* not GNU C or C++ */
#ifndef __cplusplus

/* This is the most reliable way to avoid incompatibilities
   in available built-in functions on various systems.  */
static void
__yy_memcpy (to, from, count)
     char *to;
     char *from;
     unsigned int count;
{
  register char *f = from;
  register char *t = to;
  register int i = count;

  while (i-- > 0)
    *t++ = *f++;
}

#else /* __cplusplus */

/* This is the most reliable way to avoid incompatibilities
   in available built-in functions on various systems.  */
static void
__yy_memcpy (char *to, char *from, unsigned int count)
{
  register char *t = to;
  register char *f = from;
  register int i = count;

  while (i-- > 0)
    *t++ = *f++;
}

#endif
#endif

#line 217 "/usr/local/share/bison.simple"

/* The user can define YYPARSE_PARAM as the name of an argument to be passed
   into yyparse.  The argument should have type void *.
   It should actually point to an object.
   Grammar actions can access the variable by casting it
   to the proper pointer type.  */

#ifdef YYPARSE_PARAM
#ifdef __cplusplus
#define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
#define YYPARSE_PARAM_DECL
#else /* not __cplusplus */
#define YYPARSE_PARAM_ARG YYPARSE_PARAM
#define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
#endif /* not __cplusplus */
#else /* not YYPARSE_PARAM */
#define YYPARSE_PARAM_ARG
#define YYPARSE_PARAM_DECL
#endif /* not YYPARSE_PARAM */

/* Prevent warning if -Wstrict-prototypes.  */
#ifdef __GNUC__
#ifdef YYPARSE_PARAM
int yyparse (void *);
#else
int yyparse (void);
#endif
#endif

int
yyparse(YYPARSE_PARAM_ARG)
     YYPARSE_PARAM_DECL
{
  register int yystate;
  register int yyn;
  register short *yyssp;
  register YYSTYPE *yyvsp;
  int yyerrstatus;	/*  number of tokens to shift before error messages enabled */
  int yychar1 = 0;		/*  lookahead token as an internal (translated) token number */

  short	yyssa[YYINITDEPTH];	/*  the state stack			*/
  YYSTYPE yyvsa[YYINITDEPTH];	/*  the semantic value stack		*/

  short *yyss = yyssa;		/*  refer to the stacks thru separate pointers */
  YYSTYPE *yyvs = yyvsa;	/*  to allow yyoverflow to reallocate them elsewhere */

#ifdef YYLSP_NEEDED
  YYLTYPE yylsa[YYINITDEPTH];	/*  the location stack			*/
  YYLTYPE *yyls = yylsa;
  YYLTYPE *yylsp;

#define YYPOPSTACK   (yyvsp--, yyssp--, yylsp--)
#else
#define YYPOPSTACK   (yyvsp--, yyssp--)
#endif

  int yystacksize = YYINITDEPTH;
  int yyfree_stacks = 0;

#ifdef YYPURE
  int yychar;
  YYSTYPE yylval;
  int yynerrs;
#ifdef YYLSP_NEEDED
  YYLTYPE yylloc;
#endif
#endif

  YYSTYPE yyval;		/*  the variable used to return		*/
				/*  semantic values from the action	*/
				/*  routines				*/

  int yylen;

#if YYDEBUG != 0
  if (yydebug)
    fprintf(stderr, "Starting parse\n");
#endif

  yystate = 0;
  yyerrstatus = 0;
  yynerrs = 0;
  yychar = YYEMPTY;		/* Cause a token to be read.  */

  /* Initialize stack pointers.
     Waste one element of value and location stack
     so that they stay on the same level as the state stack.
     The wasted elements are never initialized.  */

  yyssp = yyss - 1;
  yyvsp = yyvs;
#ifdef YYLSP_NEEDED
  yylsp = yyls;
#endif

/* Push a new state, which is found in  yystate  .  */
/* In all cases, when you get here, the value and location stacks
   have just been pushed. so pushing a state here evens the stacks.  */
yynewstate:

  *++yyssp = yystate;

  if (yyssp >= yyss + yystacksize - 1)
    {
      /* Give user a chance to reallocate the stack */
      /* Use copies of these so that the &'s don't force the real ones into memory. */
      YYSTYPE *yyvs1 = yyvs;
      short *yyss1 = yyss;
#ifdef YYLSP_NEEDED
      YYLTYPE *yyls1 = yyls;
#endif

      /* Get the current used size of the three stacks, in elements.  */
      int size = yyssp - yyss + 1;

#ifdef yyoverflow
      /* Each stack pointer address is followed by the size of
	 the data in use in that stack, in bytes.  */
#ifdef YYLSP_NEEDED
      /* This used to be a conditional around just the two extra args,
	 but that might be undefined if yyoverflow is a macro.  */
      yyoverflow("parser stack overflow",
		 &yyss1, size * sizeof (*yyssp),
		 &yyvs1, size * sizeof (*yyvsp),
		 &yyls1, size * sizeof (*yylsp),
		 &yystacksize);
#else
      yyoverflow("parser stack overflow",
		 &yyss1, size * sizeof (*yyssp),
		 &yyvs1, size * sizeof (*yyvsp),
		 &yystacksize);
#endif

      yyss = yyss1; yyvs = yyvs1;
#ifdef YYLSP_NEEDED
      yyls = yyls1;
#endif
#else /* no yyoverflow */
      /* Extend the stack our own way.  */
      if (yystacksize >= YYMAXDEPTH)
	{
	  yyerror("parser stack overflow");
	  if (yyfree_stacks)
	    {
	      free (yyss);
	      free (yyvs);
#ifdef YYLSP_NEEDED
	      free (yyls);
#endif
	    }
	  return 2;
	}
      yystacksize *= 2;
      if (yystacksize > YYMAXDEPTH)
	yystacksize = YYMAXDEPTH;
#ifndef YYSTACK_USE_ALLOCA
      yyfree_stacks = 1;
#endif
      yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));
      __yy_memcpy ((char *)yyss, (char *)yyss1,
		   size * (unsigned int) sizeof (*yyssp));
      yyvs = (YYSTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yyvsp));
      __yy_memcpy ((char *)yyvs, (char *)yyvs1,
		   size * (unsigned int) sizeof (*yyvsp));
#ifdef YYLSP_NEEDED
      yyls = (YYLTYPE *) YYSTACK_ALLOC (yystacksize * sizeof (*yylsp));
      __yy_memcpy ((char *)yyls, (char *)yyls1,
		   size * (unsigned int) sizeof (*yylsp));
#endif
#endif /* no yyoverflow */

      yyssp = yyss + size - 1;
      yyvsp = yyvs + size - 1;
#ifdef YYLSP_NEEDED
      yylsp = yyls + size - 1;
#endif

#if YYDEBUG != 0
      if (yydebug)
	fprintf(stderr, "Stack size increased to %d\n", yystacksize);
#endif

      if (yyssp >= yyss + yystacksize - 1)
	YYABORT;
    }

#if YYDEBUG != 0
  if (yydebug)
    fprintf(stderr, "Entering state %d\n", yystate);
#endif

  goto yybackup;
 yybackup:

/* Do appropriate processing given the current state.  */
/* Read a lookahead token if we need one and don't already have one.  */
/* yyresume: */

  /* First try to decide what to do without reference to lookahead token.  */

  yyn = yypact[yystate];
  if (yyn == YYFLAG)
    goto yydefault;

  /* Not known => get a lookahead token if don't already have one.  */

  /* yychar is either YYEMPTY or YYEOF
     or a valid token in external form.  */

  if (yychar == YYEMPTY)
    {
#if YYDEBUG != 0
      if (yydebug)
	fprintf(stderr, "Reading a token: ");
#endif
      yychar = YYLEX;
    }

  /* Convert token to internal form (in yychar1) for indexing tables with */

  if (yychar <= 0)		/* This means end of input. */
    {
      yychar1 = 0;
      yychar = YYEOF;		/* Don't call YYLEX any more */

#if YYDEBUG != 0
      if (yydebug)
	fprintf(stderr, "Now at end of input.\n");
#endif
    }
  else
    {
      yychar1 = YYTRANSLATE(yychar);

#if YYDEBUG != 0
      if (yydebug)
	{
	  fprintf (stderr, "Next token is %d (%s", yychar, yytname[yychar1]);
	  /* Give the individual parser a way to print the precise meaning
	     of a token, for further debugging info.  */
#ifdef YYPRINT
	  YYPRINT (stderr, yychar, yylval);
#endif
	  fprintf (stderr, ")\n");
	}
#endif
    }

  yyn += yychar1;
  if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != yychar1)
    goto yydefault;

  yyn = yytable[yyn];

  /* yyn is what to do for this token type in this state.
     Negative => reduce, -yyn is rule number.
     Positive => shift, yyn is new state.
       New state is final state => don't bother to shift,
       just return success.
     0, or most negative number => error.  */

  if (yyn < 0)
    {
      if (yyn == YYFLAG)
	goto yyerrlab;
      yyn = -yyn;
      goto yyreduce;
    }
  else if (yyn == 0)
    goto yyerrlab;

  if (yyn == YYFINAL)
    YYACCEPT;

  /* Shift the lookahead token.  */

#if YYDEBUG != 0
  if (yydebug)
    fprintf(stderr, "Shifting token %d (%s), ", yychar, yytname[yychar1]);
#endif

  /* Discard the token being shifted unless it is eof.  */
  if (yychar != YYEOF)
    yychar = YYEMPTY;

  *++yyvsp = yylval;
#ifdef YYLSP_NEEDED
  *++yylsp = yylloc;
#endif

  /* count tokens shifted since error; after three, turn off error status.  */
  if (yyerrstatus) yyerrstatus--;

  yystate = yyn;
  goto yynewstate;

/* Do the default action for the current state.  */
yydefault:

  yyn = yydefact[yystate];
  if (yyn == 0)
    goto yyerrlab;

/* Do a reduction.  yyn is the number of a rule to reduce with.  */
yyreduce:
  yylen = yyr2[yyn];
  if (yylen > 0)
    yyval = yyvsp[1-yylen]; /* implement default value of the action */

#if YYDEBUG != 0
  if (yydebug)
    {
      int i;

      fprintf (stderr, "Reducing via rule %d (line %d), ",
	       yyn, yyrline[yyn]);

      /* Print the symbols being reduced, and their result.  */
      for (i = yyprhs[yyn]; yyrhs[i] > 0; i++)
	fprintf (stderr, "%s ", yytname[yyrhs[i]]);
      fprintf (stderr, " -> %s\n", yytname[yyr1[yyn]]);
    }
#endif


  switch (yyn) {

case 8:
#line 57 "simple.y"
{sendKan(0); ;
    break;}
case 9:
#line 58 "simple.y"
{sendKan(0); ;
    break;}
case 10:
#line 59 "simple.y"
{pkkan(" [ ] {showln} sendmsg2 \n"); sendKan(0); ;
    break;}
case 11:
#line 60 "simple.y"
{sendKan(0); ;
    break;}
case 12:
#line 61 "simple.y"
{sendKan(0); ;
    break;}
case 14:
#line 63 "simple.y"
{sendKan(10); ;
    break;}
case 27:
#line 91 "simple.y"
{ pkkan(" /FunctionValue set  {/ExitPoint goto} exec %%return\n");;
    break;}
case 28:
#line 92 "simple.y"
{pkkan("  {/ExitPoint goto} exec %%return void\n");;
    break;}
case 29:
#line 95 "simple.y"
{ pkkan(" exit "); ;
    break;}
case 30:
#line 99 "simple.y"
{ pkkan("[ "); ;
    break;}
case 31:
#line 102 "simple.y"
{ pkkan("  ] "); ;
    break;}
case 32:
#line 103 "simple.y"
{ pkkan("  ] "); ;
    break;}
case 35:
#line 112 "simple.y"
{ pkkan(" %% if-condition\n  { %%ifbody\n"); ;
    break;}
case 36:
#line 115 "simple.y"
{ pkkan("  }%%end if if body\n  { %%if- else part\n"); ;
    break;}
case 37:
#line 116 "simple.y"
{ pkkan("  }%%end if if body\n  { %%if- else part\n"); ;
    break;}
case 38:
#line 119 "simple.y"
{ pkkan("  } ifelse\n"); ;
    break;}
case 39:
#line 121 "simple.y"
{ pkkan("  } ifelse\n"); ;
    break;}
case 40:
#line 122 "simple.y"
{ pkkan("  } ifelse\n"); ;
    break;}
case 41:
#line 127 "simple.y"
{ pkkan("%%for init.\n%%for\n{ "); ;
    break;}
case 42:
#line 128 "simple.y"
{ pkkan("%%nothing for init.\n%%for\n{ "); ;
    break;}
case 43:
#line 131 "simple.y"
{ pkkan(" {  } {exit} ifelse\n[ {%%increment\n"); ;
    break;}
case 44:
#line 132 "simple.y"
{ pkkan("%%no exit rule.\n[ {%%increment\n"); ;
    break;}
case 45:
#line 135 "simple.y"
{ pkkan("} %%end of increment{A}\n"); ;
    break;}
case 46:
#line 140 "simple.y"
{  pkkan("{%%start of B part{B}\n"); ;
    break;}
case 47:
#line 142 "simple.y"
{  pkkan("  } %% dummy A\n{%%start of B part{B}\n"); ;
    break;}
case 48:
#line 146 "simple.y"
{ pkkan("} %% end of B part. {B}\n"); 
                 pkkan(" 2 1 roll] {exec} map pop\n} loop %%end of for\n"); ;
    break;}
case 49:
#line 151 "simple.y"
{ pkkan("%%PSfor initvalue.\n (integer) data_conversion \n");
       ips(yyvsp[-3]); 
     ;
    break;}
case 50:
#line 155 "simple.y"
{ ips(yyvsp[-7]); ips(yyvsp[-4]); 
       /* They must be equal id, but it is not checked. */
       pkkan(" (1).. sub  (integer) data_conversion  1  2 -1 roll \n");
       pkkan("{ %% for body\n (universalNumber) data_conversion ");
       pkkan("/"); printObjectSymbol(yyvsp[-11]); pkkan("  set \n");
     ;
    break;}
case 51:
#line 164 "simple.y"
{ pkkan("  } for \n"); ;
    break;}
case 52:
#line 168 "simple.y"
{ pkkan("\n%%while\n{ "); ;
    break;}
case 53:
#line 172 "simple.y"
{ pkkan(" { } {exit} ifelse\n "); ;
    break;}
case 54:
#line 173 "simple.y"
{ pkkan("%%no exit condition.\n "); ;
    break;}
case 55:
#line 177 "simple.y"
{   pkkan("} loop\n"); ;
    break;}
case 56:
#line 182 "simple.y"
{ pkkan(" print\n");;
    break;}
case 58:
#line 190 "simple.y"
{   loadFile(yyvsp[-1]);  ;
    break;}
case 59:
#line 191 "simple.y"
{   loadFile(yyvsp[-1]);  ;
    break;}
case 60:
#line 192 "simple.y"
{   loadFile(yyvsp[0]);  ;
    break;}
case 61:
#line 193 "simple.y"
{   loadFile(yyvsp[0]);  ;
    break;}
case 62:
#line 194 "simple.y"
{   loadFileWithCpp(yyvsp[-1]); ;
    break;}
case 64:
#line 197 "simple.y"
{ pkkan(" "); printObjectSymbol(yyvsp[0]); pkkan(" "); ;
    break;}
case 65:
#line 198 "simple.y"
{ pkkan(" "); printObjectSymbol(yyvsp[0]); pkkan(" "); ;
    break;}
case 66:
#line 199 "simple.y"
{ pkkan(" "); printObjectSymbol(yyvsp[0]); pkkan(" "); ;
    break;}
case 67:
#line 200 "simple.y"
{ pkkan(" "); printObjectSymbol(yyvsp[0]); pkkan(" "); ;
    break;}
case 68:
#line 205 "simple.y"
{ int tmp0;
     if ((tmp0 = K00getIncetanceVariable(objectSymbolToString(yyvsp[0]))) != -1) {
       pkkan(" this "); pkkanInteger(tmp0); pkkan(" get ");
     } else {
       printObjectSymbol(yyvsp[0]); pkkan(" ");
     }
   ;
    break;}
case 69:
#line 212 "simple.y"
{ pkkan("("); printObjectSymbol(yyvsp[0]); pkkan(") "); ;
    break;}
case 71:
#line 214 "simple.y"
{ pkkan("("); printObjectSymbol(yyvsp[0]); pkkan(").. ");;
    break;}
case 72:
#line 215 "simple.y"
{ pkkan(" this "); ;
    break;}
case 83:
#line 230 "simple.y"
{ pkkan("this [ %% function args \n"); yyval = yyvsp[-1] ;
    break;}
case 84:
#line 240 "simple.y"
{pkkan("] {");printObjectSymbol(yyvsp[-2]);pkkan("} sendmsg2 \n");;
    break;}
case 85:
#line 242 "simple.y"
{pkkan("] {");printObjectSymbol(yyvsp[-1]);pkkan("} sendmsg2 \n");;
    break;}
case 86:
#line 246 "simple.y"
{ pkkan("/");printObjectSymbol(yyvsp[0]); pkkan(" "); ips(yyvsp[0]);;
    break;}
case 87:
#line 247 "simple.y"
{ pkkan("/");printObjectSymbol(yyvsp[0]); pkkan(" "); ips(yyvsp[0]);;
    break;}
case 88:
#line 252 "simple.y"
{ pkkan("/"); printObjectSymbol(yyvsp[0]); pkkan(" {\n"); ips(yyvsp[0]);
          pkdebug("In function : ", objectSymbolToString(yyvsp[0]),
		  " of class ",K00getCurrentContextName());
	  pkkan(" /Arglist set /Argthis set /FunctionValue [ ] def\n [/this ");
	  yyval = yyvsp[0];;
    break;}
case 89:
#line 261 "simple.y"
{ pkkan("/"); printObjectSymbol(yyvsp[0]); pkkan(" {\n"); ips(yyvsp[0]);
          pkdebug("In function : ", objectSymbolToString(yyvsp[0]),
		  " of class ",K00getCurrentContextName());
	  pkkan(" /Arglist set /Argthis set /FunctionValue [ ] def\n [/this ");
	  yyval = yyvsp[-1];;
    break;}
case 90:
#line 270 "simple.y"
{pkkan(" ] /ArgNames set ArgNames pushVariables [ %%function body\n");
      pkkan(" [Argthis] Arglist join ArgNames mapset\n");;
    break;}
case 91:
#line 273 "simple.y"
{pkkan(" ] /ArgNames set ArgNames pushVariables [ %%function body\n");
      pkkan(" [Argthis]  ArgNames mapset\n"); ;
    break;}
case 92:
#line 280 "simple.y"
{ pkkan("/ExitPoint ]pop popVariables %%pop the local variables\n"); ;
    break;}
case 94:
#line 287 "simple.y"
{pkkan("/ExitPoint ]pop popVariables %%pop argValues\n");
	 pkdebug2();
         pkkan("FunctionValue } def\n%%end of function\n\n"); ;
    break;}
case 95:
#line 291 "simple.y"
{pkkan("/ExitPoint ]pop popVariables %%pop argValues\n");
	 pkdebug2();
         pkkan("FunctionValue } def\n%%end of function\n\n"); ;
    break;}
case 96:
#line 295 "simple.y"
{pkkan("/ExitPoint ]pop popVariables %%pop argValues\n");
	 pkdebug2();
         pkkan("} def\n%%end of function\n\n"); ;
    break;}
case 97:
#line 301 "simple.y"
{ pkkan("[ %%start of local variables\n"); ;
    break;}
case 98:
#line 306 "simple.y"
{ pkkan("] pushVariables [ %%local variables\n"); ;
    break;}
case 99:
#line 311 "simple.y"
{     ;;
    break;}
case 100:
#line 312 "simple.y"
{     ;;
    break;}
case 101:
#line 316 "simple.y"
{   ; ;
    break;}
case 102:
#line 321 "simple.y"
{  ; ;
    break;}
case 104:
#line 326 "simple.y"
{ pkkan(" Get\n"); ;
    break;}
case 105:
#line 329 "simple.y"
{pkkan(" ] "); ;
    break;}
case 108:
#line 337 "simple.y"
{ int tmp0;
       if ((tmp0 = K00getIncetanceVariable(objectSymbolToString(yyvsp[-1]))) != -1) {
         pkkan(" this "); pkkanInteger(tmp0); pkkan(" get [");
       } else {
         printObjectSymbol(yyvsp[-1]); pkkan(" [");
       }
     ;
    break;}
case 109:
#line 348 "simple.y"
{ yyval = yyvsp[0];;
    break;}
case 110:
#line 352 "simple.y"
{ int tmp0;
      if ((tmp0 = K00getIncetanceVariable(objectSymbolToString(yyvsp[-2]))) != -1) {
	pkkan(" this "); pkkanInteger(tmp0);
	pkkan(" 3 -1 roll   put\n");
      }else {
	pkkan("/"); printObjectSymbol(yyvsp[-2]); pkkan(" "); ips(yyvsp[-2]); pkkan(" set\n");
      }
    ;
    break;}
case 111:
#line 360 "simple.y"
{ pkkan(" Put\n"); ;
    break;}
case 112:
#line 361 "simple.y"
{ pkkan(" /this set \n"); ;
    break;}
case 115:
#line 367 "simple.y"
{ pkkan(" not\n"); ;
    break;}
case 117:
#line 369 "simple.y"
{ pkkan(" (0)..  2 1 roll {sub} sendmsg \n"); ;
    break;}
case 118:
#line 370 "simple.y"
{ pkkan(" {add} sendmsg2 \n"); ;
    break;}
case 119:
#line 371 "simple.y"
{ pkkan(" {sub} sendmsg2 \n"); ;
    break;}
case 120:
#line 372 "simple.y"
{ pkkan(" {mul} sendmsg2 \n"); ;
    break;}
case 121:
#line 373 "simple.y"
{ pkkan(" {div} sendmsg2 \n"); ;
    break;}
case 123:
#line 375 "simple.y"
{ pkkan(" power\n"); ;
    break;}
case 126:
#line 378 "simple.y"
{ pkkan(" eq\n"); ;
    break;}
case 127:
#line 379 "simple.y"
{ pkkan(" lt\n"); ;
    break;}
case 128:
#line 380 "simple.y"
{ pkkan(" gt\n"); ;
    break;}
case 129:
#line 381 "simple.y"
{ pkkan(" lessThanOrEqual\n"); ;
    break;}
case 131:
#line 383 "simple.y"
{ pkkan(" greaterThanOrEqual\n"); ;
    break;}
case 133:
#line 385 "simple.y"
{ pkkan(" and\n"); ;
    break;}
case 134:
#line 386 "simple.y"
{ pkkan(" or\n"); ;
    break;}
case 135:
#line 387 "simple.y"
{ pkkan(" eq not\n"); ;
    break;}
case 137:
#line 389 "simple.y"
{ pkkan("/");
		       printObjectSymbol(yyvsp[-1]); ips(yyvsp[-1]);
		       pkkan(" "); printObjectSymbol(yyvsp[-1]);
		       pkkan(" (1).. {add} sendmsg2 "); pkkan("def\n"); ;
    break;}
case 138:
#line 393 "simple.y"
{ pkkan("/");
		       printObjectSymbol(yyvsp[-1]); ips(yyvsp[-1]);
		       pkkan(" "); printObjectSymbol(yyvsp[-1]);
		       pkkan(" (1).. {sub} sendmsg2 "); pkkan("def\n"); ;
    break;}
case 140:
#line 398 "simple.y"
{  pkkan(" sendmsg2 \n"); ;
    break;}
case 141:
#line 399 "simple.y"
{ /* Not implemented yet. */ ;
    break;}
case 142:
#line 400 "simple.y"
{  pkkan(" supmsg2 \n"); ;
    break;}
case 143:
#line 401 "simple.y"
{  pkkan("("); printObjectSymbol(yyvsp[-2]);
			 pkkan(")..  (double) dc ");
			 pkkan("("); printObjectSymbol(yyvsp[0]); pkkan(")..  ");
                         pkkan("("); printTens(yyvsp[0]); pkkan(").. ");
			 pkkan(" div (double) dc  add\n"); ;
    break;}
case 147:
#line 410 "simple.y"
{
      int tmp0;
      tmp0 = K00getIncetanceVariable("K00sizeof");
      pkkan(" ("); pkkanInteger(tmp0); pkkan(").. ");
    ;
    break;}
case 148:
#line 417 "simple.y"
{
      int tmp0;
      tmp0 = K00getIncetanceVariable("K00start");
      pkkan(" ("); pkkanInteger(tmp0); pkkan(").. ");
    ;
    break;}
case 149:
#line 425 "simple.y"
{ /* It is not used now. */
	    sendKan(1);
	    Sm1obj = KSpop();
	    if (Sm1obj.tag != Sdollar) {
	      fprintf(stderr," Argument of test must be a string.\n");
	    }
	    testNewFunction((struct Object *)&Sm1obj); 
	  ;
    break;}
case 150:
#line 436 "simple.y"
{
          fprintf(stderr," special is used to extend the function. \n");
      ;
    break;}
case 151:
#line 445 "simple.y"
{pkkan("] {");printObjectSymbol(yyvsp[-2]);pkkan("}  ");;
    break;}
case 152:
#line 447 "simple.y"
{pkkan("] {");printObjectSymbol(yyvsp[-1]);pkkan("}  ");;
    break;}
case 153:
#line 452 "simple.y"
{ pkkan(" [ %% function args \n"); yyval = yyvsp[-1] ;
    break;}
case 154:
#line 459 "simple.y"
{ pkkan(" PrimitiveContextp setcontext ");
	/* debug */ K00foo1();
        K00toPrimitiveClass();
      ;
    break;}
case 155:
#line 468 "simple.y"
{ ips(yyvsp[-3]);
	pkkan("[ $") ; printObjectSymbol(yyvsp[-3]); pkkan("$ ");
	printObjectSymbol(yyvsp[-1]); pkkan(" 0 get  newcontext ] /");
	printObjectSymbol(yyvsp[-3]);	pkkan(" set \n");
	printObjectSymbol(yyvsp[-3]); pkkan(" 0 get setcontext \n");

	if (K00declareClass(objectSymbolToString(yyvsp[-3]),
			    objectSymbolToString(yyvsp[-1])) == -1) {
	  /* error */
	  KCerror("Super class has not been defined or Invalid class name.");
	}else{
	  K00putIncetanceVariable(IRESET," ");
	}
      ;
    break;}
case 156:
#line 485 "simple.y"
{
	K00putIncetanceVariable(IEXIT," ");
      ;
    break;}
case 157:
#line 489 "simple.y"
{
	K00putIncetanceVariable(IEXIT," ");
      ;
    break;}
case 158:
#line 495 "simple.y"
{
      K00putIncetanceVariable(IPUT,objectSymbolToString(yyvsp[0]));
    ;
    break;}
case 159:
#line 499 "simple.y"
{
      K00putIncetanceVariable(IPUT,objectSymbolToString(yyvsp[0]));
    ;
    break;}
case 160:
#line 505 "simple.y"
{ pkkan("/"); printObjectSymbol(yyvsp[0]); pkkan(" {\n"); ips(yyvsp[0]);
          pkdebug("In function : ", objectSymbolToString(yyvsp[0]),", of class  ",
		  K00getCurrentContextName());
	  pkkan(" /Arglist set /Arglist [Arglist] def ");
          pkkan(" /Argthis set /FunctionValue [ ] def\n [/this ");
	  yyval = yyvsp[0];;
    break;}
case 161:
#line 514 "simple.y"
{ pkkan(" this "); ;
    break;}
case 162:
#line 519 "simple.y"
{ int tmp;
	 tmp = K00getIncetanceVariable("K00sizeof")
	   +K00getIncetanceVariable("K00start");
	 pkkanInteger(tmp);
	 pkkan(" ");
	 pkkan(K00getCurrentContextName());
	 pkkan(" cclass \n");
       ;
    break;}
case 163:
#line 528 "simple.y"
{ int tmp;
         pkkan(" PrimitiveObject ");
	 tmp = K00getIncetanceVariable("K00sizeof")
	   +K00getIncetanceVariable("K00start");
	 pkkanInteger(tmp);
	 pkkan(" ");
	 pkkan(K00getCurrentContextName());
	 pkkan(" cclass \n");
       ;
    break;}
}
   /* the action file gets copied in in place of this dollarsign */
#line 543 "/usr/local/share/bison.simple"

  yyvsp -= yylen;
  yyssp -= yylen;
#ifdef YYLSP_NEEDED
  yylsp -= yylen;
#endif

#if YYDEBUG != 0
  if (yydebug)
    {
      short *ssp1 = yyss - 1;
      fprintf (stderr, "state stack now");
      while (ssp1 != yyssp)
	fprintf (stderr, " %d", *++ssp1);
      fprintf (stderr, "\n");
    }
#endif

  *++yyvsp = yyval;

#ifdef YYLSP_NEEDED
  yylsp++;
  if (yylen == 0)
    {
      yylsp->first_line = yylloc.first_line;
      yylsp->first_column = yylloc.first_column;
      yylsp->last_line = (yylsp-1)->last_line;
      yylsp->last_column = (yylsp-1)->last_column;
      yylsp->text = 0;
    }
  else
    {
      yylsp->last_line = (yylsp+yylen-1)->last_line;
      yylsp->last_column = (yylsp+yylen-1)->last_column;
    }
#endif

  /* Now "shift" the result of the reduction.
     Determine what state that goes to,
     based on the state we popped back to
     and the rule number reduced by.  */

  yyn = yyr1[yyn];

  yystate = yypgoto[yyn - YYNTBASE] + *yyssp;
  if (yystate >= 0 && yystate <= YYLAST && yycheck[yystate] == *yyssp)
    yystate = yytable[yystate];
  else
    yystate = yydefgoto[yyn - YYNTBASE];

  goto yynewstate;

yyerrlab:   /* here on detecting error */

  if (! yyerrstatus)
    /* If not already recovering from an error, report this error.  */
    {
      ++yynerrs;

#ifdef YYERROR_VERBOSE
      yyn = yypact[yystate];

      if (yyn > YYFLAG && yyn < YYLAST)
	{
	  int size = 0;
	  char *msg;
	  int x, count;

	  count = 0;
	  /* Start X at -yyn if nec to avoid negative indexes in yycheck.  */
	  for (x = (yyn < 0 ? -yyn : 0);
	       x < (sizeof(yytname) / sizeof(char *)); x++)
	    if (yycheck[x + yyn] == x)
	      size += strlen(yytname[x]) + 15, count++;
	  msg = (char *) malloc(size + 15);
	  if (msg != 0)
	    {
	      strcpy(msg, "parse error");

	      if (count < 5)
		{
		  count = 0;
		  for (x = (yyn < 0 ? -yyn : 0);
		       x < (sizeof(yytname) / sizeof(char *)); x++)
		    if (yycheck[x + yyn] == x)
		      {
			strcat(msg, count == 0 ? ", expecting `" : " or `");
			strcat(msg, yytname[x]);
			strcat(msg, "'");
			count++;
		      }
		}
	      yyerror(msg);
	      free(msg);
	    }
	  else
	    yyerror ("parse error; also virtual memory exceeded");
	}
      else
#endif /* YYERROR_VERBOSE */
	yyerror("parse error");
    }

  goto yyerrlab1;
yyerrlab1:   /* here on error raised explicitly by an action */

  if (yyerrstatus == 3)
    {
      /* if just tried and failed to reuse lookahead token after an error, discard it.  */

      /* return failure if at end of input */
      if (yychar == YYEOF)
	YYABORT;

#if YYDEBUG != 0
      if (yydebug)
	fprintf(stderr, "Discarding token %d (%s).\n", yychar, yytname[yychar1]);
#endif

      yychar = YYEMPTY;
    }

  /* Else will try to reuse lookahead token
     after shifting the error token.  */

  yyerrstatus = 3;		/* Each real token shifted decrements this */

  goto yyerrhandle;

yyerrdefault:  /* current state does not do anything special for the error token. */

#if 0
  /* This is wrong; only states that explicitly want error tokens
     should shift them.  */
  yyn = yydefact[yystate];  /* If its default is to accept any token, ok.  Otherwise pop it.*/
  if (yyn) goto yydefault;
#endif

yyerrpop:   /* pop the current state because it cannot handle the error token */

  if (yyssp == yyss) YYABORT;
  yyvsp--;
  yystate = *--yyssp;
#ifdef YYLSP_NEEDED
  yylsp--;
#endif

#if YYDEBUG != 0
  if (yydebug)
    {
      short *ssp1 = yyss - 1;
      fprintf (stderr, "Error: state stack now");
      while (ssp1 != yyssp)
	fprintf (stderr, " %d", *++ssp1);
      fprintf (stderr, "\n");
    }
#endif

yyerrhandle:

  yyn = yypact[yystate];
  if (yyn == YYFLAG)
    goto yyerrdefault;

  yyn += YYTERROR;
  if (yyn < 0 || yyn > YYLAST || yycheck[yyn] != YYTERROR)
    goto yyerrdefault;

  yyn = yytable[yyn];
  if (yyn < 0)
    {
      if (yyn == YYFLAG)
	goto yyerrpop;
      yyn = -yyn;
      goto yyreduce;
    }
  else if (yyn == 0)
    goto yyerrpop;

  if (yyn == YYFINAL)
    YYACCEPT;

#if YYDEBUG != 0
  if (yydebug)
    fprintf(stderr, "Shifting error token, ");
#endif

  *++yyvsp = yylval;
#ifdef YYLSP_NEEDED
  *++yylsp = yylloc;
#endif

  yystate = yyn;
  goto yynewstate;

 yyacceptlab:
  /* YYACCEPT comes here.  */
  if (yyfree_stacks)
    {
      free (yyss);
      free (yyvs);
#ifdef YYLSP_NEEDED
      free (yyls);
#endif
    }
  return 0;

 yyabortlab:
  /* YYABORT comes here.  */
  if (yyfree_stacks)
    {
      free (yyss);
      free (yyvs);
#ifdef YYLSP_NEEDED
      free (yyls);
#endif
    }
  return 1;
}
#line 544 "simple.y"