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

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

#define	BREAK	257
#define	FOR	258
#define	CONTINUE	259
#define	IF	260
#define	ELSE	261
#define	DO	262
#define	WHILE	263
#define	THIS	264
#define	EVAL	265
#define	TIME	266
#define	RANDOM	267
#define	LENGTH	268
#define	INT	269
#define	CONCAT	270
#define	DUPLICATECLIP	271
#define	REMOVECLIP	272
#define	TRACE	273
#define	STARTDRAG	274
#define	STOPDRAG	275
#define	ORD	276
#define	CHR	277
#define	CALLFRAME	278
#define	GETURL	279
#define	GETURL1	280
#define	LOADMOVIE	281
#define	LOADVARIABLES	282
#define	POSTURL	283
#define	SUBSTR	284
#define	NEXTFRAME	285
#define	PREVFRAME	286
#define	PLAY	287
#define	STOP	288
#define	TOGGLEQUALITY	289
#define	STOPSOUNDS	290
#define	GOTOFRAME	291
#define	FRAMELOADED	292
#define	SETTARGET	293
#define	STRING	294
#define	NUMBER	295
#define	IDENTIFIER	296
#define	GETURL_METHOD	297
#define	EQ	298
#define	LE	299
#define	GE	300
#define	NE	301
#define	LAN	302
#define	LOR	303
#define	INC	304
#define	DEC	305
#define	IEQ	306
#define	DEQ	307
#define	MEQ	308
#define	SEQ	309
#define	STREQ	310
#define	STRNE	311
#define	STRCMP	312
#define	PARENT	313
#define	END	314
#define	UMINUS	315
#define	POSTFIX	316
#define	NEGATE	317

#line 3 "compiler.y"


#include <time.h>
#include <string.h>
#include "compile.h"

#define YYPARSE_PARAM buffer


#line 13 "compiler.y"
typedef union {
  Buffer action;
  char *str;
  SWFActionFunction function;
  SWFGetUrl2Method getURLMethod;
} YYSTYPE;
#ifndef YYDEBUG
#define YYDEBUG 1
#endif

#include <stdio.h>

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



#define	YYFINAL		346
#define	YYFLAG		-32768
#define	YYNTBASE	82

#define YYTRANSLATE(x) ((unsigned)(x) <= 317 ? yytranslate[x] : 104)

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,    73,     2,     2,     2,     2,    67,     2,    79,
    80,    70,    68,    61,    69,    81,    71,     2,     2,     2,
     2,     2,     2,     2,     2,     2,     2,    64,    78,    65,
    62,    66,    63,     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,    76,     2,    77,     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,     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,    59,    60,    72,    74,    75
};

#if YYDEBUG != 0
static const short yyprhs[] = {     0,
     0,     2,     4,     7,     9,    12,    16,    18,    21,    23,
    25,    27,    29,    31,    35,    36,    38,    41,    52,    61,
    71,    79,    85,    86,    88,    98,   104,   111,   121,   122,
   124,   127,   130,   134,   139,   144,   149,   156,   165,   172,
   179,   188,   195,   204,   211,   226,   235,   239,   243,   247,
   251,   255,   259,   264,   269,   274,   279,   284,   289,   293,
   298,   303,   308,   313,   318,   325,   334,   337,   340,   342,
   346,   348,   351,   353,   355,   357,   361,   366,   369,   374,
   377,   380,   383,   387,   391,   395,   399,   403,   407,   411,
   415,   419,   423,   427,   431,   435,   439,   443,   447,   451,
   457,   459,   462,   466,   470,   472,   476,   478,   480,   482,
   485,   489,   492,   494,   496,   500,   502,   504,   507,   510,
   515,   520,   524,   528,   532,   536,   540,   546,   552,   558,
   564,   570
};

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

#endif

#if YYDEBUG != 0
static const short yyrline[] = { 0,
   135,   139,   140,   145,   149,   150,   151,   152,   153,   154,
   155,   156,   160,   161,   165,   166,   167,   174,   190,   206,
   218,   229,   238,   239,   263,   278,   290,   298,   316,   317,
   321,   329,   337,   341,   348,   352,   357,   364,   371,   380,
   387,   394,   401,   409,   416,   428,   437,   441,   445,   449,
   453,   457,   461,   468,   475,   481,   488,   494,   498,   502,
   506,   510,   514,   518,   522,   527,   535,   546,   560,   562,
   565,   570,   576,   581,   587,   592,   600,   615,   624,   639,
   648,   653,   657,   663,   668,   673,   678,   683,   688,   693,
   698,   704,   709,   714,   718,   722,   726,   731,   735,   739,
   751,   754,   757,   761,   768,   770,   777,   780,   783,   786,
   790,   793,   799,   804,   809,   813,   815,   817,   825,   833,
   846,   859,   863,   870,   877,   884,   891,   900,   913,   926,
   939,   954
};
#endif


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

static const char * const yytname[] = {   "$","error","$undefined.","BREAK",
"FOR","CONTINUE","IF","ELSE","DO","WHILE","THIS","EVAL","TIME","RANDOM","LENGTH",
"INT","CONCAT","DUPLICATECLIP","REMOVECLIP","TRACE","STARTDRAG","STOPDRAG","ORD",
"CHR","CALLFRAME","GETURL","GETURL1","LOADMOVIE","LOADVARIABLES","POSTURL","SUBSTR",
"NEXTFRAME","PREVFRAME","PLAY","STOP","TOGGLEQUALITY","STOPSOUNDS","GOTOFRAME",
"FRAMELOADED","SETTARGET","STRING","NUMBER","IDENTIFIER","GETURL_METHOD","\"==\"",
"\"<=\"","\">=\"","\"!=\"","\"&&\"","\"||\"","\"++\"","\"--\"","\"+=\"","\"/=\"",
"\"*=\"","\"-=\"","\"===\"","\"!==\"","\"<=>\"","\"..\"","\"end\"","','","'='",
"'?'","':'","'<'","'>'","'&'","'+'","'-'","'*'","'/'","UMINUS","'!'","POSTFIX",
"NEGATE","'{'","'}'","';'","'('","')'","'.'","program","elems","elem","stmt",
"assign_stmts","statements","if_stmt","expr_opt","iter_stmt","assign_stmts_opt",
"cont_stmt","break_stmt","void_function_call","function_call","pf_expr","rhs_expr",
"sprite_path","variable","sprite","lhs_expr","assign_stmt","expr", NULL
};
#endif

static const short yyr1[] = {     0,
    82,    83,    83,    84,    85,    85,    85,    85,    85,    85,
    85,    85,    86,    86,    87,    87,    87,    88,    88,    88,
    88,    88,    89,    89,    90,    90,    90,    90,    91,    91,
    92,    93,    94,    94,    94,    94,    94,    94,    94,    94,
    94,    94,    94,    94,    94,    94,    94,    94,    94,    94,
    94,    94,    94,    94,    94,    94,    94,    95,    95,    95,
    95,    95,    95,    95,    95,    95,    96,    96,    97,    97,
    97,    97,    97,    97,    97,    97,    97,    97,    97,    97,
    97,    97,    97,    97,    97,    97,    97,    97,    97,    97,
    97,    97,    97,    97,    97,    97,    97,    97,    97,    97,
    98,    98,    98,    98,    99,    99,   100,   100,   100,   100,
   100,   100,   101,   101,   101,   102,   102,   102,   102,   102,
   102,   102,   102,   102,   102,   102,   102,   102,   102,   102,
   102,   103
};

static const short yyr2[] = {     0,
     1,     1,     2,     1,     2,     3,     1,     2,     1,     1,
     1,     1,     1,     3,     0,     1,     2,    10,     8,     9,
     7,     5,     0,     1,     9,     5,     6,     9,     0,     1,
     2,     2,     3,     4,     4,     4,     6,     8,     6,     6,
     8,     6,     8,     6,    14,     8,     3,     3,     3,     3,
     3,     3,     4,     4,     4,     4,     4,     4,     3,     4,
     4,     4,     4,     4,     6,     8,     2,     2,     1,     3,
     1,     2,     1,     1,     1,     3,     4,     2,     4,     2,
     2,     2,     3,     3,     3,     3,     3,     3,     3,     3,
     3,     3,     3,     3,     3,     3,     3,     3,     3,     5,
     1,     2,     3,     3,     1,     3,     1,     1,     1,     2,
     3,     2,     1,     1,     3,     1,     1,     2,     2,     4,
     4,     3,     3,     3,     3,     3,     5,     5,     5,     5,
     5,     1
};

static const short yydefact[] = {     0,
     0,     0,     0,     0,     0,     0,   107,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,   114,   105,     0,     0,   109,
   108,     0,     7,     0,     0,     1,     2,     4,     9,    10,
    11,    12,   117,   116,     0,   113,     0,     0,     0,    32,
    29,    31,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,   118,     0,   119,   102,     5,    16,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
    73,    71,     0,     0,     0,     0,     0,    69,     0,    74,
    75,     0,     0,     3,   112,   110,     0,     0,    67,    68,
     0,     0,     0,     0,     0,     8,    30,     0,    13,     0,
     0,   132,     0,     0,     0,     0,     0,     0,     0,     0,
    33,     0,     0,     0,     0,     0,     0,    47,    48,    49,
    50,    51,    52,    73,    71,     0,    73,     0,     0,     0,
     6,    17,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,    78,     0,    80,    71,    81,    82,     0,     0,
     0,     0,     0,     0,     0,     0,     0,     0,     0,     0,
     0,     0,     0,     0,     0,     0,   115,     0,     0,   111,
   104,   103,   106,     0,   125,   124,   123,   126,   122,     0,
    23,     0,     0,     0,     0,     0,     0,     0,    35,    36,
     0,    34,     0,     0,     0,     0,    54,    53,    55,    56,
    57,   120,   121,     0,    59,     0,     0,     0,     0,     0,
     0,     0,     0,     0,    70,    96,    91,    92,    97,    98,
    99,    94,    93,    95,     0,    89,    90,    88,    86,    87,
    84,    85,    76,    83,     0,     0,     0,     0,     0,    14,
     0,    24,     0,     0,    22,     0,     0,    26,     0,     0,
     0,     0,     0,     0,    58,    60,    61,    62,     0,    63,
    64,     0,    77,    79,     0,   130,   129,   128,   131,   127,
    29,     0,     0,     0,    27,     0,     0,     0,    44,     0,
    37,    39,     0,    40,     0,    42,     0,     0,   100,     0,
     0,     0,    21,     0,     0,     0,     0,     0,     0,    65,
     0,     0,    19,     0,     0,    46,     0,    38,    41,    43,
     0,    28,     0,    20,    25,     0,    66,    18,     0,     0,
     0,     0,    45,     0,     0,     0
};

static const short yydefgoto[] = {   344,
    36,    37,    38,   117,    81,    39,   261,    40,   118,    41,
    42,    43,    98,    44,   122,    45,   100,   101,   102,    49,
   123
};

static const short yypact[] = {   612,
   -41,   -40,   -38,   -29,   612,   -27,-32768,   -24,   -20,   -19,
   -15,   -14,    -8,    12,    19,    22,    27,    28,    45,    47,
    49,    58,    70,    71,    75,-32768,-32768,    46,    46,    48,
   -35,   453,-32768,     3,    52,   612,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,-32768,    21,-32768,    -6,    90,    38,-32768,
   138,-32768,   654,   144,   780,     3,     3,     3,     3,    80,
    37,     3,   121,     3,     3,    87,    88,    96,    99,   105,
   106,   822,   864,     2,-32768,     4,-32768,-32768,-32768,-32768,
   533,   108,   111,   119,   120,   122,   123,   124,   126,   132,
   146,-32768,    46,    46,   906,     3,     3,-32768,   925,   150,
    14,   152,   173,-32768,   145,   147,   179,   180,-32768,-32768,
     3,     3,     3,     3,     3,-32768,   163,   148,-32768,   149,
   696,   532,   156,   164,   738,   166,   183,   167,   176,   196,
-32768,   185,   161,   205,   206,   207,   208,-32768,-32768,-32768,
-32768,-32768,-32768,   -50,   190,   191,   -31,   192,   231,   232,
-32768,-32768,     3,   197,     3,     3,     3,     3,     3,     3,
     3,    39,-32768,    40,-32768,-32768,-32768,-32768,   953,     3,
     3,     3,     3,     3,     3,     3,     3,     3,     3,     3,
     3,     3,     3,     3,     3,     3,-32768,   234,     3,-32768,
-32768,-32768,-32768,   129,   532,   532,   532,   532,   532,   138,
     3,   237,   201,   612,     3,   202,   612,     3,-32768,-32768,
     3,-32768,     3,   243,     3,     3,-32768,-32768,-32768,-32768,
-32768,-32768,-32768,   204,-32768,   212,   213,   215,   225,   216,
   219,   227,   259,   260,   241,    44,   125,   125,    44,   193,
   193,    44,    44,   125,   360,   125,   125,   184,   -61,   -61,
-32768,-32768,-32768,   532,     3,     3,     3,     3,     3,-32768,
   226,-32768,   228,   265,   298,   229,   266,-32768,   251,   -60,
   -58,   233,   -57,   -53,-32768,-32768,-32768,-32768,     3,-32768,
-32768,     3,-32768,-32768,     3,   532,   532,   532,   532,   532,
   138,   235,   236,   612,-32768,   238,     3,     3,-32768,   271,
-32768,-32768,   276,-32768,   277,-32768,   246,   262,   981,   249,
   612,   254,-32768,   256,   257,   281,   263,   267,   268,-32768,
     3,   612,   314,   612,   612,-32768,     3,-32768,-32768,-32768,
   270,-32768,   612,-32768,-32768,   283,-32768,-32768,     3,   284,
     3,   274,-32768,   346,   351,-32768
};

static const short yypgoto[] = {-32768,
-32768,   319,    16,-32768,-32768,-32768,-32768,-32768,    66,-32768,
-32768,-32768,-32768,-32768,   264,-32768,     0,     6,    41,   -49,
    74
};


#define	YYLAST		1052


static const short yytable[] = {    46,
   298,   119,   300,   303,    46,    47,  -101,   305,   185,   186,
    47,  -114,     7,    82,    83,    84,    85,    86,    87,   299,
    54,   301,   304,  -101,    88,    89,   306,    46,    46,   217,
  -114,    46,    90,    74,    76,    46,    50,    47,    51,    52,
    48,    47,    91,    92,    27,    48,     7,    80,   220,    53,
    46,    55,    93,    94,    56,     7,    47,   107,    57,    58,
   132,    30,   105,    59,    60,   107,   133,   107,    75,    77,
    61,    95,    48,    31,   108,    96,    48,   107,    27,   106,
    46,    97,   149,    35,   150,    26,    47,    27,   171,   172,
    62,    48,    46,    46,   188,    30,   152,    63,   162,   164,
    64,   178,   107,   107,    30,    65,    66,    31,   180,   181,
   182,   183,   184,   185,   186,   116,    31,    35,    78,   233,
   234,    48,   103,    67,    34,    68,    35,    69,   126,   127,
   128,   129,   130,   163,   165,   134,    70,   136,   137,   109,
   110,   111,   112,   113,   114,   146,   148,     7,    71,    72,
   260,   115,   124,    73,     8,     9,    10,    11,    12,   131,
   135,    13,    14,    15,    16,    17,   138,   139,    18,    19,
    20,    21,    22,    23,    24,   140,    25,    26,   141,    27,
   255,   256,   257,   258,   142,   143,   153,    28,    29,   154,
   259,   182,   183,   184,   185,   186,    30,   155,   156,    46,
   157,   158,   159,    46,   160,    47,    46,  -114,    31,    47,
   161,  -113,    47,   189,   190,   191,    34,   192,    35,   265,
   193,   194,   268,   200,   107,   201,   224,   202,   226,   227,
   228,   229,   230,   231,   232,   204,   170,   171,   172,   173,
    48,   119,   205,   208,    48,   207,   209,    48,   176,   177,
   178,   183,   184,   185,   186,   210,   211,   180,   181,   182,
   183,   184,   185,   186,   212,   213,   214,   215,   216,   218,
   219,   221,   222,   223,   262,   253,   225,   263,   266,   264,
   267,   269,   272,   275,   270,   279,   271,   282,   273,   274,
    46,   276,   277,    46,   278,   280,    47,    99,   281,    47,
   283,   284,  -115,   291,   294,   293,   296,   292,   295,   313,
    46,   297,   302,   317,   311,   312,    47,   314,   318,   319,
   333,    46,   321,    46,    46,   320,   323,    47,   322,    47,
    47,    48,    46,   324,    48,   325,   326,   332,    47,   334,
   335,   327,   328,   339,   341,   345,   329,   330,   338,   337,
   346,    48,   307,   343,   104,   308,   310,     0,   167,   168,
   169,     0,    48,     0,    48,    48,     0,     0,     0,     0,
   315,   316,     0,    48,   195,   196,   197,   198,   199,     0,
     0,     0,     0,     0,   168,     0,     0,     0,   168,     0,
     0,     0,     0,     0,   331,     0,     0,     0,     0,     0,
   336,     0,     0,   170,   171,   172,   173,   174,   175,     0,
     0,     0,   340,     0,   342,   176,   177,   178,     0,     0,
     0,     0,   179,   285,   180,   181,   182,   183,   184,   185,
   186,     0,     0,   236,   237,   238,   239,   240,   241,   242,
   243,   244,   245,   246,   247,   248,   249,   250,   251,   252,
     0,     0,   254,     0,     0,     1,     2,     3,     4,     0,
     5,     6,     7,     0,     0,     0,     0,     0,     0,     8,
     9,    10,    11,    12,     0,     0,    13,    14,    15,    16,
    17,     0,     0,    18,    19,    20,    21,    22,    23,    24,
     0,    25,    26,     0,    27,     0,     0,     0,     0,     0,
     0,     0,    28,    29,     0,     0,     0,     0,     0,     0,
     0,    30,     0,     0,     0,     0,     0,     0,   286,   287,
   288,   289,   290,    31,     0,     0,     0,     0,    32,    79,
    33,    34,     0,    35,     0,     1,     2,     3,     4,     0,
     5,     6,     7,     0,     0,     0,     0,     0,   309,     8,
     9,    10,    11,    12,     0,     0,    13,    14,    15,    16,
    17,     0,     0,    18,    19,    20,    21,    22,    23,    24,
     0,    25,    26,     0,    27,   170,   171,   172,   173,   174,
   175,     0,    28,    29,     0,     0,     0,   176,   177,   178,
     0,    30,     0,     0,   179,     0,   180,   181,   182,   183,
   184,   185,   186,    31,     0,     0,     0,     0,    32,   151,
    33,    34,     0,    35,     1,     2,     3,     4,     0,     5,
     6,     7,     0,     0,     0,     0,     0,     0,     8,     9,
    10,    11,    12,     0,     0,    13,    14,    15,    16,    17,
     0,     0,    18,    19,    20,    21,    22,    23,    24,     0,
    25,    26,     0,    27,     0,     0,     0,     0,     0,     0,
     0,    28,    29,     7,    82,    83,    84,    85,    86,    87,
    30,     0,     0,     0,     0,    88,    89,     0,     0,     0,
     0,     0,    31,    90,     0,     0,     0,    32,     0,    33,
    34,   120,    35,    91,    92,    27,     0,     0,     0,     0,
     0,     0,     0,    93,    94,     7,    82,    83,    84,    85,
    86,    87,    30,     0,     0,     0,     0,    88,    89,     0,
     0,     0,    95,     0,    31,    90,   121,     0,     0,     0,
     0,     0,    97,   203,    35,    91,    92,    27,     0,     0,
     0,     0,     0,     0,     0,    93,    94,     7,    82,    83,
    84,    85,    86,    87,    30,     0,     0,     0,     0,    88,
    89,     0,     0,     0,    95,     0,    31,    90,    96,     0,
     0,     0,     0,     0,    97,   206,    35,    91,    92,    27,
     0,     0,     0,     0,     0,     0,     0,    93,    94,     7,
    82,    83,    84,    85,    86,    87,    30,     0,     0,     0,
     0,    88,    89,     0,     0,     0,    95,     0,    31,    90,
    96,     0,     0,     0,     0,     0,    97,     0,    35,    91,
    92,    27,     0,     0,     0,     0,     0,     0,     0,    93,
    94,     7,    82,    83,    84,    85,    86,    87,    30,     0,
     0,     0,     0,    88,    89,     0,     0,     0,    95,     0,
    31,    90,   125,     0,     0,     0,     0,     0,    97,     0,
    35,   144,   145,    27,     0,     0,     0,     0,     0,     0,
     0,    93,    94,     7,    82,    83,    84,    85,    86,    87,
    30,     0,     0,     0,     0,    88,    89,     0,     0,     0,
    95,     0,    31,    90,    96,     0,     0,     0,     0,     0,
    97,     0,    35,   147,    92,    27,     0,     0,     0,     0,
     0,     0,     0,    93,    94,     7,    82,    83,    84,    85,
    86,    87,    30,     0,     0,     0,     0,    88,    89,     0,
     0,     0,    95,     0,    31,    90,    96,     0,     0,     0,
     0,     0,    97,     0,    35,    91,   166,    27,     0,     0,
     0,     0,     0,     0,     0,    93,    94,     0,     0,     0,
     0,     0,     0,     0,    30,     0,     0,     0,   170,   171,
   172,   173,   174,   175,    95,     0,    31,     0,    96,     0,
   176,   177,   178,     0,    97,     0,    35,   179,     0,   180,
   181,   182,   183,   184,   185,   186,   170,   171,   172,   173,
   174,   175,     0,     0,   187,     0,     0,     0,   176,   177,
   178,     0,     0,     0,     0,   179,     0,   180,   181,   182,
   183,   184,   185,   186,   170,   171,   172,   173,   174,   175,
     0,     0,   235,     0,     0,     0,   176,   177,   178,     0,
     0,     0,     0,     0,     0,   180,   181,   182,   183,   184,
   185,   186
};

static const short yycheck[] = {     0,
    61,    51,    61,    61,     5,     0,    42,    61,    70,    71,
     5,    62,    10,    11,    12,    13,    14,    15,    16,    80,
     5,    80,    80,    59,    22,    23,    80,    28,    29,    80,
    62,    32,    30,    28,    29,    36,    78,    32,    79,    78,
     0,    36,    40,    41,    42,     5,    10,    32,    80,    79,
    51,    79,    50,    51,    79,    10,    51,    64,    79,    79,
    61,    59,    42,    79,    79,    64,    61,    64,    28,    29,
    79,    69,    32,    71,    81,    73,    36,    64,    42,    59,
    81,    79,    81,    81,    81,    40,    81,    42,    45,    46,
    79,    51,    93,    94,    81,    59,    81,    79,    93,    94,
    79,    58,    64,    64,    59,    79,    79,    71,    65,    66,
    67,    68,    69,    70,    71,    78,    71,    81,    71,    81,
    81,    81,    71,    79,    79,    79,    81,    79,    55,    56,
    57,    58,    59,    93,    94,    62,    79,    64,    65,    50,
    51,    52,    53,    54,    55,    72,    73,    10,    79,    79,
   200,    62,     9,    79,    17,    18,    19,    20,    21,    80,
    40,    24,    25,    26,    27,    28,    80,    80,    31,    32,
    33,    34,    35,    36,    37,    80,    39,    40,    80,    42,
    52,    53,    54,    55,    80,    80,    79,    50,    51,    79,
    62,    67,    68,    69,    70,    71,    59,    79,    79,   200,
    79,    79,    79,   204,    79,   200,   207,    62,    71,   204,
    79,    62,   207,    62,    42,    71,    79,    71,    81,   204,
    42,    42,   207,    61,    64,    78,   153,    79,   155,   156,
   157,   158,   159,   160,   161,    80,    44,    45,    46,    47,
   200,   291,    79,    61,   204,    80,    80,   207,    56,    57,
    58,    68,    69,    70,    71,    80,    61,    65,    66,    67,
    68,    69,    70,    71,    80,    61,    61,    61,    61,    80,
    80,    80,    42,    42,   201,    42,    80,    41,   205,    79,
    79,   208,    40,    80,   211,    61,   213,    61,   215,   216,
   291,    80,    80,   294,    80,    80,   291,    34,    80,   294,
    42,    42,    62,    78,     7,    41,    41,    80,    80,   294,
   311,    61,    80,    43,    80,    80,   311,    80,    43,    43,
     7,   322,    61,   324,   325,    80,   311,   322,    80,   324,
   325,   291,   333,    80,   294,    80,    80,   322,   333,   324,
   325,    61,    80,    61,    61,     0,    80,    80,   333,    80,
     0,   311,   279,    80,    36,   282,   291,    -1,    95,    96,
    97,    -1,   322,    -1,   324,   325,    -1,    -1,    -1,    -1,
   297,   298,    -1,   333,   111,   112,   113,   114,   115,    -1,
    -1,    -1,    -1,    -1,   121,    -1,    -1,    -1,   125,    -1,
    -1,    -1,    -1,    -1,   321,    -1,    -1,    -1,    -1,    -1,
   327,    -1,    -1,    44,    45,    46,    47,    48,    49,    -1,
    -1,    -1,   339,    -1,   341,    56,    57,    58,    -1,    -1,
    -1,    -1,    63,    64,    65,    66,    67,    68,    69,    70,
    71,    -1,    -1,   170,   171,   172,   173,   174,   175,   176,
   177,   178,   179,   180,   181,   182,   183,   184,   185,   186,
    -1,    -1,   189,    -1,    -1,     3,     4,     5,     6,    -1,
     8,     9,    10,    -1,    -1,    -1,    -1,    -1,    -1,    17,
    18,    19,    20,    21,    -1,    -1,    24,    25,    26,    27,
    28,    -1,    -1,    31,    32,    33,    34,    35,    36,    37,
    -1,    39,    40,    -1,    42,    -1,    -1,    -1,    -1,    -1,
    -1,    -1,    50,    51,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    59,    -1,    -1,    -1,    -1,    -1,    -1,   255,   256,
   257,   258,   259,    71,    -1,    -1,    -1,    -1,    76,    77,
    78,    79,    -1,    81,    -1,     3,     4,     5,     6,    -1,
     8,     9,    10,    -1,    -1,    -1,    -1,    -1,   285,    17,
    18,    19,    20,    21,    -1,    -1,    24,    25,    26,    27,
    28,    -1,    -1,    31,    32,    33,    34,    35,    36,    37,
    -1,    39,    40,    -1,    42,    44,    45,    46,    47,    48,
    49,    -1,    50,    51,    -1,    -1,    -1,    56,    57,    58,
    -1,    59,    -1,    -1,    63,    -1,    65,    66,    67,    68,
    69,    70,    71,    71,    -1,    -1,    -1,    -1,    76,    77,
    78,    79,    -1,    81,     3,     4,     5,     6,    -1,     8,
     9,    10,    -1,    -1,    -1,    -1,    -1,    -1,    17,    18,
    19,    20,    21,    -1,    -1,    24,    25,    26,    27,    28,
    -1,    -1,    31,    32,    33,    34,    35,    36,    37,    -1,
    39,    40,    -1,    42,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    50,    51,    10,    11,    12,    13,    14,    15,    16,
    59,    -1,    -1,    -1,    -1,    22,    23,    -1,    -1,    -1,
    -1,    -1,    71,    30,    -1,    -1,    -1,    76,    -1,    78,
    79,    38,    81,    40,    41,    42,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    50,    51,    10,    11,    12,    13,    14,
    15,    16,    59,    -1,    -1,    -1,    -1,    22,    23,    -1,
    -1,    -1,    69,    -1,    71,    30,    73,    -1,    -1,    -1,
    -1,    -1,    79,    38,    81,    40,    41,    42,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    50,    51,    10,    11,    12,
    13,    14,    15,    16,    59,    -1,    -1,    -1,    -1,    22,
    23,    -1,    -1,    -1,    69,    -1,    71,    30,    73,    -1,
    -1,    -1,    -1,    -1,    79,    38,    81,    40,    41,    42,
    -1,    -1,    -1,    -1,    -1,    -1,    -1,    50,    51,    10,
    11,    12,    13,    14,    15,    16,    59,    -1,    -1,    -1,
    -1,    22,    23,    -1,    -1,    -1,    69,    -1,    71,    30,
    73,    -1,    -1,    -1,    -1,    -1,    79,    -1,    81,    40,
    41,    42,    -1,    -1,    -1,    -1,    -1,    -1,    -1,    50,
    51,    10,    11,    12,    13,    14,    15,    16,    59,    -1,
    -1,    -1,    -1,    22,    23,    -1,    -1,    -1,    69,    -1,
    71,    30,    73,    -1,    -1,    -1,    -1,    -1,    79,    -1,
    81,    40,    41,    42,    -1,    -1,    -1,    -1,    -1,    -1,
    -1,    50,    51,    10,    11,    12,    13,    14,    15,    16,
    59,    -1,    -1,    -1,    -1,    22,    23,    -1,    -1,    -1,
    69,    -1,    71,    30,    73,    -1,    -1,    -1,    -1,    -1,
    79,    -1,    81,    40,    41,    42,    -1,    -1,    -1,    -1,
    -1,    -1,    -1,    50,    51,    10,    11,    12,    13,    14,
    15,    16,    59,    -1,    -1,    -1,    -1,    22,    23,    -1,
    -1,    -1,    69,    -1,    71,    30,    73,    -1,    -1,    -1,
    -1,    -1,    79,    -1,    81,    40,    41,    42,    -1,    -1,
    -1,    -1,    -1,    -1,    -1,    50,    51,    -1,    -1,    -1,
    -1,    -1,    -1,    -1,    59,    -1,    -1,    -1,    44,    45,
    46,    47,    48,    49,    69,    -1,    71,    -1,    73,    -1,
    56,    57,    58,    -1,    79,    -1,    81,    63,    -1,    65,
    66,    67,    68,    69,    70,    71,    44,    45,    46,    47,
    48,    49,    -1,    -1,    80,    -1,    -1,    -1,    56,    57,
    58,    -1,    -1,    -1,    -1,    63,    -1,    65,    66,    67,
    68,    69,    70,    71,    44,    45,    46,    47,    48,    49,
    -1,    -1,    80,    -1,    -1,    -1,    56,    57,    58,    -1,
    -1,    -1,    -1,    -1,    -1,    65,    66,    67,    68,    69,
    70,    71
};
/* -*-C-*-  Note some compilers choke on comments on `#line' lines.  */
#line 3 "/usr/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/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 1:
#line 136 "compiler.y"
{ *((Buffer *)buffer) = yyvsp[0].action; ;
    break;}
case 3:
#line 141 "compiler.y"
{ bufferConcat(yyvsp[-1].action, yyvsp[0].action); ;
    break;}
case 5:
#line 149 "compiler.y"
{ yyval.action = NULL; ;
    break;}
case 6:
#line 150 "compiler.y"
{ yyval.action = yyvsp[-1].action; ;
    break;}
case 7:
#line 151 "compiler.y"
{ yyval.action = NULL; ;
    break;}
case 14:
#line 161 "compiler.y"
{ bufferConcat(yyvsp[-2].action, yyvsp[0].action); ;
    break;}
case 15:
#line 165 "compiler.y"
{ yyval.action = NULL; ;
    break;}
case 17:
#line 168 "compiler.y"
{ bufferConcat(yyvsp[-1].action, yyvsp[0].action); ;
    break;}
case 18:
#line 175 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_WAITFORFRAME);
		  bufferWriteS16(yyval.action, 3);
		  bufferWriteS16(yyval.action, atoi(yyvsp[-5].str));
		  free(yyvsp[-5].str);
		  bufferWriteU8(yyval.action, 1);		/* if not loaded, jump to.. */
		  bufferWriteU8(yyval.action, SWFACTION_BRANCHALWAYS);
		  bufferWriteS16(yyval.action, 2);
		  bufferWriteS16(yyval.action, bufferLength(yyvsp[0].action)+5);
		  bufferConcat(yyval.action, yyvsp[0].action);			  /* ..here */
		  bufferWriteU8(yyval.action, SWFACTION_BRANCHALWAYS);
		  bufferWriteS16(yyval.action, 2);
		  bufferWriteS16(yyval.action, bufferLength(yyvsp[-2].action));
		  bufferConcat(yyval.action, yyvsp[-2].action); ;
    break;}
case 19:
#line 191 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_WAITFORFRAME);
		  bufferWriteS16(yyval.action, 3);
		  bufferWriteS16(yyval.action, atoi(yyvsp[-3].str));
		  free(yyvsp[-3].str);
		  bufferWriteU8(yyval.action, 1);		/* if not loaded, jump to.. */
		  bufferWriteU8(yyval.action, SWFACTION_BRANCHALWAYS);
		  bufferWriteS16(yyval.action, 2);
		  bufferWriteS16(yyval.action, 5);
		  bufferWriteU8(yyval.action, SWFACTION_BRANCHALWAYS);	  /* ..here */
		  bufferWriteS16(yyval.action, 2);
		  bufferWriteS16(yyval.action, bufferLength(yyvsp[0].action));	  /* ..and then out */
		  bufferConcat(yyval.action, yyvsp[0].action); ;
    break;}
case 20:
#line 207 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_WAITFORFRAME);
		  bufferWriteS16(yyval.action, 3);
		  bufferWriteS16(yyval.action, atoi(yyvsp[-3].str));
		  free(yyvsp[-3].str);
		  bufferWriteU8(yyval.action, 1);		/* if not loaded, jump to.. */
		  bufferWriteU8(yyval.action, SWFACTION_BRANCHALWAYS);
		  bufferWriteS16(yyval.action, 2);
		  bufferWriteS16(yyval.action, bufferLength(yyvsp[0].action));
		  bufferConcat(yyval.action, yyvsp[0].action); ;
    break;}
case 21:
#line 219 "compiler.y"
{ bufferWriteU8(yyvsp[-4].action, SWFACTION_BRANCHIFTRUE);
		  bufferWriteS16(yyvsp[-4].action, 2);
		  bufferWriteS16(yyvsp[-4].action, bufferLength(yyvsp[0].action)+5);
		  bufferConcat(yyvsp[-4].action, yyvsp[0].action);
		  bufferWriteU8(yyvsp[-4].action, SWFACTION_BRANCHALWAYS);
		  bufferWriteS16(yyvsp[-4].action, 2);
		  bufferWriteS16(yyvsp[-4].action, bufferLength(yyvsp[-2].action));
		  bufferConcat(yyvsp[-4].action, yyvsp[-2].action);
		  yyval.action = yyvsp[-4].action; ;
    break;}
case 22:
#line 230 "compiler.y"
{ bufferWriteU8(yyvsp[-2].action, SWFACTION_LOGICALNOT);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_BRANCHIFTRUE);
		  bufferWriteS16(yyvsp[-2].action, 2);
		  bufferWriteS16(yyvsp[-2].action, bufferLength(yyvsp[0].action));
		  bufferConcat(yyvsp[-2].action, yyvsp[0].action);
		  yyval.action = yyvsp[-2].action; ;
    break;}
case 23:
#line 238 "compiler.y"
{ yyval.action = NULL; ;
    break;}
case 24:
#line 239 "compiler.y"
{ yyval.action = yyvsp[0].action; ;
    break;}
case 25:
#line 264 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_WAITFORFRAME);
		  bufferWriteS16(yyval.action, 3);
		  bufferWriteS16(yyval.action, atoi(yyvsp[-3].str));
		  free(yyvsp[-3].str);
		  bufferWriteU8(yyval.action, 1);		/* if not loaded, jump to.. */
		  bufferWriteU8(yyval.action, SWFACTION_BRANCHALWAYS);
		  bufferWriteS16(yyval.action, 2);
		  bufferWriteS16(yyval.action, bufferLength(yyvsp[0].action)+5);
		  bufferConcat(yyval.action, yyvsp[0].action);				  /* ..here */
		  bufferWriteU8(yyval.action, SWFACTION_BRANCHALWAYS);
		  bufferWriteS16(yyval.action, 2);
		  bufferWriteS16(yyval.action, -(bufferLength(yyval.action)+2)); ;
    break;}
case 26:
#line 279 "compiler.y"
{ yyval.action = yyvsp[-2].action;
		  bufferWriteU8(yyval.action, SWFACTION_LOGICALNOT);
		  bufferWriteU8(yyval.action, SWFACTION_BRANCHIFTRUE);
		  bufferWriteS16(yyval.action, 2);
		  bufferWriteS16(yyval.action, bufferLength(yyvsp[0].action)+5);
		  bufferConcat(yyval.action, yyvsp[0].action);
		  bufferWriteU8(yyval.action, SWFACTION_BRANCHALWAYS);
		  bufferWriteS16(yyval.action, 2);
		  bufferWriteS16(yyval.action, -(bufferLength(yyval.action)+2));
		  resolveJumps(yyval.action); ;
    break;}
case 27:
#line 291 "compiler.y"
{ yyval.action = yyvsp[-4].action;
		  bufferConcat(yyval.action, yyvsp[-1].action);
		  bufferWriteU8(yyval.action, SWFACTION_BRANCHIFTRUE);
		  bufferWriteS16(yyval.action, 2);
		  bufferWriteS16(yyval.action, -(bufferLength(yyval.action)+2));
		  resolveJumps(yyval.action); ;
    break;}
case 28:
#line 299 "compiler.y"
{ bufferWriteU8(yyvsp[-4].action, SWFACTION_LOGICALNOT);
		  bufferWriteU8(yyvsp[-4].action, SWFACTION_BRANCHIFTRUE);
		  bufferWriteS16(yyvsp[-4].action, 2);
		  bufferWriteS16(yyvsp[-4].action, bufferLength(yyvsp[0].action)+bufferLength(yyvsp[-2].action)+5);
		  bufferConcat(yyvsp[-4].action, yyvsp[0].action);
		  bufferConcat(yyvsp[-4].action, yyvsp[-2].action);
		  bufferWriteU8(yyvsp[-4].action, SWFACTION_BRANCHALWAYS);
		  bufferWriteS16(yyvsp[-4].action, 2);
		  bufferWriteS16(yyvsp[-4].action, -(bufferLength(yyvsp[-4].action)+2));
		  resolveJumps(yyvsp[-4].action);
		  yyval.action = yyvsp[-6].action;
		  if(!yyval.action) yyval.action = newBuffer();
		  bufferConcat(yyval.action, yyvsp[-4].action);
		;
    break;}
case 29:
#line 316 "compiler.y"
{ yyval.action = NULL; ;
    break;}
case 31:
#line 322 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_BRANCHALWAYS);
		  bufferWriteS16(yyval.action, 2);
		  bufferWriteS16(yyval.action, MAGIC_CONTINUE_NUMBER); ;
    break;}
case 32:
#line 330 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_BRANCHALWAYS);
		  bufferWriteS16(yyval.action, 2);
		  bufferWriteS16(yyval.action, MAGIC_BREAK_NUMBER); ;
    break;}
case 33:
#line 338 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_STOPDRAGMOVIE); ;
    break;}
case 34:
#line 342 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[-1].str, strlen(yyvsp[-1].str)+1);
		  bufferWriteU8(yyval.action, SWFACTION_CALLFRAME);
		  bufferWriteS16(yyval.action, 0);
		  free(yyvsp[-1].str); ;
    break;}
case 35:
#line 349 "compiler.y"
{ yyval.action = yyvsp[-1].action;
		  bufferWriteU8(yyval.action, SWFACTION_REMOVECLIP); ;
    break;}
case 36:
#line 353 "compiler.y"
{ yyval.action = yyvsp[-1].action;
		  bufferWriteU8(yyval.action, SWFACTION_TRACE); ;
    break;}
case 37:
#line 358 "compiler.y"
{ yyval.action = yyvsp[-3].action;
		  bufferConcat(yyval.action, yyvsp[-1].action);
		  bufferWriteU8(yyval.action, SWFACTION_GETURL2);
		  bufferWriteS16(yyval.action, 1);
		  bufferWriteU8(yyval.action, GETURL_METHOD_NOSEND); ;
    break;}
case 38:
#line 365 "compiler.y"
{ yyval.action = yyvsp[-5].action;
		  bufferConcat(yyval.action, yyvsp[-3].action);
		  bufferWriteU8(yyval.action, SWFACTION_GETURL2);
		  bufferWriteS16(yyval.action, 1);
		  bufferWriteU8(yyval.action, yyvsp[-1].getURLMethod); ;
    break;}
case 39:
#line 372 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_GETURL);
		  bufferWriteS16(yyval.action, strlen(yyvsp[-3].str) + strlen(yyvsp[-1].str) + 2);
		  bufferWriteHardString(yyval.action, yyvsp[-3].str, strlen(yyvsp[-3].str));
		  bufferWriteU8(yyval.action, 0);
		  bufferWriteHardString(yyval.action, yyvsp[-1].str, strlen(yyvsp[-1].str));
		  bufferWriteU8(yyval.action, 0); ;
    break;}
case 40:
#line 381 "compiler.y"
{ yyval.action = yyvsp[-3].action;
		  bufferConcat(yyval.action, yyvsp[-1].action);
		  bufferWriteU8(yyval.action, SWFACTION_GETURL2);
		  bufferWriteS16(yyval.action, 1);
		  bufferWriteU8(yyval.action, GETURL_METHOD_NOSEND | GETURL_LOADMOVIE); ;
    break;}
case 41:
#line 388 "compiler.y"
{ yyval.action = yyvsp[-5].action;
		  bufferConcat(yyval.action, yyvsp[-3].action);
		  bufferWriteU8(yyval.action, SWFACTION_GETURL2);
		  bufferWriteS16(yyval.action, 1);
		  bufferWriteU8(yyval.action, yyvsp[-1].getURLMethod | GETURL_LOADMOVIE); ;
    break;}
case 42:
#line 395 "compiler.y"
{ yyval.action = yyvsp[-3].action;
		  bufferConcat(yyval.action, yyvsp[-1].action);
		  bufferWriteU8(yyval.action, SWFACTION_GETURL2);
		  bufferWriteS16(yyval.action, 1);
		  bufferWriteU8(yyval.action, GETURL_METHOD_NOSEND | GETURL_LOADVARIABLES); ;
    break;}
case 43:
#line 402 "compiler.y"
{ yyval.action = yyvsp[-5].action;
		  bufferConcat(yyval.action, yyvsp[-3].action);
		  bufferWriteU8(yyval.action, SWFACTION_GETURL2);
		  bufferWriteS16(yyval.action, 1);
		  bufferWriteU8(yyval.action, yyvsp[-1].getURLMethod | GETURL_LOADVARIABLES); ;
    break;}
case 44:
#line 410 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, "0", 2); /* no constraint */
		  bufferConcat(yyval.action, yyvsp[-1].action);
		  bufferConcat(yyval.action, yyvsp[-3].action);
		  bufferWriteU8(yyval.action, SWFACTION_STARTDRAGMOVIE); ;
    break;}
case 45:
#line 417 "compiler.y"
{ yyval.action = newBuffer();
		  bufferConcat(yyval.action, yyvsp[-7].action);
		  bufferConcat(yyval.action, yyvsp[-3].action);
		  bufferConcat(yyval.action, yyvsp[-5].action);
		  bufferConcat(yyval.action, yyvsp[-1].action);
		  bufferWriteString(yyval.action, "1", 2); /* has constraint */
		  bufferConcat(yyval.action, yyvsp[-9].action);
		  bufferConcat(yyval.action, yyvsp[-11].action);
		  bufferWriteU8(yyval.action, SWFACTION_STARTDRAGMOVIE); ;
    break;}
case 46:
#line 429 "compiler.y"
{ yyval.action = yyvsp[-5].action;
		  bufferConcat(yyval.action, yyvsp[-3].action);
		  bufferConcat(yyval.action, yyvsp[-1].action);
		  bufferWriteWTHITProperty(yyval.action);
		  bufferWriteU8(yyval.action, SWFACTION_ADD); /* see docs for explanation */
		  bufferWriteU8(yyval.action, SWFACTION_DUPLICATECLIP); ;
    break;}
case 47:
#line 438 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_NEXTFRAME); ;
    break;}
case 48:
#line 442 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_PREVFRAME); ;
    break;}
case 49:
#line 446 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_PLAY); ;
    break;}
case 50:
#line 450 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_STOP); ;
    break;}
case 51:
#line 454 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_TOGGLEQUALITY); ;
    break;}
case 52:
#line 458 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_STOPSOUNDS); ;
    break;}
case 53:
#line 462 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_GOTOFRAME);
		  bufferWriteS16(yyval.action, 2);
		  bufferWriteS16(yyval.action, atoi(yyvsp[-1].str));
		  free(yyvsp[-1].str); ;
    break;}
case 54:
#line 469 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_GOTOLABEL);
		  bufferWriteS16(yyval.action, strlen(yyvsp[-1].str)+1);
		  bufferWriteHardString(yyval.action, yyvsp[-1].str, strlen(yyvsp[-1].str)+1);
		  free(yyvsp[-1].str); ;
    break;}
case 55:
#line 476 "compiler.y"
{ yyval.action = yyvsp[-1].action;
		  bufferWriteU8(yyval.action, SWFACTION_GOTOEXPRESSION);
		  bufferWriteS16(yyval.action, 1);
		  bufferWriteU8(yyval.action, 0); ;
    break;}
case 56:
#line 482 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_SETTARGET);
		  bufferWriteS16(yyval.action, strlen(yyvsp[-1].str)+1);
		  bufferWriteHardString(yyval.action, yyvsp[-1].str, strlen(yyvsp[-1].str)+1);
		  free(yyvsp[-1].str); ;
    break;}
case 57:
#line 489 "compiler.y"
{ yyval.action = yyvsp[-1].action;
		  bufferWriteU8(yyval.action, SWFACTION_SETTARGETEXPRESSION); ;
    break;}
case 58:
#line 495 "compiler.y"
{ yyval.action = yyvsp[-1].action;
		  bufferWriteU8(yyval.action, SWFACTION_GETVARIABLE); ;
    break;}
case 59:
#line 499 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteU8(yyval.action, SWFACTION_GETTIMER); ;
    break;}
case 60:
#line 503 "compiler.y"
{ yyval.action = yyvsp[-1].action;
		  bufferWriteU8(yyval.action, SWFACTION_RANDOM); ;
    break;}
case 61:
#line 507 "compiler.y"
{ yyval.action = yyvsp[-1].action;
		  bufferWriteU8(yyval.action, SWFACTION_STRINGLENGTH); ;
    break;}
case 62:
#line 511 "compiler.y"
{ yyval.action = yyvsp[-1].action;
		  bufferWriteU8(yyval.action, SWFACTION_INT); ;
    break;}
case 63:
#line 515 "compiler.y"
{ yyval.action = yyvsp[-1].action;
		  bufferWriteU8(yyval.action, SWFACTION_ORD); ;
    break;}
case 64:
#line 519 "compiler.y"
{ yyval.action = yyvsp[-1].action;
		  bufferWriteU8(yyval.action, SWFACTION_CHR); ;
    break;}
case 65:
#line 523 "compiler.y"
{ yyval.action = yyvsp[-3].action;
		  bufferConcat(yyval.action, yyvsp[-1].action);
		  bufferWriteU8(yyval.action, SWFACTION_STRINGCONCAT); ;
    break;}
case 66:
#line 528 "compiler.y"
{ yyval.action = yyvsp[-5].action;
		  bufferConcat(yyval.action, yyvsp[-3].action);
		  bufferConcat(yyval.action, yyvsp[-1].action);
		  bufferWriteU8(yyval.action, SWFACTION_SUBSTRING); ;
    break;}
case 67:
#line 536 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteBuffer(yyval.action, yyvsp[-1].action);
		  bufferWriteU8(yyval.action, SWFACTION_GETVARIABLE);
		  bufferWriteBuffer(yyval.action, yyvsp[-1].action);
		  bufferConcat(yyval.action, yyvsp[-1].action);
		  bufferWriteU8(yyval.action, SWFACTION_GETVARIABLE);
		  bufferWriteString(yyval.action, "1", 2);
		  bufferWriteU8(yyval.action, SWFACTION_ADD);
		  bufferWriteU8(yyval.action, SWFACTION_SETVARIABLE); ;
    break;}
case 68:
#line 547 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteBuffer(yyval.action, yyvsp[-1].action);
		  bufferWriteU8(yyval.action, SWFACTION_GETVARIABLE);
		  bufferWriteBuffer(yyval.action, yyvsp[-1].action);
		  bufferConcat(yyval.action, yyvsp[-1].action);
		  bufferWriteU8(yyval.action, SWFACTION_GETVARIABLE);
		  bufferWriteString(yyval.action, "1", 2);
		  bufferWriteU8(yyval.action, SWFACTION_SUBTRACT);
		  bufferWriteU8(yyval.action, SWFACTION_SETVARIABLE); ;
    break;}
case 70:
#line 563 "compiler.y"
{ yyval.action = yyvsp[-1].action; ;
    break;}
case 71:
#line 566 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[0].str, strlen(yyvsp[0].str)+1);
		  free(yyvsp[0].str); ;
    break;}
case 72:
#line 571 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, "-", 2);
		  bufferWriteString(yyval.action, yyvsp[0].str, strlen(yyvsp[0].str)+1);
		  free(yyvsp[0].str); ;
    break;}
case 73:
#line 577 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[0].str, strlen(yyvsp[0].str)+1);
		  free(yyvsp[0].str); ;
    break;}
case 74:
#line 582 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[0].str, strlen(yyvsp[0].str)+1);
		  bufferWriteU8(yyval.action, SWFACTION_GETVARIABLE);
		  free(yyvsp[0].str); ;
    break;}
case 75:
#line 588 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[0].str, strlen(yyvsp[0].str)+1);
		  free(yyvsp[0].str); ;
    break;}
case 76:
#line 593 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[-2].str, strlen(yyvsp[-2].str)+1);
		  bufferWriteGetProperty(yyval.action, yyvsp[0].str);
		  bufferWriteU8(yyval.action, SWFACTION_GETPROPERTY);
		  free(yyvsp[0].str);
		  free(yyvsp[-2].str); ;
    break;}
case 77:
#line 601 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[-2].str, strlen(yyvsp[-2].str)+1);
		  bufferWriteGetProperty(yyval.action, yyvsp[0].str);
		  bufferWriteString(yyval.action, yyvsp[-2].str, strlen(yyvsp[-2].str)+1);
		  bufferWriteSetProperty(yyval.action, yyvsp[0].str);
		  bufferWriteString(yyval.action, yyvsp[-2].str, strlen(yyvsp[-2].str)+1);
		  bufferWriteGetProperty(yyval.action, yyvsp[0].str);
		  bufferWriteString(yyval.action, "1", 2);
		  bufferWriteU8(yyval.action, SWFACTION_ADD);
		  bufferWriteU8(yyval.action, SWFACTION_SETPROPERTY);
		  bufferWriteU8(yyval.action, SWFACTION_GETPROPERTY);
		  free(yyvsp[-2].str);
		  free(yyvsp[0].str); ;
    break;}
case 78:
#line 616 "compiler.y"
{ yyval.action = yyvsp[0].action;
		  bufferTrip(yyval.action); /* make three copies */
		  bufferWriteU8(yyval.action, SWFACTION_GETVARIABLE);
		  bufferWriteString(yyval.action, "1", 2);
		  bufferWriteU8(yyval.action, SWFACTION_ADD);
		  bufferWriteU8(yyval.action, SWFACTION_SETVARIABLE);
		  bufferWriteU8(yyval.action, SWFACTION_GETVARIABLE); ;
    break;}
case 79:
#line 625 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[-2].str, strlen(yyvsp[-2].str)+1);
		  bufferWriteGetProperty(yyval.action, yyvsp[0].str);
		  bufferWriteString(yyval.action, yyvsp[-2].str, strlen(yyvsp[-2].str)+1);
		  bufferWriteSetProperty(yyval.action, yyvsp[0].str);
		  bufferWriteString(yyval.action, yyvsp[-2].str, strlen(yyvsp[-2].str)+1);
		  bufferWriteGetProperty(yyval.action, yyvsp[0].str);
		  bufferWriteString(yyval.action, "1", 2);
		  bufferWriteU8(yyval.action, SWFACTION_ADD);
		  bufferWriteU8(yyval.action, SWFACTION_SETPROPERTY);
		  bufferWriteU8(yyval.action, SWFACTION_GETPROPERTY);
		  free(yyvsp[-2].str);
		  free(yyvsp[0].str); ;
    break;}
case 80:
#line 640 "compiler.y"
{ yyval.action = yyvsp[0].action;
		  bufferTrip(yyval.action); /* make three copies */
		  bufferWriteU8(yyval.action, SWFACTION_GETVARIABLE);
		  bufferWriteString(yyval.action, "1", 2);
		  bufferWriteU8(yyval.action, SWFACTION_SUBTRACT);
		  bufferWriteU8(yyval.action, SWFACTION_SETVARIABLE);
		  bufferWriteU8(yyval.action, SWFACTION_GETVARIABLE); ;
    break;}
case 81:
#line 649 "compiler.y"
{ yyval.action = yyvsp[0].action;
		  bufferWriteString(yyvsp[0].action, "-1", 3);
		  bufferWriteU8(yyvsp[0].action, SWFACTION_MULTIPLY); ;
    break;}
case 82:
#line 654 "compiler.y"
{ yyval.action = yyvsp[0].action;
		  bufferWriteU8(yyvsp[0].action, SWFACTION_LOGICALNOT); ;
    break;}
case 83:
#line 658 "compiler.y"
{ yyval.action = yyvsp[-2].action;
		  bufferConcat(yyval.action, yyvsp[0].action);
		  bufferDup(yyval.action);
		  bufferWriteU8(yyval.action, SWFACTION_SETVARIABLE); ;
    break;}
case 84:
#line 664 "compiler.y"
{ yyval.action = yyvsp[-2].action;
		  bufferConcat(yyval.action, yyvsp[0].action);
		  bufferWriteU8(yyval.action, SWFACTION_MULTIPLY); ;
    break;}
case 85:
#line 669 "compiler.y"
{ yyval.action = yyvsp[-2].action;
		  bufferConcat(yyval.action, yyvsp[0].action);
		  bufferWriteU8(yyval.action, SWFACTION_DIVIDE); ;
    break;}
case 86:
#line 674 "compiler.y"
{ yyval.action = yyvsp[-2].action;
		  bufferConcat(yyval.action, yyvsp[0].action);
		  bufferWriteU8(yyval.action, SWFACTION_ADD); ;
    break;}
case 87:
#line 679 "compiler.y"
{ yyval.action = yyvsp[-2].action;
		  bufferConcat(yyval.action, yyvsp[0].action);
		  bufferWriteU8(yyval.action, SWFACTION_SUBTRACT); ;
    break;}
case 88:
#line 684 "compiler.y"
{ yyval.action = yyvsp[-2].action;
		  bufferConcat(yyval.action, yyvsp[0].action);
		  bufferWriteU8(yyval.action, SWFACTION_STRINGCONCAT); ;
    break;}
case 89:
#line 689 "compiler.y"
{ yyval.action = yyvsp[-2].action;
		  bufferConcat(yyval.action, yyvsp[0].action);
		  bufferWriteU8(yyval.action, SWFACTION_LESSTHAN); ;
    break;}
case 90:
#line 694 "compiler.y"
{ yyval.action = yyvsp[0].action;
		  bufferConcat(yyval.action, yyvsp[-2].action);
		  bufferWriteU8(yyval.action, SWFACTION_LESSTHAN); ;
    break;}
case 91:
#line 699 "compiler.y"
{ yyval.action = yyvsp[0].action;
		  bufferConcat(yyval.action, yyvsp[-2].action);
		  bufferWriteU8(yyval.action, SWFACTION_LESSTHAN);
		  bufferWriteU8(yyval.action, SWFACTION_LOGICALNOT); ;
    break;}
case 92:
#line 705 "compiler.y"
{ bufferConcat(yyvsp[-2].action, yyvsp[0].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_LESSTHAN);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_LOGICALNOT); ;
    break;}
case 93:
#line 710 "compiler.y"
{ bufferConcat(yyvsp[-2].action, yyvsp[0].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_STRINGEQ);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_LOGICALNOT); ;
    break;}
case 94:
#line 715 "compiler.y"
{ bufferConcat(yyvsp[-2].action, yyvsp[0].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_STRINGEQ); ;
    break;}
case 95:
#line 719 "compiler.y"
{ bufferConcat(yyvsp[-2].action, yyvsp[0].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_STRINGCOMPARE); ;
    break;}
case 96:
#line 723 "compiler.y"
{ bufferConcat(yyvsp[-2].action, yyvsp[0].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_EQUAL); ;
    break;}
case 97:
#line 727 "compiler.y"
{ bufferConcat(yyvsp[-2].action, yyvsp[0].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_EQUAL);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_LOGICALNOT); ;
    break;}
case 98:
#line 732 "compiler.y"
{ bufferConcat(yyvsp[-2].action, yyvsp[0].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_LOGICALAND); ;
    break;}
case 99:
#line 736 "compiler.y"
{ bufferConcat(yyvsp[-2].action, yyvsp[0].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_LOGICALOR); ;
    break;}
case 100:
#line 740 "compiler.y"
{ bufferWriteU8(yyvsp[-4].action, SWFACTION_BRANCHIFTRUE);
		  bufferWriteS16(yyvsp[-4].action, 2);
		  bufferWriteS16(yyvsp[-4].action, bufferLength(yyvsp[0].action)+5);
		  bufferConcat(yyvsp[-4].action, yyvsp[0].action);
		  bufferWriteU8(yyvsp[-4].action, SWFACTION_BRANCHALWAYS);
		  bufferWriteS16(yyvsp[-4].action, 2);
		  bufferWriteS16(yyvsp[-4].action, bufferLength(yyvsp[-2].action));
		  bufferConcat(yyvsp[-4].action, yyvsp[-2].action); ;
    break;}
case 101:
#line 752 "compiler.y"
{ yyval.str = strdup("/"); ;
    break;}
case 102:
#line 755 "compiler.y"
{ yyval.str = strdup("../"); ;
    break;}
case 103:
#line 758 "compiler.y"
{ yyval.str = yyvsp[-2].str;
		  yyval.str = stringConcat(yyval.str, strdup("../")); ;
    break;}
case 104:
#line 762 "compiler.y"
{ yyval.str = yyvsp[-2].str;
		  yyval.str = stringConcat(yyval.str, yyvsp[-1].str); /* frees $2 */
		  yyval.str = stringConcat(yyval.str, strdup("/")); ;
    break;}
case 106:
#line 771 "compiler.y"
{ yyval.str = yyvsp[-2].str;
		  yyval.str = stringConcat(yyval.str, strdup(":"));
		  yyval.str = stringConcat(yyval.str, yyvsp[0].str); ;
    break;}
case 107:
#line 778 "compiler.y"
{ yyval.str = strdup(""); ;
    break;}
case 108:
#line 781 "compiler.y"
{ yyval.str = strdup("/"); ;
    break;}
case 109:
#line 784 "compiler.y"
{ yyval.str = strdup(".."); ;
    break;}
case 110:
#line 787 "compiler.y"
{ yyval.str = yyvsp[-1].str;
		  yyval.str = stringConcat(yyval.str, strdup("..")); ;
    break;}
case 111:
#line 791 "compiler.y"
{ yyval.str = yyvsp[0].str; ;
    break;}
case 112:
#line 794 "compiler.y"
{ yyval.str = yyvsp[-1].str;
		  yyval.str = stringConcat(yyval.str, yyvsp[0].str); ;
    break;}
case 113:
#line 800 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[0].str, strlen(yyvsp[0].str)+1);
		  free(yyvsp[0].str); ;
    break;}
case 114:
#line 805 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[0].str, strlen(yyvsp[0].str)+1);
		  free(yyvsp[0].str); ;
    break;}
case 115:
#line 809 "compiler.y"
{ yyval.action = yyvsp[-1].action; ;
    break;}
case 118:
#line 818 "compiler.y"
{ yyval.action = yyvsp[0].action;
		  bufferWriteBuffer(yyval.action, yyvsp[0].action);
		  bufferWriteU8(yyval.action, SWFACTION_GETVARIABLE);
		  bufferWriteString(yyval.action, "1", 2);
		  bufferWriteU8(yyval.action, SWFACTION_ADD);
		  bufferWriteU8(yyval.action, SWFACTION_SETVARIABLE); ;
    break;}
case 119:
#line 826 "compiler.y"
{ yyval.action = yyvsp[0].action;
		  bufferWriteBuffer(yyval.action, yyvsp[0].action);
		  bufferWriteU8(yyval.action, SWFACTION_GETVARIABLE);
		  bufferWriteString(yyval.action, "1", 2);
		  bufferWriteU8(yyval.action, SWFACTION_SUBTRACT);
		  bufferWriteU8(yyval.action, SWFACTION_SETVARIABLE); ;
    break;}
case 120:
#line 834 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[-2].str, strlen(yyvsp[-2].str)+1);
		  bufferWriteGetProperty(yyval.action, yyvsp[0].str);
		  bufferWriteU8(yyval.action, SWFACTION_GETPROPERTY);
		  bufferWriteString(yyval.action, "1", 2);
		  bufferWriteU8(yyval.action, SWFACTION_ADD);
		  bufferWriteString(yyval.action, yyvsp[-2].str, strlen(yyvsp[-2].str)+1);
		  bufferWriteSetProperty(yyval.action, yyvsp[0].str);
		  bufferWriteU8(yyval.action, SWFACTION_SETPROPERTY);
		  free(yyvsp[-2].str);
		  free(yyvsp[0].str); ;
    break;}
case 121:
#line 847 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[-2].str, strlen(yyvsp[-2].str)+1);
		  bufferWriteGetProperty(yyval.action, yyvsp[0].str);
		  bufferWriteU8(yyval.action, SWFACTION_GETPROPERTY);
		  bufferWriteString(yyval.action, "1", 2);
		  bufferWriteU8(yyval.action, SWFACTION_SUBTRACT);
		  bufferWriteString(yyval.action, yyvsp[-2].str, strlen(yyvsp[-2].str)+1);
		  bufferWriteSetProperty(yyval.action, yyvsp[0].str);
		  bufferWriteU8(yyval.action, SWFACTION_SETPROPERTY);
		  free(yyvsp[-2].str);
		  free(yyvsp[0].str); ;
    break;}
case 122:
#line 860 "compiler.y"
{ bufferConcat(yyvsp[-2].action, yyvsp[0].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_SETVARIABLE); ;
    break;}
case 123:
#line 864 "compiler.y"
{ bufferWriteBuffer(yyvsp[-2].action, yyvsp[-2].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_GETVARIABLE);
		  bufferConcat(yyvsp[-2].action, yyvsp[0].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_MULTIPLY);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_SETVARIABLE); ;
    break;}
case 124:
#line 871 "compiler.y"
{ bufferWriteBuffer(yyvsp[-2].action, yyvsp[-2].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_GETVARIABLE);
		  bufferConcat(yyvsp[-2].action, yyvsp[0].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_DIVIDE);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_SETVARIABLE); ;
    break;}
case 125:
#line 878 "compiler.y"
{ bufferWriteBuffer(yyvsp[-2].action, yyvsp[-2].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_GETVARIABLE);
		  bufferConcat(yyvsp[-2].action, yyvsp[0].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_ADD);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_SETVARIABLE); ;
    break;}
case 126:
#line 885 "compiler.y"
{ bufferWriteBuffer(yyvsp[-2].action, yyvsp[-2].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_GETVARIABLE);
		  bufferConcat(yyvsp[-2].action, yyvsp[0].action);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_SUBTRACT);
		  bufferWriteU8(yyvsp[-2].action, SWFACTION_SETVARIABLE); ;
    break;}
case 127:
#line 892 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[-4].str, strlen(yyvsp[-4].str)+1);
		  bufferWriteSetProperty(yyval.action, yyvsp[-2].str);
		  bufferConcat(yyval.action,yyvsp[0].action);
		  bufferWriteU8(yyval.action, SWFACTION_SETPROPERTY);
		  free(yyvsp[-4].str);
		  free(yyvsp[-2].str); ;
    break;}
case 128:
#line 901 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[-4].str, strlen(yyvsp[-4].str)+1);
		  bufferWriteSetProperty(yyval.action, yyvsp[-2].str);
		  bufferWriteString(yyval.action, yyvsp[-4].str, strlen(yyvsp[-4].str)+1);
		  bufferWriteGetProperty(yyval.action, yyvsp[-2].str);
		  bufferWriteU8(yyval.action, SWFACTION_GETPROPERTY);
		  bufferConcat(yyval.action, yyvsp[0].action);
		  bufferWriteU8(yyval.action, SWFACTION_MULTIPLY);
		  bufferWriteU8(yyval.action, SWFACTION_SETPROPERTY);
		  free(yyvsp[-4].str);
		  free(yyvsp[-2].str); ;
    break;}
case 129:
#line 914 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[-4].str, strlen(yyvsp[-4].str)+1);
		  bufferWriteSetProperty(yyval.action, yyvsp[-2].str);
		  bufferWriteString(yyval.action, yyvsp[-4].str, strlen(yyvsp[-4].str)+1);
		  bufferWriteGetProperty(yyval.action, yyvsp[-2].str);
		  bufferWriteU8(yyval.action, SWFACTION_GETPROPERTY);
		  bufferConcat(yyval.action, yyvsp[0].action);
		  bufferWriteU8(yyval.action, SWFACTION_DIVIDE);
		  bufferWriteU8(yyval.action, SWFACTION_SETPROPERTY);
		  free(yyvsp[-4].str);
		  free(yyvsp[-2].str); ;
    break;}
case 130:
#line 927 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[-4].str, strlen(yyvsp[-4].str)+1);
		  bufferWriteSetProperty(yyval.action, yyvsp[-2].str);
		  bufferWriteString(yyval.action, yyvsp[-4].str, strlen(yyvsp[-4].str)+1);
		  bufferWriteGetProperty(yyval.action, yyvsp[-2].str);
		  bufferWriteU8(yyval.action, SWFACTION_GETPROPERTY);
		  bufferConcat(yyval.action, yyvsp[0].action);
		  bufferWriteU8(yyval.action, SWFACTION_ADD);
		  bufferWriteU8(yyval.action, SWFACTION_SETPROPERTY);
		  free(yyvsp[-4].str);
		  free(yyvsp[-2].str); ;
    break;}
case 131:
#line 940 "compiler.y"
{ yyval.action = newBuffer();
		  bufferWriteString(yyval.action, yyvsp[-4].str, strlen(yyvsp[-4].str)+1);
		  bufferWriteSetProperty(yyval.action, yyvsp[-2].str);
		  bufferWriteString(yyval.action, yyvsp[-4].str, strlen(yyvsp[-4].str)+1);
		  bufferWriteGetProperty(yyval.action, yyvsp[-2].str);
		  bufferWriteU8(yyval.action, SWFACTION_GETPROPERTY);
		  bufferConcat(yyval.action, yyvsp[0].action);
		  bufferWriteU8(yyval.action, SWFACTION_SUBTRACT);
		  bufferWriteU8(yyval.action, SWFACTION_SETPROPERTY);
		  free(yyvsp[-4].str);
		  free(yyvsp[-2].str); ;
    break;}
}
   /* the action file gets copied in in place of this dollarsign */
#line 543 "/usr/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 957 "compiler.y"

