libocpf/ocpf.tab.c File Reference
#include "libocpf/ocpf_private.h"
#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   ocpf_yydebug
#define YYDEBUG   0
#define YYDPRINTF(Args)
#define YYEMPTY   (-2)
#define YYEOF   0
#define YYERRCODE   256
#define yyerrok   (yyerrstatus = 0)
#define yyerror   ocpf_yyerror
#define YYERROR   goto yyerrorlab
#define YYERROR_VERBOSE   0
#define YYFAIL   goto yyerrlab
#define YYFINAL   2
#define YYFREE   free
#define YYID(n)   (n)
#define YYINITDEPTH   200
#define YYLAST   131
#define yylex   ocpf_yylex
#define YYLEX   yylex ()
#define YYLLOC_DEFAULT(Current, Rhs, N)
#define YYLSP_NEEDED   0
#define yylval   ocpf_yylval
#define YYMALLOC   malloc
#define YYMAXDEPTH   10000
#define YYMAXUTOK   297
#define yynerrs   ocpf_yynerrs
#define YYNNTS   25
#define YYNRULES   66
#define YYNSTATES   110
#define YYNTOKENS   43
#define YYPACT_NINF   -12
#define yyparse   ocpf_yyparse
#define YYPOPSTACK(N)   (yyvsp -= (N), yyssp -= (N))
#define YYPULL   1
#define YYPURE   0
#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   -35
#define YYTERROR   1
#define YYTOKEN_TABLE   0
#define YYTOKENTYPE
#define YYTRANSLATE(YYX)   ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
#define YYUNDEFTOK   2
#define YYUSE(e)   ((void) (e))

Typedefs

typedef union YYSTYPE YYSTYPE
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,
  DOUBLE = 262, IDENTIFIER = 263, STRING = 264, UNICODE = 265,
  MVSTRING = 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_SYSTIME = 287, kw_PT_MV_STRING8 = 288, kw_PT_BINARY = 289,
  OBRACE = 290, EBRACE = 291, COMMA = 292, SEMICOLON = 293,
  COLON = 294, LOWER = 295, GREATER = 296, EQUAL = 297,
  UINT8 = 258, BOOLEAN = 259, SHORT = 260, INTEGER = 261,
  DOUBLE = 262, IDENTIFIER = 263, STRING = 264, UNICODE = 265,
  MVSTRING = 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_SYSTIME = 287, kw_PT_MV_STRING8 = 288, kw_PT_BINARY = 289,
  OBRACE = 290, EBRACE = 291, COMMA = 292, SEMICOLON = 293,
  COLON = 294, LOWER = 295, GREATER = 296, EQUAL = 297
}

Functions

void yyerror (char *)
int yyparse ()

Variables

int folderset
union SPropValue_CTR lpProp
struct ocpf_nprop nprop
uint8_t recip_type
uint16_t type
int typeset
int yychar
YYSTYPE yylval
int yynerrs

Define Documentation

#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 
)
Value:
do                                                              \
  if (yychar == YYEMPTY && yylen == 1)                          \
    {                                                           \
      yychar = (Token);                                         \
      yylval = (Value);                                         \
      yytoken = YYTRANSLATE (yychar);                           \
      YYPOPSTACK (1);                                           \
      goto yybackup;                                            \
    }                                                           \
  else                                                          \
    {                                                           \
      yyerror (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   ocpf_yydebug
#define YYDEBUG   0
#define YYDPRINTF (   Args)
#define YYEMPTY   (-2)
#define YYEOF   0
#define YYERRCODE   256
#define yyerrok   (yyerrstatus = 0)
#define yyerror   ocpf_yyerror
#define YYERROR   goto yyerrorlab
#define YYERROR_VERBOSE   0
#define YYFAIL   goto yyerrlab
#define YYFINAL   2
#define YYFREE   free
#define YYID (   n)    (n)
#define YYINITDEPTH   200
#define YYLAST   131
#define yylex   ocpf_yylex
#define YYLEX   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
#define YYMALLOC   malloc
#define YYMAXDEPTH   10000
#define YYMAXUTOK   297
#define yynerrs   ocpf_yynerrs
#define YYNNTS   25
#define YYNRULES   66
#define YYNSTATES   110
#define YYNTOKENS   43
#define YYPACT_NINF   -12
int yyparse   ocpf_yyparse
#define YYPOPSTACK (   N)    (yyvsp -= (N), yyssp -= (N))
#define YYPULL   1
#define YYPURE   0
#define YYPUSH   0
#define YYRECOVERING ( )    (!!yyerrstatus)
#define YYRHSLOC (   Rhs,
 
)    ((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)
Value:
((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
      + YYSTACK_GAP_MAXIMUM)
#define YYSTACK_FREE   YYFREE
#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))
#define yystype   YYSTYPE
#define YYSTYPE_IS_DECLARED   1
#define YYSTYPE_IS_TRIVIAL   1
#define YYTABLE_NINF   -35
#define YYTERROR   1
#define YYTOKEN_TABLE   0
#define YYTOKENTYPE
#define YYTRANSLATE (   YYX)    ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
#define YYUNDEFTOK   2
#define YYUSE (   e)    ((void) (e))

Typedef Documentation

typedef union YYSTYPE YYSTYPE
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 
DOUBLE 
IDENTIFIER 
STRING 
UNICODE 
MVSTRING 
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_SYSTIME 
kw_PT_MV_STRING8 
kw_PT_BINARY 
OBRACE 
EBRACE 
COMMA 
SEMICOLON 
COLON 
LOWER 
GREATER 
EQUAL 
UINT8 
BOOLEAN 
SHORT 
INTEGER 
DOUBLE 
IDENTIFIER 
STRING 
UNICODE 
MVSTRING 
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_SYSTIME 
kw_PT_MV_STRING8 
kw_PT_BINARY 
OBRACE 
EBRACE 
COMMA 
SEMICOLON 
COLON 
LOWER 
GREATER 
EQUAL 

Function Documentation

void yyerror ( char *  s)

References lineno.

int yyparse ( )

Variable Documentation

int folderset
union SPropValue_CTR lpProp
struct ocpf_nprop nprop
uint8_t recip_type
uint16_t type

Referenced by ocpf_write_auto().

int typeset
int yychar
int yynerrs

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/