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

📄 msi_ros.diff

📁 ReactOS是一些高手根据Windows XP的内核编写出的类XP。内核实现机理和API函数调用几乎相同。甚至可以兼容XP的程序。喜欢研究系统内核的人可以看一看。
💻 DIFF
📖 第 1 页 / 共 5 页
字号:
+};
+
+/* YYRHS -- A `-1'-separated list of the rules' RHS. */
+static const yysigned_char yyrhs[] =
+{
+      24,     0,    -1,    25,    -1,    26,    -1,    26,     5,    25,
+      -1,    27,    -1,    26,     6,    27,    -1,    28,    -1,     7,
+      28,    -1,    33,    -1,    34,    -1,    33,    29,    33,    -1,
+      34,    30,    34,    -1,    34,    13,    30,    34,    -1,    34,
+      31,    33,    -1,    33,    32,    34,    -1,    11,    25,    12,
+      -1,    10,    -1,     8,     9,    -1,     8,    -1,     9,    -1,
+       8,    10,    -1,     9,    10,    -1,     9,     8,    -1,     8,
+       8,    -1,     9,     9,    -1,    10,    -1,     8,     9,    -1,
+       8,    -1,     9,    -1,     8,    10,    -1,     9,    10,    -1,
+       9,     8,    -1,     8,     8,    -1,     9,     9,    -1,    10,
+      -1,     8,     9,    -1,     8,    -1,     9,    -1,     8,    10,
+      -1,     9,    10,    -1,     9,     8,    -1,     8,     8,    -1,
+       9,     9,    -1,    10,    -1,     8,     9,    -1,     8,    -1,
+       9,    -1,     8,    10,    -1,     9,    10,    -1,     9,     8,
+      -1,     8,     8,    -1,     9,     9,    -1,    36,    -1,    39,
+      -1,    37,    -1,    35,    -1,    21,    -1,    15,    38,    -1,
+      16,    38,    -1,    17,    38,    -1,    18,    38,    -1,    38,
+      -1,    14,    38,    -1,    19,    -1,    20,    -1
+};
+
+/* YYRLINE[YYN] -- source line where rule number YYN was defined.  */
+static const unsigned short yyrline[] =
+{
+       0,   136,   136,   144,   148,   155,   159,   166,   170,   178,
+     182,   187,   191,   197,   203,   208,   213,   221,   225,   229,
+     233,   237,   241,   246,   250,   254,   262,   266,   270,   274,
+     278,   282,   287,   291,   295,   303,   307,   311,   315,   319,
+     323,   328,   332,   336,   344,   348,   352,   356,   360,   364,
+     369,   373,   377,   384,   388,   395,   399,   406,   415,   424,
+     433,   442,   454,   477,   491,   500
+};
+#endif
+
+#if YYDEBUG || YYERROR_VERBOSE
+/* YYTNME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
+   First, the terminals, then, starting at YYNTOKENS, nonterminals. */
+static const char *const yytname[] =
+{
+  "$end", "error", "$undefined", "COND_SPACE", "COND_EOF", "COND_OR",
+  "COND_AND", "COND_NOT", "COND_LT", "COND_GT", "COND_EQ", "COND_LPAR",
+  "COND_RPAR", "COND_TILDA", "COND_PERCENT", "COND_DOLLARS",
+  "COND_QUESTION", "COND_AMPER", "COND_EXCLAM", "COND_IDENT",
+  "COND_NUMBER", "COND_LITER", "COND_ERROR", "$accept", "condition",
+  "expression", "boolean_term", "boolean_factor", "term", "comp_op_i",
+  "comp_op_s", "comp_op_m1", "comp_op_m2", "value_i", "value_s", "literal",
+  "symbol_i", "symbol_s", "identifier", "integer", 0
+};
+#endif
+
+# ifdef YYPRINT
+/* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
+   token YYLEX-NUM.  */
+static const unsigned short yytoknum[] =
+{
+       0,   256,   257,   258,   259,   260,   261,   262,   263,   264,
+     265,   266,   267,   268,   269,   270,   271,   272,   273,   274,
+     275,   276,   277
+};
+# endif
+
+/* YYR1[YYN] -- Symbol number of symbol that rule YYN derives.  */
+static const unsigned char yyr1[] =
+{
+       0,    23,    24,    25,    25,    26,    26,    27,    27,    28,
+      28,    28,    28,    28,    28,    28,    28,    29,    29,    29,
+      29,    29,    29,    29,    29,    29,    30,    30,    30,    30,
+      30,    30,    30,    30,    30,    31,    31,    31,    31,    31,
+      31,    31,    31,    31,    32,    32,    32,    32,    32,    32,
+      32,    32,    32,    33,    33,    34,    34,    35,    36,    36,
+      36,    36,    37,    37,    38,    39
+};
+
+/* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN.  */
+static const unsigned char yyr2[] =
+{
+       0,     2,     1,     1,     3,     1,     3,     1,     2,     1,
+       1,     3,     3,     4,     3,     3,     3,     1,     2,     1,
+       1,     2,     2,     2,     2,     2,     1,     2,     1,     1,
+       2,     2,     2,     2,     2,     1,     2,     1,     1,     2,
+       2,     2,     2,     2,     1,     2,     1,     1,     2,     2,
+       2,     2,     2,     1,     1,     1,     1,     1,     2,     2,
+       2,     2,     1,     2,     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,     0,     0,     0,     0,     0,     0,     0,    64,    65,
+      57,     0,     2,     3,     5,     7,     9,    10,    56,    53,
+      55,    62,    54,     8,     0,    63,    58,    59,    60,    61,
+       1,     0,     0,    19,    20,    17,     0,     0,    37,    38,
+      35,     0,     0,     0,    16,     4,     6,    24,    18,    21,
+      23,    25,    22,    11,    15,    42,    36,    39,    41,    43,
+      40,    28,    29,    26,     0,    12,    14,    33,    27,    30,
+      32,    34,    31,    13
+};
+
+/* YYDEFGOTO[NTERM-NUM]. */
+static const yysigned_char yydefgoto[] =
+{
+      -1,    11,    12,    13,    14,    15,    36,    42,    43,    37,
+      16,    17,    18,    19,    20,    21,    22
+};
+
+/* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
+   STATE-NUM.  */
+#define YYPACT_NINF -37
+static const short yypact[] =
+{
+      -4,    51,    -4,   -11,   -11,   -11,   -11,   -11,   -37,   -37,
+     -37,    18,   -37,    -1,   -37,   -37,    49,    14,   -37,   -37,
+     -37,   -37,   -37,   -37,    19,   -37,   -37,   -37,   -37,   -37,
+     -37,    -4,    -4,    11,    25,    34,   111,    59,    28,    42,
+      60,   130,    59,   111,   -37,   -37,   -37,    63,    69,    72,
+      73,    81,    82,   -37,   -37,    85,    91,    94,    95,   103,
+     104,   133,   136,   -37,    59,   -37,   -37,   -37,   -37,   -37,
+     -37,   -37,   -37,   -37
+};
+
+/* YYPGOTO[NTERM-NUM].  */
+static const short yypgoto[] =
+{
+     -37,   -37,    -2,   -37,    -6,    39,   -37,     0,   -37,   -37,
+     -34,   -36,   -37,   -37,   -37,   129,   -37
+};
+
+/* 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 -53
+static const yysigned_char yytable[] =
+{
+      24,    54,    53,     1,    31,    32,    65,     2,     8,    66,
+       3,     4,     5,     6,     7,     8,     9,    10,    30,    47,
+      48,    49,    38,    39,    40,   -46,    46,    41,    73,    45,
+     -46,    44,   -46,    50,    51,    52,    55,    56,    57,   -47,
+      23,    64,   -28,     0,   -47,     0,   -47,   -28,   -44,   -28,
+      58,    59,    60,   -44,     0,   -44,   -29,    33,    34,    35,
+       0,   -29,     2,   -29,     0,     3,     4,     5,     6,     7,
+       8,     9,    10,     3,   -26,     0,     0,   -51,     8,   -26,
+      10,   -26,   -51,   -45,   -51,     0,   -48,   -50,   -45,     0,
+     -45,   -48,   -50,   -48,   -50,   -52,   -49,     0,     0,   -33,
+     -52,   -49,   -52,   -49,   -33,   -27,   -33,     0,   -30,   -32,
+     -27,     0,   -27,   -30,   -32,   -30,   -32,   -34,   -31,     0,
+       0,     0,   -34,   -31,   -34,   -31,     4,     5,     6,     7,
+       0,     9,    25,    26,    27,    28,    29,     0,    61,    62,
+      63,    67,    68,    69,    70,    71,    72
+};
+
+static const yysigned_char yycheck[] =
+{
+       2,    37,    36,     7,     5,     6,    42,    11,    19,    43,
+      14,    15,    16,    17,    18,    19,    20,    21,     0,     8,
+       9,    10,     8,     9,    10,    14,    32,    13,    64,    31,
+      19,    12,    21,     8,     9,    10,     8,     9,    10,    14,
+       1,    41,    14,    -1,    19,    -1,    21,    19,    14,    21,
+       8,     9,    10,    19,    -1,    21,    14,     8,     9,    10,
+      -1,    19,    11,    21,    -1,    14,    15,    16,    17,    18,
+      19,    20,    21,    14,    14,    -1,    -1,    14,    19,    19,
+      21,    21,    19,    14,    21,    -1,    14,    14,    19,    -1,
+      21,    19,    19,    21,    21,    14,    14,    -1,    -1,    14,
+      19,    19,    21,    21,    19,    14,    21,    -1,    14,    14,
+      19,    -1,    21,    19,    19,    21,    21,    14,    14,    -1,
+      -1,    -1,    19,    19,    21,    21,    15,    16,    17,    18,
+      -1,    20,     3,     4,     5,     6,     7,    -1,     8,     9,
+      10,     8,     9,    10,     8,     9,    10
+};
+
+/* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
+   symbol of state STATE-NUM.  */
+static const unsigned char yystos[] =
+{
+       0,     7,    11,    14,    15,    16,    17,    18,    19,    20,
+      21,    24,    25,    26,    27,    28,    33,    34,    35,    36,
+      37,    38,    39,    28,    25,    38,    38,    38,    38,    38,
+       0,     5,     6,     8,     9,    10,    29,    32,     8,     9,
+      10,    13,    30,    31,    12,    25,    27,     8,     9,    10,
+       8,     9,    10,    33,    34,     8,     9,    10,     8,     9,
+      10,     8,     9,    10,    30,    34,    33,     8,     9,    10,
+       8,     9,    10,    34
+};
+
+#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
+# define YYSIZE_T __SIZE_TYPE__
+#endif
+#if ! defined (YYSIZE_T) && defined (size_t)
+# define YYSIZE_T size_t
+#endif
+#if ! defined (YYSIZE_T)
+# if defined (__STDC__) || defined (__cplusplus)
+#  include <stddef.h> /* INFRINGES ON USER NAME SPACE */
+#  define YYSIZE_T size_t
+# endif
+#endif
+#if ! defined (YYSIZE_T)
+# define YYSIZE_T unsigned int
+#endif
+
+#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 ("syntax error: cannot back up");\
+      YYERROR;							\
+    }								\
+while (0)
+
+#define YYTERROR	1
+#define YYERRCODE	256
+
+/* YYLLOC_DEFAULT -- Compute the default location (before the actions
+   are run).  */
+
+#ifndef YYLLOC_DEFAULT
+# define YYLLOC_DEFAULT(Current, Rhs, N)		\
+   ((Current).first_line   = (Rhs)[1].first_line,	\
+    (Current).first_column = (Rhs)[1].first_column,	\
+    (Current).last_line    = (Rhs)[N].last_line,	\
+    (Current).last_column  = (Rhs)[N].last_column)
+#endif
+
+/* YYLEX -- calling `yylex' with the right arguments.  */
+
+#ifdef YYLEX_PARAM
+# define YYLEX yylex (&yylval, YYLEX_PARAM)
+#else
+# define YYLEX yylex (&yylval)
+#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 YYDSYMPRINT(Args)			\
+do {						\
+  if (yydebug)					\
+    yysymprint Args;				\
+} while (0)
+
+# define YYDSYMPRINTF(Title, Token, Value, Location)		\
+do {								\
+  if (yydebug)							\
+    {								\
+      YYFPRINTF (stderr, "%s ", Title);				\
+      yysymprint (stderr, 					\
+                  Token, 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 void
+yy_stack_print (short *bottom, short *top)
+#else
+static void
+yy_stack_print (bottom, top)
+    short *bottom;
+    short *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 void
+yy_reduce_print (int yyrule)
+#else
+static void
+yy_reduce_print (yyrule)
+    int yyrule;
+#endif
+{
+  int yyi;
+  unsigned int yylno = yyrline[yyrule];
+  YYFPRINTF (stderr, "Reducing stack by rule %d (line %u), ",
+             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 YYDSYMPRINT(Args)
+# define YYDSYMPRINTF(Title, Token, 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
+   SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH)
+   evaluated with infinite-precision integer arithmetic.  */
+
+#if defined (YYMAXDEPTH) && YYMAXDEPTH == 0
+# undef YYMAXDEPTH
+#endif
+
+#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)
+#   else
+yystrlen (yystr)
+     const char *yystr;
+#   endif
+{
+  register 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)
+#   else
+yystpcpy (yydest, yysrc)
+     char *yydest;
+     const char *yysrc;
+#   endif
+{
+  register char *yyd = yydest;
+  register const char *yys = yysrc;
+
+  while ((*yyd++ = *yys++) != '\0')
+    continue;
+
+  return yyd - 1;
+}
+#  endif
+# endif
+
+#endif /* !YYERROR_VERBOSE */
+
+
+
+#if YYDEBUG
+/*--------------------------------.
+| Print this symbol on YYOUTPUT.  |
+`--------------------------------*/
+
+#if defined (__STDC__) || defined (__cplusplus)
+static void
+yysymprint (FILE *yyoutput, int yytype, YYSTYPE *yyvaluep)
+#else
+static void
+yysymprint (yyoutput, yytype, yyvaluep)
+    FILE *yyoutput;
+    int yytype;
+    YYSTYPE *yyvaluep;
+#endif
+{
+  /* Pacify ``unused variable'' warnings.  */
+  (void) yyvaluep;
+
+  if (yytype < YYNTOKENS)
+    {

⌨️ 快捷键说明

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