libocpf/ocpf.tab.c File Reference

#include "libocpf/ocpf.h"
#include "libocpf/ocpf_api.h"
#include "libocpf/lex.h"

Defines

#define YY_(msgid)   msgid
#define YY_LOCATION_PRINT(File, Loc)   ((void) 0)
#define YY_REDUCE_PRINT(Rule)
#define YY_STACK_PRINT(Bottom, Top)
#define YY_SYMBOL_PRINT(Title, Type, Value, Location)
#define YYABORT   goto yyabortlab
#define YYACCEPT   goto yyacceptlab
#define YYBACKUP(Token, Value)
#define YYBISON   1
#define YYBISON_VERSION   "2.4.1"
#define yychar   ocpf_yychar
#define yyclearin   (yychar = YYEMPTY)
#define YYCOPY(To, From, Count)
#define YYDEBUG   0
#define yydebug   ocpf_yydebug
#define YYDPRINTF(Args)
#define YYEMPTY   (-2)
#define YYEOF   0
#define YYERRCODE   256
#define yyerrok   (yyerrstatus = 0)
#define YYERROR   goto yyerrorlab
#define yyerror   ocpf_yyerror
#define YYERROR_VERBOSE   0
#define YYFAIL   goto yyerrlab
#define YYFINAL   2
#define YYFREE   free
#define YYID(n)   (n)
#define YYINITDEPTH   200
#define YYLAST   203
#define YYLEX   yylex (&yylval, scanner)
#define yylex   ocpf_yylex
#define YYLLOC_DEFAULT(Current, Rhs, N)
#define YYLSP_NEEDED   0
#define yylval   ocpf_yylval
#define YYMALLOC   malloc
#define YYMAXDEPTH   10000
#define YYMAXUTOK   302
#define yynerrs   ocpf_yynerrs
#define YYNNTS   32
#define YYNRULES   89
#define YYNSTATES   154
#define YYNTOKENS   48
#define YYPACT_NINF   -66
#define yyparse   ocpf_yyparse
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
#define YYPULL   1
#define YYPURE   1
#define YYPUSH   0
#define YYRECOVERING()   (!!yyerrstatus)
#define YYRHSLOC(Rhs, K)   ((Rhs)[K])
#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)
#define YYSIZE_T   unsigned int
#define YYSKELETON_NAME   "yacc.c"
#define YYSTACK_ALLOC   YYMALLOC
#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM
#define YYSTACK_BYTES(N)
#define YYSTACK_FREE   YYFREE
#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)
#define YYSTACK_RELOCATE(Stack_alloc, Stack)
#define yystype   YYSTYPE
#define YYSTYPE_IS_DECLARED   1
#define YYSTYPE_IS_TRIVIAL   1
#define YYTABLE_NINF   -63
#define YYTERROR   1
#define YYTOKEN_TABLE   0
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
#define YYUNDEFTOK   2
#define YYUSE(e)   ((void) (e))

Typedefs

typedef short int yytype_int16
typedef short int yytype_int8
typedef unsigned short int yytype_uint16
typedef unsigned char yytype_uint8

Enumerations

enum  yytokentype {
  UINT8 = 258, BOOLEAN = 259, SHORT = 260, INTEGER = 261,
  I8 = 262, DOUBLE = 263, IDENTIFIER = 264, STRING = 265,
  UNICODE = 266, SYSTIME = 267, VAR = 268, kw_TYPE = 269,
  kw_FOLDER = 270, kw_OLEGUID = 271, kw_SET = 272, kw_PROPERTY = 273,
  kw_NPROPERTY = 274, kw_RECIPIENT = 275, kw_TO = 276, kw_CC = 277,
  kw_BCC = 278, kw_OOM = 279, kw_MNID_ID = 280, kw_MNID_STRING = 281,
  kw_PT_BOOLEAN = 282, kw_PT_STRING8 = 283, kw_PT_UNICODE = 284, kw_PT_SHORT = 285,
  kw_PT_LONG = 286, kw_PT_I8 = 287, kw_PT_DOUBLE = 288, kw_PT_SYSTIME = 289,
  kw_PT_MV_LONG = 290, kw_PT_MV_BINARY = 291, kw_PT_MV_STRING8 = 292, kw_PT_MV_UNICODE = 293,
  kw_PT_BINARY = 294, OBRACE = 295, EBRACE = 296, COMMA = 297,
  SEMICOLON = 298, COLON = 299, LOWER = 300, GREATER = 301,
  EQUAL = 302, UINT8 = 258, BOOLEAN = 259, SHORT = 260,
  INTEGER = 261, I8 = 262, DOUBLE = 263, IDENTIFIER = 264,
  STRING = 265, UNICODE = 266, SYSTIME = 267, VAR = 268,
  kw_TYPE = 269, kw_FOLDER = 270, kw_OLEGUID = 271, kw_SET = 272,
  kw_PROPERTY = 273, kw_NPROPERTY = 274, kw_RECIPIENT = 275, kw_TO = 276,
  kw_CC = 277, kw_BCC = 278, kw_OOM = 279, kw_MNID_ID = 280,
  kw_MNID_STRING = 281, kw_PT_BOOLEAN = 282, kw_PT_STRING8 = 283, kw_PT_UNICODE = 284,
  kw_PT_SHORT = 285, kw_PT_LONG = 286, kw_PT_I8 = 287, kw_PT_DOUBLE = 288,
  kw_PT_SYSTIME = 289, kw_PT_MV_LONG = 290, kw_PT_MV_BINARY = 291, kw_PT_MV_STRING8 = 292,
  kw_PT_MV_UNICODE = 293, kw_PT_BINARY = 294, OBRACE = 295, EBRACE = 296,
  COMMA = 297, SEMICOLON = 298, COLON = 299, LOWER = 300,
  GREATER = 301, EQUAL = 302
}

Functions

int ocpf_yylex (void *, void *)
void yyerror (struct ocpf_context *, void *, char *)
int yyparse (struct ocpf_context *ctx, void *scanner)
int yyparse ()

Define Documentation

#define YY_ ( msgid   )     msgid

Referenced by yyparse().

#define YY_LOCATION_PRINT ( File,
Loc   )     ((void) 0)
#define YY_REDUCE_PRINT ( Rule   ) 

Referenced by yyparse().

#define YY_STACK_PRINT ( Bottom,
Top   ) 

Referenced by yyparse().

#define YY_SYMBOL_PRINT ( Title,
Type,
Value,
Location   ) 

Referenced by yyparse().

#define YYABORT   goto yyabortlab

Referenced by yyparse().

#define YYACCEPT   goto yyacceptlab

Referenced by yyparse().

#define YYBACKUP ( Token,
Value   ) 
Value:
do                                                              \
  if (yychar == YYEMPTY && yylen == 1)                          \
    {                                                           \
      yychar = (Token);                                         \
      yylval = (Value);                                         \
      yytoken = YYTRANSLATE (yychar);                           \
      YYPOPSTACK (1);                                           \
      goto yybackup;                                            \
    }                                                           \
  else                                                          \
    {                                                           \
      yyerror (ctx, scanner, YY_("syntax error: cannot back up")); \
      YYERROR;                                                  \
    }                                                           \
while (YYID (0))
#define YYBISON   1
#define YYBISON_VERSION   "2.4.1"
#define yychar   ocpf_yychar
#define yyclearin   (yychar = YYEMPTY)
#define YYCOPY ( To,
From,
Count   ) 
Value:
do                                      \
        {                                       \
          YYSIZE_T yyi;                         \
          for (yyi = 0; yyi < (Count); yyi++)   \
            (To)[yyi] = (From)[yyi];            \
        }                                       \
      while (YYID (0))
#define YYDEBUG   0
#define yydebug   ocpf_yydebug
#define YYDPRINTF ( Args   ) 

Referenced by yyparse().

#define YYEMPTY   (-2)

Referenced by yyparse().

#define YYEOF   0

Referenced by yyparse().

#define YYERRCODE   256
#define yyerrok   (yyerrstatus = 0)
#define YYERROR   goto yyerrorlab
#define yyerror   ocpf_yyerror

Referenced by yyparse().

#define YYERROR_VERBOSE   0
#define YYFAIL   goto yyerrlab
#define YYFINAL   2

Referenced by yyparse().

#define YYFREE   free
#define YYID (  )     (n)

Referenced by yyparse().

#define YYINITDEPTH   200

Referenced by yyparse().

#define YYLAST   203

Referenced by yyparse().

#define YYLEX   yylex (&yylval, scanner)

Referenced by yyparse().

#define yylex   ocpf_yylex
#define YYLLOC_DEFAULT ( Current,
Rhs,
 ) 
Value:
do                                                                      \
      if (YYID (N))                                                    \
        {                                                               \
          (Current).first_line   = YYRHSLOC (Rhs, 1).first_line;        \
          (Current).first_column = YYRHSLOC (Rhs, 1).first_column;      \
          (Current).last_line    = YYRHSLOC (Rhs, N).last_line;         \
          (Current).last_column  = YYRHSLOC (Rhs, N).last_column;       \
        }                                                               \
      else                                                              \
        {                                                               \
          (Current).first_line   = (Current).last_line   =              \
            YYRHSLOC (Rhs, 0).last_line;                                \
          (Current).first_column = (Current).last_column =              \
            YYRHSLOC (Rhs, 0).last_column;                              \
        }                                                               \
    while (YYID (0))
#define YYLSP_NEEDED   0
#define yylval   ocpf_yylval

Referenced by yyparse().

#define YYMALLOC   malloc
#define YYMAXDEPTH   10000

Referenced by yyparse().

#define YYMAXUTOK   302
#define yynerrs   ocpf_yynerrs

Referenced by yyparse().

#define YYNNTS   32
#define YYNRULES   89
#define YYNSTATES   154
#define YYNTOKENS   48

Referenced by yyparse().

#define YYPACT_NINF   -66

Referenced by yyparse().

#define yyparse   ocpf_yyparse
#define YYPOPSTACK (  )     (yyvsp -= (N), yyssp -= (N))

Referenced by yyparse().

#define YYPULL   1
#define YYPURE   1
#define YYPUSH   0
 
#define YYRECOVERING (  )     (!!yyerrstatus)
#define YYRHSLOC ( Rhs,
 )     ((Rhs)[K])
#define YYSIZE_MAXIMUM   ((YYSIZE_T) -1)
#define YYSIZE_T   unsigned int

Referenced by yyparse().

#define YYSKELETON_NAME   "yacc.c"
#define YYSTACK_ALLOC   YYMALLOC

Referenced by yyparse().

#define YYSTACK_ALLOC_MAXIMUM   YYSIZE_MAXIMUM

Referenced by yyparse().

#define YYSTACK_BYTES (  ) 
Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
      + YYSTACK_GAP_MAXIMUM)

Referenced by yyparse().

#define YYSTACK_FREE   YYFREE

Referenced by yyparse().

#define YYSTACK_GAP_MAXIMUM   (sizeof (union yyalloc) - 1)
#define YYSTACK_RELOCATE ( Stack_alloc,
Stack   ) 
Value:
do                                                                      \
      {                                                                 \
        YYSIZE_T yynewbytes;                                            \
        YYCOPY (&yyptr->Stack_alloc, Stack, yysize);                    \
        Stack = &yyptr->Stack_alloc;                                    \
        yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
        yyptr += yynewbytes / sizeof (*yyptr);                          \
      }                                                                 \
    while (YYID (0))

Referenced by yyparse().

#define yystype   YYSTYPE
#define YYSTYPE_IS_DECLARED   1
#define YYSTYPE_IS_TRIVIAL   1
#define YYTABLE_NINF   -63

Referenced by yyparse().

#define YYTERROR   1

Referenced by yyparse().

#define YYTOKEN_TABLE   0
#define YYTRANSLATE ( YYX   )     ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)

Referenced by yyparse().

#define YYUNDEFTOK   2
#define YYUSE (  )     ((void) (e))

Typedef Documentation

typedef short int yytype_int16
typedef short int yytype_int8
typedef unsigned short int yytype_uint16
typedef unsigned char yytype_uint8

Enumeration Type Documentation

Enumerator:
UINT8 
BOOLEAN 
SHORT 
INTEGER 
I8 
DOUBLE 
IDENTIFIER 
STRING 
UNICODE 
SYSTIME 
VAR 
kw_TYPE 
kw_FOLDER 
kw_OLEGUID 
kw_SET 
kw_PROPERTY 
kw_NPROPERTY 
kw_RECIPIENT 
kw_TO 
kw_CC 
kw_BCC 
kw_OOM 
kw_MNID_ID 
kw_MNID_STRING 
kw_PT_BOOLEAN 
kw_PT_STRING8 
kw_PT_UNICODE 
kw_PT_SHORT 
kw_PT_LONG 
kw_PT_I8 
kw_PT_DOUBLE 
kw_PT_SYSTIME 
kw_PT_MV_LONG 
kw_PT_MV_BINARY 
kw_PT_MV_STRING8 
kw_PT_MV_UNICODE 
kw_PT_BINARY 
OBRACE 
EBRACE 
COMMA 
SEMICOLON 
COLON 
LOWER 
GREATER 
EQUAL 
UINT8 
BOOLEAN 
SHORT 
INTEGER 
I8 
DOUBLE 
IDENTIFIER 
STRING 
UNICODE 
SYSTIME 
VAR 
kw_TYPE 
kw_FOLDER 
kw_OLEGUID 
kw_SET 
kw_PROPERTY 
kw_NPROPERTY 
kw_RECIPIENT 
kw_TO 
kw_CC 
kw_BCC 
kw_OOM 
kw_MNID_ID 
kw_MNID_STRING 
kw_PT_BOOLEAN 
kw_PT_STRING8 
kw_PT_UNICODE 
kw_PT_SHORT 
kw_PT_LONG 
kw_PT_I8 
kw_PT_DOUBLE 
kw_PT_SYSTIME 
kw_PT_MV_LONG 
kw_PT_MV_BINARY 
kw_PT_MV_STRING8 
kw_PT_MV_UNICODE 
kw_PT_BINARY 
OBRACE 
EBRACE 
COMMA 
SEMICOLON 
COLON 
LOWER 
GREATER 
EQUAL 

Function Documentation

int ocpf_yylex ( void *  ,
void *   
)
void yyerror ( struct ocpf_context *  ctx,
void *  scanner,
char *  s 
)
int yyparse (  ) 

Creative Commons License
Creative Commons Attribution icon Creative Commons Share Alike icon
This content is licensed under the Creative Commons
Attribution ShareAlike License v. 3.0:
http://creativecommons.org/licenses/by-sa/3.0/