Prototypes | |
| static int | yyerror (const char *s ATTRIBUTE_UNUSED) |
| static int | yylex (YYSTYPE *lvalp, parser_control *pc) |
| static void | yydestruct (char *yymsg, int yytype, YYSTYPE *yyvaluep) const |
| int | yyparse () |
| int | yyparse (void *YYPARSE_PARAM) |
| static int | to_hour (int hours, int meridian) |
| static int | to_year (textint textyear) |
| static table const * | lookup_zone (parser_control const *pc, char const *name) |
| static int | tm_diff (struct tm const *a, struct tm const *b) |
| static table const * | lookup_word (parser_control const *pc, char *word) |
| time_t | get_date (const char *p, const time_t *now) |
Go to the source code of this file.
Data Structures | |
| struct | textint |
| struct | table |
| struct | parser_control |
| union | YYSTYPE |
| union | yyalloc |
Macros | |
| #define | YYBISON 1 |
| #define | YYBISON_VERSION "2.5" |
| #define | YYSKELETON_NAME "yacc.c" |
| #define | YYPURE 1 |
| #define | YYPUSH 0 |
| #define | YYPULL 1 |
| #define | YYLSP_NEEDED 0 |
| #define | IN_CTYPE_DOMAIN(c) 1 |
| #define | ISSPACE(c) (IN_CTYPE_DOMAIN (c) && isspace (c)) |
| #define | ISALPHA(c) (IN_CTYPE_DOMAIN (c) && isalpha (c)) |
| #define | ISLOWER(c) (IN_CTYPE_DOMAIN (c) && islower (c)) |
| #define | ISDIGIT_LOCALE(c) (IN_CTYPE_DOMAIN (c) && isdigit (c)) |
| #define | ISDIGIT(c) ((unsigned) (c) - '0' <= 9) |
| #define | __attribute__(x) |
| #define | ATTRIBUTE_UNUSED __attribute__ ((__unused__)) |
| #define | EPOCH_YEAR 1970 |
| #define | TM_YEAR_BASE 1900 |
| #define | HOUR(x) ((x) * 60) |
| #define | PC (* (parser_control *) parm) |
| #define | YYLEX_PARAM parm |
| #define | YYPARSE_PARAM parm |
| #define | YYDEBUG 0 |
| #define | YYERROR_VERBOSE 0 |
| #define | YYTOKEN_TABLE 0 |
| #define | YYTOKENTYPE |
| #define | YYSTYPE_IS_TRIVIAL 1 |
| #define | yystype YYSTYPE /* obsolescent; will be withdrawn */ |
| #define | YYSTYPE_IS_DECLARED 1 |
| #define | YYSIZE_T unsigned int |
| #define | YYSIZE_MAXIMUM ((YYSIZE_T) -1) |
| #define | YY_(msgid) msgid |
| #define | YYUSE(e) ((void) (e)) |
| #define | YYID(n) (n) |
| #define | YYSTACK_ALLOC YYMALLOC |
| #define | YYSTACK_FREE YYFREE |
| #define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
| #define | YYMALLOC malloc |
| #define | YYFREE free |
| #define | YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1) |
| #define | YYSTACK_BYTES(N) |
| #define | YYCOPY_NEEDED 1 |
| #define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
| #define | YYCOPY(To, From, Count) |
| #define | YYFINAL 2 |
| #define | YYLAST 57 |
| #define | YYNTOKENS 22 |
| #define | YYNNTS 12 |
| #define | YYNRULES 55 |
| #define | YYNSTATES 67 |
| #define | YYUNDEFTOK 2 |
| #define | YYMAXUTOK 273 |
| #define | YYTRANSLATE(YYX) ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
| #define | YYPACT_NINF -17 |
| #define | YYTABLE_NINF -1 |
| #define | yypact_value_is_default(yystate) ((yystate) == (-17)) |
| #define | yytable_value_is_error(yytable_value) YYID (0) |
| #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 yyerrorlab |
| #define | YYFAIL goto yyerrlab |
| #define | YYRECOVERING() (!!yyerrstatus) |
| #define | YYBACKUP(Token, Value) |
| #define | YYTERROR 1 |
| #define | YYERRCODE 256 |
| #define | YYRHSLOC(Rhs, K) ((Rhs)[K]) |
| #define | YYLLOC_DEFAULT(Current, Rhs, N) |
| #define | YY_LOCATION_PRINT(File, Loc) ((void) 0) |
| #define | YYLEX yylex (&yylval, YYLEX_PARAM) |
| #define | YYDPRINTF(Args) |
| #define | YY_SYMBOL_PRINT(Title, Type, Value, Location) |
| #define | YY_STACK_PRINT(Bottom, Top) |
| #define | YY_REDUCE_PRINT(Rule) |
| #define | YYINITDEPTH 200 |
| #define | YYMAXDEPTH 10000 |
| #define | YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N)) |
Typedefs | |
| typedef unsigned char | yytype_uint8 |
| typedef short int | yytype_int8 |
| typedef unsigned short int | yytype_uint16 |
| typedef short int | yytype_int16 |
Enumerations | |
| enum | { MERam , MERpm , MER24 } |
| enum | yytokentype { tAGO = 258 , tDST = 259 , tDAY = 260 , tDAY_UNIT = 261 , tDAYZONE = 262 , tHOUR_UNIT = 263 , tLOCAL_ZONE = 264 , tMERIDIAN = 265 , tMINUTE_UNIT = 266 , tMONTH = 267 , tMONTH_UNIT = 268 , tSEC_UNIT = 269 , tYEAR_UNIT = 270 , tZONE = 271 , tSNUMBER = 272 , tUNUMBER = 273 } |
Variables | |
| static const yytype_uint8 | yytranslate [] |
| static const yytype_uint8 | yyr1 [] |
| static const yytype_uint8 | yyr2 [] |
| static const yytype_uint8 | yydefact [] |
| static const yytype_int8 | yydefgoto [] |
| static const yytype_int8 | yypact [] |
| static const yytype_int8 | yypgoto [] |
| static const yytype_uint8 | yytable [] |
| static const yytype_uint8 | yycheck [] |
| static const yytype_uint8 | yystos [] |
| static table const | meridian_table [] |
| static table const | dst_table [] |
| static table const | month_and_day_table [] |
| static table const | time_units_table [] |
| static table const | relative_time_table [] |
| static table const | time_zone_table [] |
| static table const | military_table [] |
| #define ISSPACE | ( | c | ) | (IN_CTYPE_DOMAIN (c) && isspace (c)) |
| #define ISALPHA | ( | c | ) | (IN_CTYPE_DOMAIN (c) && isalpha (c)) |
| #define ISLOWER | ( | c | ) | (IN_CTYPE_DOMAIN (c) && islower (c)) |
| #define ISDIGIT_LOCALE | ( | c | ) | (IN_CTYPE_DOMAIN (c) && isdigit (c)) |
| #define ATTRIBUTE_UNUSED __attribute__ ((__unused__)) |
| #define PC (* (parser_control *) parm) |
| #define yystype YYSTYPE /* obsolescent; will be withdrawn */ |
| #define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
| #define YYSTACK_BYTES | ( | N | ) |
| #define YYSTACK_RELOCATE | ( | Stack_alloc, | |
| Stack | |||
| ) |
| #define YYCOPY | ( | To, | |
| From, | |||
| Count | |||
| ) |
| #define YYTRANSLATE | ( | YYX | ) | ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) |
| #define yypact_value_is_default | ( | yystate | ) | ((yystate) == (-17)) |
| #define YYBACKUP | ( | Token, | |
| Value | |||
| ) |
| #define YYLLOC_DEFAULT | ( | Current, | |
| Rhs, | |||
| N | |||
| ) |
| #define YYLEX yylex (&yylval, YYLEX_PARAM) |
| #define YYPOPSTACK | ( | N | ) | (yyvsp -= (N), yyssp -= (N)) |
| typedef unsigned char yytype_uint8 |
| typedef short int yytype_int8 |
| typedef unsigned short int yytype_uint16 |
| typedef short int yytype_int16 |
| enum yytokentype |
|
static |
|
static |
|
static |
| int yyparse | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |