*yy_cp = '\0'; \
yy_c_buf_p = yy_cp;
-#define YY_NUM_RULES 19
-#define YY_END_OF_BUFFER 20
-static yyconst short int yy_accept[56] =
+#define YY_NUM_RULES 33
+#define YY_END_OF_BUFFER 34
+static yyconst short int yy_accept[99] =
{ 0,
- 0, 0, 20, 19, 18, 17, 19, 19, 4, 13,
- 3, 15, 15, 15, 15, 15, 15, 1, 2, 18,
- 0, 0, 13, 15, 15, 15, 15, 15, 15, 14,
- 16, 15, 15, 15, 15, 15, 15, 7, 8, 9,
- 10, 15, 15, 15, 15, 15, 12, 15, 15, 15,
- 15, 11, 5, 6, 0
+ 0, 0, 34, 33, 32, 31, 33, 33, 4, 27,
+ 3, 29, 29, 29, 29, 29, 29, 29, 29, 29,
+ 29, 29, 29, 29, 1, 2, 32, 0, 0, 27,
+ 29, 29, 29, 29, 29, 20, 29, 29, 29, 29,
+ 29, 29, 29, 19, 29, 29, 29, 28, 30, 29,
+ 29, 29, 23, 29, 29, 29, 29, 29, 29, 24,
+ 29, 29, 29, 29, 29, 7, 9, 11, 13, 29,
+ 29, 22, 29, 29, 8, 10, 12, 14, 29, 29,
+ 21, 29, 26, 29, 18, 29, 25, 29, 17, 29,
+ 29, 29, 29, 15, 5, 16, 6, 0
+
} ;
static yyconst int yy_ec[256] =
1, 2, 1, 4, 5, 1, 1, 1, 1, 1,
1, 1, 1, 1, 6, 1, 1, 7, 8, 9,
10, 11, 7, 7, 7, 7, 7, 1, 12, 1,
- 1, 1, 1, 1, 13, 13, 14, 13, 13, 13,
- 13, 13, 13, 13, 13, 13, 15, 13, 16, 13,
- 13, 13, 17, 13, 13, 13, 13, 13, 13, 13,
- 1, 1, 1, 1, 13, 1, 13, 13, 13, 18,
-
- 13, 19, 13, 20, 21, 13, 13, 22, 13, 23,
- 24, 25, 13, 26, 27, 28, 13, 13, 13, 13,
- 13, 13, 29, 1, 30, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 13, 13, 14, 13, 13, 15,
+ 13, 13, 13, 13, 13, 13, 16, 13, 17, 13,
+ 13, 13, 18, 19, 13, 13, 13, 13, 13, 13,
+ 1, 1, 1, 1, 13, 1, 20, 13, 21, 22,
+
+ 23, 24, 13, 25, 26, 13, 13, 27, 28, 29,
+ 30, 31, 13, 32, 33, 34, 35, 13, 13, 13,
+ 13, 13, 36, 1, 37, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1
} ;
-static yyconst int yy_meta[31] =
+static yyconst int yy_meta[38] =
{ 0,
1, 1, 2, 1, 1, 1, 3, 3, 3, 3,
3, 1, 3, 3, 3, 3, 3, 3, 3, 3,
- 3, 3, 3, 3, 3, 3, 3, 3, 1, 1
+ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
+ 3, 3, 3, 3, 3, 1, 1
} ;
-static yyconst short int yy_base[59] =
+static yyconst short int yy_base[102] =
{ 0,
- 0, 0, 79, 80, 76, 80, 0, 0, 80, 24,
- 80, 0, 53, 52, 50, 54, 48, 80, 80, 70,
- 67, 67, 29, 0, 46, 50, 39, 45, 37, 60,
- 80, 35, 33, 41, 42, 39, 33, 0, 0, 0,
- 0, 34, 29, 32, 31, 31, 0, 30, 30, 24,
- 22, 0, 0, 0, 80, 44, 47, 43
+ 0, 0, 122, 123, 119, 123, 0, 0, 123, 31,
+ 123, 0, 90, 99, 88, 19, 92, 84, 85, 94,
+ 83, 20, 87, 79, 123, 123, 108, 105, 105, 45,
+ 0, 78, 79, 83, 80, 0, 69, 76, 66, 71,
+ 72, 76, 73, 0, 62, 69, 59, 89, 123, 58,
+ 58, 49, 0, 64, 65, 65, 53, 53, 53, 0,
+ 59, 60, 60, 50, 58, 0, 0, 0, 0, 50,
+ 45, 0, 46, 54, 0, 0, 0, 0, 46, 41,
+ 0, 44, 0, 44, 0, 42, 0, 42, 0, 42,
+ 33, 20, 13, 0, 0, 0, 0, 123, 64, 67,
+
+ 42
} ;
-static yyconst short int yy_def[59] =
+static yyconst short int yy_def[102] =
{ 0,
- 55, 1, 55, 55, 55, 55, 56, 57, 55, 58,
- 55, 58, 58, 58, 58, 58, 58, 55, 55, 55,
- 56, 57, 58, 58, 58, 58, 58, 58, 58, 56,
- 55, 58, 58, 58, 58, 58, 58, 58, 58, 58,
- 58, 58, 58, 58, 58, 58, 58, 58, 58, 58,
- 58, 58, 58, 58, 0, 55, 55, 55
+ 98, 1, 98, 98, 98, 98, 99, 100, 98, 101,
+ 98, 101, 101, 101, 101, 101, 101, 101, 101, 101,
+ 101, 101, 101, 101, 98, 98, 98, 99, 100, 101,
+ 101, 101, 101, 101, 101, 101, 101, 101, 101, 101,
+ 101, 101, 101, 101, 101, 101, 101, 99, 98, 101,
+ 101, 101, 101, 101, 101, 101, 101, 101, 101, 101,
+ 101, 101, 101, 101, 101, 101, 101, 101, 101, 101,
+ 101, 101, 101, 101, 101, 101, 101, 101, 101, 101,
+ 101, 101, 101, 101, 101, 101, 101, 101, 101, 101,
+ 101, 101, 101, 101, 101, 101, 101, 0, 98, 98,
+
+ 98
} ;
-static yyconst short int yy_nxt[111] =
+static yyconst short int yy_nxt[161] =
{ 0,
4, 5, 6, 7, 8, 9, 10, 10, 10, 10,
- 10, 11, 12, 13, 14, 15, 16, 12, 12, 12,
- 12, 12, 12, 17, 12, 12, 12, 12, 18, 19,
- 23, 23, 23, 23, 23, 23, 23, 23, 23, 23,
- 38, 39, 40, 41, 21, 24, 21, 22, 54, 22,
- 53, 52, 51, 50, 49, 48, 47, 46, 45, 44,
- 43, 42, 37, 30, 36, 35, 34, 33, 32, 31,
- 30, 20, 29, 28, 27, 26, 25, 20, 55, 3,
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
-
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55
+ 10, 11, 12, 13, 14, 15, 16, 17, 18, 12,
+ 19, 12, 12, 20, 12, 12, 12, 21, 12, 22,
+ 12, 12, 23, 24, 12, 25, 26, 30, 30, 30,
+ 30, 30, 35, 43, 31, 97, 96, 36, 44, 37,
+ 45, 30, 30, 30, 30, 30, 66, 67, 68, 69,
+ 75, 76, 77, 78, 28, 95, 28, 29, 94, 29,
+ 93, 92, 91, 90, 89, 88, 87, 86, 85, 84,
+ 83, 82, 81, 80, 79, 74, 73, 72, 71, 70,
+ 65, 64, 48, 63, 62, 61, 60, 59, 58, 57,
+
+ 56, 55, 54, 53, 52, 51, 50, 49, 48, 27,
+ 47, 46, 42, 41, 40, 39, 38, 34, 33, 32,
+ 27, 98, 3, 98, 98, 98, 98, 98, 98, 98,
+ 98, 98, 98, 98, 98, 98, 98, 98, 98, 98,
+ 98, 98, 98, 98, 98, 98, 98, 98, 98, 98,
+ 98, 98, 98, 98, 98, 98, 98, 98, 98, 98
} ;
-static yyconst short int yy_chk[111] =
+static yyconst short int yy_chk[161] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
- 10, 10, 10, 10, 10, 23, 23, 23, 23, 23,
- 33, 33, 33, 33, 56, 58, 56, 57, 51, 57,
- 50, 49, 48, 46, 45, 44, 43, 42, 37, 36,
- 35, 34, 32, 30, 29, 28, 27, 26, 25, 22,
- 21, 20, 17, 16, 15, 14, 13, 5, 3, 55,
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55,
-
- 55, 55, 55, 55, 55, 55, 55, 55, 55, 55
+ 1, 1, 1, 1, 1, 1, 1, 10, 10, 10,
+ 10, 10, 16, 22, 101, 93, 92, 16, 22, 16,
+ 22, 30, 30, 30, 30, 30, 52, 52, 52, 52,
+ 59, 59, 59, 59, 99, 91, 99, 100, 90, 100,
+ 88, 86, 84, 82, 80, 79, 74, 73, 71, 70,
+ 65, 64, 63, 62, 61, 58, 57, 56, 55, 54,
+ 51, 50, 48, 47, 46, 45, 43, 42, 41, 40,
+
+ 39, 38, 37, 35, 34, 33, 32, 29, 28, 27,
+ 24, 23, 21, 20, 19, 18, 17, 15, 14, 13,
+ 5, 3, 98, 98, 98, 98, 98, 98, 98, 98,
+ 98, 98, 98, 98, 98, 98, 98, 98, 98, 98,
+ 98, 98, 98, 98, 98, 98, 98, 98, 98, 98,
+ 98, 98, 98, 98, 98, 98, 98, 98, 98, 98
} ;
static yy_state_type yy_last_accepting_state;
#line 1 "epist.l"
#define INITIAL 0
#line 2 "epist.l"
+#ifdef HAVE_CONFIG_H
+# include "../../config.h"
+#endif // HAVE_CONFIG_H
+
#include <stdio.h>
#include <string.h>
#include "yacc_parser.hh"
extern YYSTYPE yylval;
-#line 409 "lex.yy.c"
+#line 441 "lex.yy.c"
/* Macros after this point can all be overridden by user definitions in
* section 1.
register char *yy_cp, *yy_bp;
register int yy_act;
-#line 10 "epist.l"
+#line 14 "epist.l"
-#line 563 "lex.yy.c"
+#line 595 "lex.yy.c"
if ( yy_init )
{
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 56 )
+ if ( yy_current_state >= 99 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
++yy_cp;
}
- while ( yy_base[yy_current_state] != 80 );
+ while ( yy_base[yy_current_state] != 123 );
yy_find_action:
yy_act = yy_accept[yy_current_state];
case 1:
YY_RULE_SETUP
-#line 12 "epist.l"
+#line 16 "epist.l"
return OBRACE;
YY_BREAK
case 2:
YY_RULE_SETUP
-#line 13 "epist.l"
+#line 17 "epist.l"
return EBRACE;
YY_BREAK
case 3:
YY_RULE_SETUP
-#line 14 "epist.l"
+#line 18 "epist.l"
return SEMICOLON;
YY_BREAK
case 4:
YY_RULE_SETUP
-#line 15 "epist.l"
+#line 19 "epist.l"
return DASH;
YY_BREAK
case 5:
-#line 17 "epist.l"
+#line 21 "epist.l"
case 6:
YY_RULE_SETUP
-#line 17 "epist.l"
+#line 21 "epist.l"
return OPTIONS;
YY_BREAK
case 7:
-#line 19 "epist.l"
+#line 23 "epist.l"
case 8:
-#line 20 "epist.l"
+#line 24 "epist.l"
case 9:
-#line 21 "epist.l"
+#line 25 "epist.l"
case 10:
-#line 22 "epist.l"
+#line 26 "epist.l"
case 11:
-#line 23 "epist.l"
+#line 27 "epist.l"
case 12:
+#line 28 "epist.l"
+case 13:
+#line 29 "epist.l"
+case 14:
+#line 30 "epist.l"
+case 15:
+#line 31 "epist.l"
+case 16:
+#line 32 "epist.l"
+case 17:
+#line 33 "epist.l"
+case 18:
YY_RULE_SETUP
-#line 23 "epist.l"
+#line 33 "epist.l"
yylval = (int) strdup(yytext); return BINDING;
YY_BREAK
-case 13:
+case 19:
+#line 35 "epist.l"
+case 20:
+#line 36 "epist.l"
+case 21:
+#line 37 "epist.l"
+case 22:
YY_RULE_SETUP
-#line 24 "epist.l"
+#line 37 "epist.l"
+yylval = (int) strdup(yytext); return TRUE;
+ YY_BREAK
+case 23:
+#line 39 "epist.l"
+case 24:
+#line 40 "epist.l"
+case 25:
+#line 41 "epist.l"
+case 26:
+YY_RULE_SETUP
+#line 41 "epist.l"
+yylval = (int) strdup(yytext); return FALSE;
+ YY_BREAK
+case 27:
+YY_RULE_SETUP
+#line 42 "epist.l"
yylval = (int) strdup(yytext); return NUMBER;
YY_BREAK
-case 14:
+case 28:
YY_RULE_SETUP
-#line 25 "epist.l"
+#line 43 "epist.l"
yylval = (int) strdup(yytext); return QUOTES;
YY_BREAK
-case 15:
+case 29:
YY_RULE_SETUP
-#line 26 "epist.l"
+#line 44 "epist.l"
yylval = (int) strdup(yytext); return WORD;
YY_BREAK
-case 16:
+case 30:
YY_RULE_SETUP
-#line 27 "epist.l"
+#line 45 "epist.l"
/* ignore */
YY_BREAK
-case 17:
+case 31:
YY_RULE_SETUP
-#line 28 "epist.l"
+#line 46 "epist.l"
/* ignore */
YY_BREAK
-case 18:
+case 32:
YY_RULE_SETUP
-#line 29 "epist.l"
+#line 47 "epist.l"
/* */
YY_BREAK
-case 19:
+case 33:
YY_RULE_SETUP
-#line 30 "epist.l"
+#line 48 "epist.l"
ECHO;
YY_BREAK
-#line 723 "lex.yy.c"
+#line 789 "lex.yy.c"
case YY_STATE_EOF(INITIAL):
yyterminate();
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 56 )
+ if ( yy_current_state >= 99 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
- if ( yy_current_state >= 56 )
+ if ( yy_current_state >= 99 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
- yy_is_jam = (yy_current_state == 55);
+ yy_is_jam = (yy_current_state == 98);
return yy_is_jam ? 0 : yy_current_state;
}
return 0;
}
#endif
-#line 30 "epist.l"
+#line 48 "epist.l"