⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 parser.c

📁 蓝牙bluez-utils-2.25.tar.gz网上很少找到这个版本的了
💻 C
📖 第 1 页 / 共 4 页
字号:
#endif# ifdef YYPRINT/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to   token YYLEX-NUM.  */static const unsigned short int yytoknum[] ={       0,   256,   257,   258,   259,   260,   261,   262,   263,   264,     265,   266,   267,   268,   269,   270,   271,   272,   273,   274,     275,   276,   277,   278,   279,   280,   281,   282,   283,   284,     285,   123,   125,    59};# endif/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */static const unsigned char yyr1[] ={       0,    34,    35,    35,    36,    36,    36,    36,    37,    37,      37,    38,    39,    39,    39,    39,    40,    40,    40,    40,      40,    40,    41,    41,    42,    43,    44,    44,    44,    44,      45,    45,    45,    45,    45,    45,    45,    45,    45,    45,      45,    45,    45,    46,    46,    47,    48,    49,    49,    50,      50,    51,    51,    52,    52};/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN.  */static const unsigned char yyr2[] ={       0,     2,     1,     2,     2,     2,     1,     1,     1,     2,       2,     3,     0,     2,     2,     3,     2,     2,     2,     2,       1,     1,     1,     1,     1,     3,     0,     2,     2,     3,       2,     2,     2,     2,     2,     2,     2,     2,     2,     2,       2,     2,     1,     1,     1,     1,     1,     1,     1,     1,       1,     1,     1,     1,     1};/* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state   STATE-NUM when YYTABLE doesn't specify something else to do.  Zero   means the default is an error.  */static const unsigned char yydefact[] ={       0,     7,     0,     8,     6,     0,     2,     0,     0,     4,      45,    46,     9,    10,     1,     3,     0,     5,     0,     0,       0,     0,     0,    20,    21,     0,     0,     0,     0,     0,       0,     0,     0,     0,     0,     0,     0,     0,     0,     0,      42,     0,     0,    14,    53,    54,    16,    23,    22,    17,      24,    18,    19,    11,     0,    13,    28,    47,    48,    30,      43,    44,    33,    34,    35,    36,    37,    49,    50,    31,      51,    52,    32,    38,    39,    40,    41,    25,     0,    27,      15,    29};/* YYDEFGOTO[NTERM-NUM]. */static const yysigned_char yydefgoto[] ={      -1,     5,     6,     7,     9,    25,    26,    49,    51,    17,      41,    42,    62,    12,    13,    59,    69,    72,    46};/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing   STATE-NUM.  */#define YYPACT_NINF -36static const yysigned_char yypact[] ={      18,   -36,    -3,   -23,   -36,    54,   -36,    16,    19,   -36,     -36,   -36,   -36,   -36,   -36,   -36,    -1,   -36,    12,    51,      13,    26,    31,   -36,   -36,    28,    42,    43,     3,    20,      23,    29,    49,    50,     5,    14,    51,    51,    51,    51,     -36,    53,    48,   -36,   -36,   -36,   -36,   -36,   -36,   -36,     -36,   -36,   -36,   -36,    55,   -36,   -36,   -36,   -36,   -36,     -36,   -36,   -36,   -36,   -36,   -36,   -36,   -36,   -36,   -36,     -36,   -36,   -36,   -36,   -36,   -36,   -36,   -36,    56,   -36,     -36,   -36};/* YYPGOTO[NTERM-NUM].  */static const yysigned_char yypgoto[] ={     -36,   -36,    77,   -36,   -36,   -36,    58,   -36,   -36,   -36,     -36,    45,   -36,   -36,   -36,   -36,   -36,   -36,   -35};/* YYTABLE[YYPACT[STATE-NUM]].  What to do in state STATE-NUM.  If   positive, shift that token.  If negative, reduce the rule which   number is the opposite.  If zero, do what YYDEFACT says.   If YYTABLE_NINF, syntax error.  */#define YYTABLE_NINF -27static const yysigned_char yytable[] ={      27,    73,    74,    75,    76,    10,    11,    28,    29,    30,      31,    32,    33,    34,    35,    36,    37,    38,    39,     1,      18,     2,     3,    40,    19,    20,    21,    57,     8,    67,      58,   -26,    68,    19,    20,    21,    47,    48,    70,    22,      23,    71,     4,    24,    60,    43,    61,    16,    22,    23,      50,   -12,    24,    63,    14,     1,    52,     2,     3,    64,      53,    28,    29,    30,    31,    32,    33,    34,    35,    36,      37,    38,    39,    44,    45,    55,    56,    40,     4,    65,      66,    79,    15,    54,     0,    77,    78,     0,    80,    81};static const yysigned_char yycheck[] ={       1,    36,    37,    38,    39,    28,    29,     8,     9,    10,      11,    12,    13,    14,    15,    16,    17,    18,    19,     1,       1,     3,     4,    24,     5,     6,     7,    24,    31,    24,      27,    32,    27,     5,     6,     7,    23,    24,    24,    20,      21,    27,    24,    24,    24,    33,    26,    31,    20,    21,      24,    32,    24,    30,     0,     1,    25,     3,     4,    30,      32,     8,     9,    10,    11,    12,    13,    14,    15,    16,      17,    18,    19,    22,    23,    33,    33,    24,    24,    30,      30,    33,     5,    25,    -1,    32,    41,    -1,    33,    33};/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing   symbol of state STATE-NUM.  */static const unsigned char yystos[] ={       0,     1,     3,     4,    24,    35,    36,    37,    31,    38,      28,    29,    47,    48,     0,    36,    31,    43,     1,     5,       6,     7,    20,    21,    24,    39,    40,     1,     8,     9,      10,    11,    12,    13,    14,    15,    16,    17,    18,    19,      24,    44,    45,    33,    22,    23,    52,    23,    24,    41,      24,    42,    25,    32,    40,    33,    33,    24,    27,    49,      24,    26,    46,    30,    30,    30,    30,    24,    27,    50,      24,    27,    51,    52,    52,    52,    52,    32,    45,    33,      33,    33};#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/* 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);						\      yytoken = YYTRANSLATE (yychar);				\      YYPOPSTACK;						\      goto yybackup;						\    }								\  else								\    {								\      yyerror (YY_("syntax error: cannot back up")); \      YYERROR;							\    }								\while (0)#define YYTERROR	1#define YYERRCODE	256/* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].   If N is 0, then set CURRENT to the empty location which ends   the previous symbol: RHS[0] (always defined).  */#define YYRHSLOC(Rhs, K) ((Rhs)[K])#ifndef YYLLOC_DEFAULT# define YYLLOC_DEFAULT(Current, Rhs, N)				\    do									\      if (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 (0)#endif/* YY_LOCATION_PRINT -- Print the location on the stream.   This macro was not mandated originally: define only if we know   we won't break user code: when these are the locations we know.  */#ifndef YY_LOCATION_PRINT# if YYLTYPE_IS_TRIVIAL#  define YY_LOCATION_PRINT(File, Loc)			\     fprintf (File, "%d.%d-%d.%d",			\              (Loc).first_line, (Loc).first_column,	\              (Loc).last_line,  (Loc).last_column)# else#  define YY_LOCATION_PRINT(File, Loc) ((void) 0)# endif#endif/* YYLEX -- calling `yylex' with the right arguments.  */#ifdef YYLEX_PARAM# define YYLEX yylex (YYLEX_PARAM)#else# define YYLEX yylex ()#endif/* Enable debugging if requested.  */#if YYDEBUG# ifndef YYFPRINTF#  include <stdio.h> /* INFRINGES ON USER NAME SPACE */#  define YYFPRINTF fprintf# endif# define YYDPRINTF(Args)			\do {						\  if (yydebug)					\    YYFPRINTF Args;				\} while (0)# define YY_SYMBOL_PRINT(Title, Type, Value, Location)		\do {								\  if (yydebug)							\    {								\      YYFPRINTF (stderr, "%s ", Title);				\      yysymprint (stderr,					\                  Type, Value);	\      YYFPRINTF (stderr, "\n");					\    }								\} while (0)/*------------------------------------------------------------------.| yy_stack_print -- Print the state stack from its BOTTOM up to its || TOP (included).                                                   |`------------------------------------------------------------------*/#if defined (__STDC__) || defined (__cplusplus)static voidyy_stack_print (short int *bottom, short int *top)#elsestatic voidyy_stack_print (bottom, top)    short int *bottom;    short int *top;#endif{  YYFPRINTF (stderr, "Stack now");  for (/* Nothing. */; bottom <= top; ++bottom)    YYFPRINTF (stderr, " %d", *bottom);  YYFPRINTF (stderr, "\n");}# define YY_STACK_PRINT(Bottom, Top)				\do {								\  if (yydebug)							\    yy_stack_print ((Bottom), (Top));				\} while (0)/*------------------------------------------------.| Report that the YYRULE is going to be reduced.  |`------------------------------------------------*/#if defined (__STDC__) || defined (__cplusplus)static voidyy_reduce_print (int yyrule)#elsestatic voidyy_reduce_print (yyrule)    int yyrule;#endif{  int yyi;  unsigned long int yylno = yyrline[yyrule];  YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu), ",             yyrule - 1, yylno);  /* Print the symbols being reduced, and their result.  */  for (yyi = yyprhs[yyrule]; 0 <= yyrhs[yyi]; yyi++)    YYFPRINTF (stderr, "%s ", yytname[yyrhs[yyi]]);  YYFPRINTF (stderr, "-> %s\n", yytname[yyr1[yyrule]]);}# define YY_REDUCE_PRINT(Rule)		\do {					\  if (yydebug)				\    yy_reduce_print (Rule);		\} while (0)/* Nonzero means print parse trace.  It is left uninitialized so that   multiple parsers can coexist.  */int yydebug;#else /* !YYDEBUG */# define YYDPRINTF(Args)# define YY_SYMBOL_PRINT(Title, Type, Value, Location)# define YY_STACK_PRINT(Bottom, Top)# define YY_REDUCE_PRINT(Rule)#endif /* !YYDEBUG *//* YYINITDEPTH -- initial size of the parser's stacks.  */#ifndef	YYINITDEPTH# define YYINITDEPTH 200#endif/* YYMAXDEPTH -- maximum size the stacks can grow to (effective only   if the built-in stack extension method is used).   Do not make this value too large; the results are undefined if   YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)   evaluated with infinite-precision integer arithmetic.  */#ifndef YYMAXDEPTH# define YYMAXDEPTH 10000#endif#if YYERROR_VERBOSE# ifndef yystrlen#  if defined (__GLIBC__) && defined (_STRING_H)#   define yystrlen strlen#  else/* Return the length of YYSTR.  */static YYSIZE_T#   if defined (__STDC__) || defined (__cplusplus)yystrlen (const char *yystr)#   elseyystrlen (yystr)     const char *yystr;#   endif{  const char *yys = yystr;  while (*yys++ != '\0')    continue;  return yys - yystr - 1;}#  endif# endif# ifndef yystpcpy#  if defined (__GLIBC__) && defined (_STRING_H) && defined (_GNU_SOURCE)#   define yystpcpy stpcpy#  else/* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in   YYDEST.  */static char *#   if defined (__STDC__) || defined (__cplusplus)yystpcpy (char *yydest, const char *yysrc)#   elseyystpcpy (yydest, yysrc)     char *yydest;     const char *yysrc;#   endif{  char *yyd = yydest;  const char *yys = yysrc;  while ((*yyd++ = *yys++) != '\0')    continue;  return yyd - 1;}#  endif# endif# ifndef yytnamerr/* Copy to YYRES the contents of YYSTR after stripping away unnecessary   quotes and backslashes, so that it's suitable for yyerror.  The   heuristic is that double-quoting is unnecessary unless the string   contains an apostrophe, a comma, or backslash (other than   backslash-backslash).  YYSTR is taken from yytname.  If YYRES is   null, do not copy; instead, return the length of what the result   would have been.  */static YYSIZE_Tyytnamerr (char *yyres, const char *yystr){  if (*yystr == '"')    {      size_t yyn = 0;      char const *yyp = yystr;      for (;;)	switch (*++yyp)	  {	  case '\'':	  case ',':	    goto do_not_strip_quotes;	  case '\\':	    if (*++yyp != '\\')	      goto do_not_strip_quotes;	    /* Fall through.  */	  default:	    if (yyres)	      yyres[yyn] = *yyp;	    yyn++;	    break;	  case '"':	    if (yyres)	      yyres[yyn] = '\0';	    return yyn;	  }    do_not_strip_quotes: ;    }  if (! yyres)    return yystrlen (yystr);  return yystpcpy (yyres, yystr) - yyres;}# endif#endif /* YYERROR_VERBOSE */#if YYDEBUG/*--------------------------------.| Print this symbol on YYOUTPUT.  |`--------------------------------*/#if defined (__STDC__) || defined (__cplusplus)static voidyysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep)#elsestatic voidyysymprint (yyoutput, yytype, yyvaluep)    FILE *yyoutput;    int yytype;    YYSTYPE *yyvaluep;#endif{  /* Pacify ``unused variable'' warnings.  */  (void) yyvaluep;  if (yytype < YYNTOKENS)    YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);  else    YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);# ifdef YYPRINT  if (yytype < YYNTOKENS)    YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);# endif  switch (yytype)    {      default:        break;    }  YYFPRINTF (yyoutput, ")");}#endif /* ! YYDEBUG *//*-----------------------------------------------.| Release the memory associated to this symbol.  |`-----------------------------------------------*/#if defined (__STDC__) || defined (__cplusplus)static voidyydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -