1 /*============================================================================
2 CMake - Cross Platform Makefile Generator
3 Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
5 Distributed under the OSI-approved BSD License (the "License");
6 see accompanying file Copyright.txt for details.
8 This software is distributed WITHOUT ANY WARRANTY; without even the
9 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 See the License for more information.
11 ============================================================================*/
12 /* A Bison parser, made by GNU Bison 2.3. */
14 /* Skeleton implementation for Bison's Yacc-like parsers in C
16 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
17 Free Software Foundation, Inc.
19 This program is free software; you can redistribute it and/or modify
20 it under the terms of the GNU General Public License as published by
21 the Free Software Foundation; either version 2, or (at your option)
24 This program is distributed in the hope that it will be useful,
25 but WITHOUT ANY WARRANTY; without even the implied warranty of
26 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 GNU General Public License for more details.
29 You should have received a copy of the GNU General Public License
30 along with this program; if not, write to the Free Software
31 Foundation, Inc., 51 Franklin Street, Fifth Floor,
32 Boston, MA 02110-1301, USA. */
34 /* As a special exception, you may create a larger work that contains
35 part or all of the Bison parser skeleton and distribute that work
36 under terms of your choice, so long as that work isn't itself a
37 parser generator using the skeleton or a modified version thereof
38 as a parser skeleton. Alternatively, if you modify or redistribute
39 the parser skeleton itself, you may (at your option) remove this
40 special exception, which will cause the skeleton and the resulting
41 Bison output files to be licensed under the GNU General Public
42 License without this special exception.
44 This special exception was added by the Free Software Foundation in
45 version 2.2 of Bison. */
47 /* C LALR(1) parser skeleton written by Richard Stallman, by
48 simplifying the original so-called "semantic" parser. */
50 /* All symbols defined below should begin with yy or YY, to avoid
51 infringing on user name space. This should be done even for local
52 variables, as they might otherwise be expanded by user macros.
53 There are some unavoidable exceptions within include files to
54 define necessary library symbols; they are noted "INFRINGES ON
55 USER NAME SPACE" below. */
57 /* Identify Bison output. */
61 #define YYBISON_VERSION "2.3"
64 #define YYSKELETON_NAME "yacc.c"
69 /* Using locations. */
70 #define YYLSP_NEEDED 0
72 /* Substitute the variable and function names. */
73 #define yyparse cmCommandArgument_yyparse
74 #define yylex cmCommandArgument_yylex
75 #define yyerror cmCommandArgument_yyerror
76 #define yylval cmCommandArgument_yylval
77 #define yychar cmCommandArgument_yychar
78 #define yydebug cmCommandArgument_yydebug
79 #define yynerrs cmCommandArgument_yynerrs
85 /* Put the tokens into the symbol table, so that GDB and other debuggers
103 #define cal_ENVCURLY 258
104 #define cal_NCURLY 259
105 #define cal_DCURLY 260
106 #define cal_DOLLAR 261
107 #define cal_LCURLY 262
108 #define cal_RCURLY 263
110 #define cal_BSLASH 265
111 #define cal_SYMBOL 266
113 #define cal_ERROR 268
114 #define cal_ATNAME 269
119 /* Copy the first part of user declarations. */
120 #line 1 "cmCommandArgumentParser.y"
122 /*============================================================================
123 CMake - Cross Platform Makefile Generator
124 Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
126 Distributed under the OSI-approved BSD License (the "License");
127 see accompanying file Copyright.txt for details.
129 This software is distributed WITHOUT ANY WARRANTY; without even the
130 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
131 See the License for more information.
132 ============================================================================*/
135 This file must be translated to C and modified to build everywhere.
139 bison --yacc --name-prefix=cmCommandArgument_yy --defines=cmCommandArgumentParserTokens.h -ocmCommandArgumentParser.cxx cmCommandArgumentParser.y
141 Modify cmCommandArgumentParser.cxx:
143 - put header block at top of file
147 #include "cmStandardIncludes.h"
149 /* Configure the parser to use a lexer object. */
150 #define YYPARSE_PARAM yyscanner
151 #define YYLEX_PARAM yyscanner
152 #define YYERROR_VERBOSE 1
153 #define cmCommandArgument_yyerror(x) \
154 cmCommandArgumentError(yyscanner, x)
155 #define yyGetParser (cmCommandArgument_yyget_extra(yyscanner))
157 /* Make sure malloc and free are available on QNX. */
162 /* Make sure the parser uses standard memory allocation. The default
163 generated parser malloc/free declarations do not work on all
166 #define YYMALLOC malloc
169 /*-------------------------------------------------------------------------*/
170 #include "cmCommandArgumentParserHelper.h" /* Interface to parser object. */
171 #include "cmCommandArgumentLexer.h" /* Interface to lexer object. */
172 #include "cmCommandArgumentParserTokens.h" /* Need YYSTYPE for YY_DECL. */
174 /* Forward declare the lexer entry point. */
177 /* Internal utility functions. */
178 static void cmCommandArgumentError(yyscan_t yyscanner, const char* message);
181 /* Configure the parser to support large input. */
182 #define YYMAXDEPTH 100000
183 #define YYINITDEPTH 10000
185 /* Disable some warnings in the generated code. */
187 # pragma warn -8004 /* Variable assigned a value that is not used. */
188 # pragma warn -8008 /* condition always returns true */
189 # pragma warn -8060 /* possibly incorrect assignment */
190 # pragma warn -8066 /* unreachable code */
193 # pragma warning (disable: 4102) /* Unused goto label. */
194 # pragma warning (disable: 4065) /* Switch statement contains default but no
196 # pragma warning (disable: 4244) /* loss of precision */
197 # pragma warning (disable: 4702) /* unreachable code */
201 /* Enabling traces. */
206 /* Enabling verbose error messages. */
207 #ifdef YYERROR_VERBOSE
208 # undef YYERROR_VERBOSE
209 # define YYERROR_VERBOSE 1
211 # define YYERROR_VERBOSE 0
214 /* Enabling the token table. */
215 #ifndef YYTOKEN_TABLE
216 # define YYTOKEN_TABLE 0
219 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
221 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
222 # define YYSTYPE_IS_DECLARED 1
223 # define YYSTYPE_IS_TRIVIAL 1
228 /* Copy the second part of user declarations. */
231 /* Line 216 of yacc.c. */
232 #line 227 "cmCommandArgumentParser.cxx"
239 typedef YYTYPE_UINT8 yytype_uint8;
241 typedef unsigned char yytype_uint8;
245 typedef YYTYPE_INT8 yytype_int8;
246 #elif (defined __STDC__ || defined __C99__FUNC__ \
247 || defined __cplusplus || defined _MSC_VER)
248 typedef signed char yytype_int8;
250 typedef short int yytype_int8;
254 typedef YYTYPE_UINT16 yytype_uint16;
256 typedef unsigned short int yytype_uint16;
260 typedef YYTYPE_INT16 yytype_int16;
262 typedef short int yytype_int16;
266 # ifdef __SIZE_TYPE__
267 # define YYSIZE_T __SIZE_TYPE__
268 # elif defined size_t
269 # define YYSIZE_T size_t
270 # elif ! defined YYSIZE_T && (defined __STDC__ || defined __C99__FUNC__ \
271 || defined __cplusplus || defined _MSC_VER)
272 # include <stddef.h> /* INFRINGES ON USER NAME SPACE */
273 # define YYSIZE_T size_t
275 # define YYSIZE_T unsigned int
279 #define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
282 # if defined YYENABLE_NLS && YYENABLE_NLS
284 # include <libintl.h> /* INFRINGES ON USER NAME SPACE */
285 # define YY_(msgid) dgettext ("bison-runtime", msgid)
289 # define YY_(msgid) msgid
293 /* Suppress unused-variable warnings by "using" E. */
294 #if ! defined lint || defined __GNUC__
295 # define YYUSE(e) ((void) (e))
297 # define YYUSE(e) /* empty */
300 /* Identity function, used to suppress warnings about constant conditions. */
304 #if (defined __STDC__ || defined __C99__FUNC__ \
305 || defined __cplusplus || defined _MSC_VER)
318 #if ! defined yyoverflow || YYERROR_VERBOSE
320 /* The parser invokes alloca or malloc; define the necessary symbols. */
322 # ifdef YYSTACK_USE_ALLOCA
323 # if YYSTACK_USE_ALLOCA
325 # define YYSTACK_ALLOC __builtin_alloca
326 # elif defined __BUILTIN_VA_ARG_INCR
327 # include <alloca.h> /* INFRINGES ON USER NAME SPACE */
329 # define YYSTACK_ALLOC __alloca
330 # elif defined _MSC_VER
331 # include <malloc.h> /* INFRINGES ON USER NAME SPACE */
332 # define alloca _alloca
334 # define YYSTACK_ALLOC alloca
335 # if ! defined _ALLOCA_H && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
336 || defined __cplusplus || defined _MSC_VER)
337 # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
346 # ifdef YYSTACK_ALLOC
347 /* Pacify GCC's `empty if-body' warning. */
348 # define YYSTACK_FREE(Ptr) do { /* empty */; } while (YYID (0))
349 # ifndef YYSTACK_ALLOC_MAXIMUM
350 /* The OS might guarantee only one guard page at the bottom of the stack,
351 and a page size can be as small as 4096 bytes. So we cannot safely
352 invoke alloca (N) if N exceeds 4096. Use a slightly smaller number
353 to allow for a few compiler-allocated temporary stack slots. */
354 # define YYSTACK_ALLOC_MAXIMUM 4032 /* reasonable circa 2006 */
357 # define YYSTACK_ALLOC YYMALLOC
358 # define YYSTACK_FREE YYFREE
359 # ifndef YYSTACK_ALLOC_MAXIMUM
360 # define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM
362 # if (defined __cplusplus && ! defined _STDLIB_H \
363 && ! ((defined YYMALLOC || defined malloc) \
364 && (defined YYFREE || defined free)))
365 # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
371 # define YYMALLOC malloc
372 # if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
373 || defined __cplusplus || defined _MSC_VER)
374 void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */
379 # if ! defined free && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \
380 || defined __cplusplus || defined _MSC_VER)
381 void free (void *); /* INFRINGES ON USER NAME SPACE */
385 #endif /* ! defined yyoverflow || YYERROR_VERBOSE */
388 #if (! defined yyoverflow \
389 && (! defined __cplusplus \
390 || (defined YYSTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
392 /* A type that is properly aligned for any stack member. */
399 /* The size of the maximum gap between one aligned stack and the next. */
400 # define YYSTACK_GAP_MAXIMUM (sizeof (union yyalloc) - 1)
402 /* The size of an array large to enough to hold all stacks, each with
404 # define YYSTACK_BYTES(N) \
405 ((N) * (sizeof (yytype_int16) + sizeof (YYSTYPE)) \
406 + YYSTACK_GAP_MAXIMUM)
408 /* Copy COUNT objects from FROM to TO. The source and destination do
411 # if defined __GNUC__ && 1 < __GNUC__
412 # define YYCOPY(To, From, Count) \
413 __builtin_memcpy (To, From, (Count) * sizeof (*(From)))
415 # define YYCOPY(To, From, Count) \
419 for (yyi = 0; yyi < (Count); yyi++) \
420 (To)[yyi] = (From)[yyi]; \
426 /* Relocate STACK from its old location to the new one. The
427 local variables YYSIZE and YYSTACKSIZE give the old and new number of
428 elements in the stack, and YYPTR gives the new location of the
429 stack. Advance YYPTR to a properly aligned location for the next
431 # define YYSTACK_RELOCATE(Stack) \
434 YYSIZE_T yynewbytes; \
435 YYCOPY (&yyptr->Stack, Stack, yysize); \
436 Stack = &yyptr->Stack; \
437 yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAXIMUM; \
438 yyptr += yynewbytes / sizeof (*yyptr); \
444 /* YYFINAL -- State number of the termination state. */
446 /* YYLAST -- Last index in YYTABLE. */
449 /* YYNTOKENS -- Number of terminals. */
451 /* YYNNTS -- Number of nonterminals. */
453 /* YYNRULES -- Number of rules. */
455 /* YYNRULES -- Number of states. */
458 /* YYTRANSLATE(YYLEX) -- Bison symbol number corresponding to YYLEX. */
460 #define YYMAXUTOK 269
462 #define YYTRANSLATE(YYX) \
463 ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK)
465 /* YYTRANSLATE[YYLEX] -- Bison symbol number corresponding to YYLEX. */
466 static const yytype_uint8 yytranslate[] =
468 0, 2, 2, 2, 2, 2, 2, 2, 2, 2,
469 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
470 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
471 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
472 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
473 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
474 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
475 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
476 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
477 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
478 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
479 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
480 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
481 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
482 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
483 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
484 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
485 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
486 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
487 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
488 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
489 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
490 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
491 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
492 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
493 2, 2, 2, 2, 2, 2, 1, 2, 3, 4,
494 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
498 /* YYPRHS[YYN] -- Index of the first RHS symbol of rule number YYN in
500 static const yytype_uint8 yyprhs[] =
502 0, 0, 3, 5, 7, 10, 11, 14, 16, 18,
503 20, 22, 24, 26, 28, 30, 34, 38, 42, 44,
507 /* YYRHS -- A `-1'-separated list of the rules' RHS. */
508 static const yytype_int8 yyrhs[] =
510 16, 0, -1, 17, -1, 18, -1, 18, 10, -1,
511 -1, 19, 18, -1, 20, -1, 21, -1, 9, -1,
512 12, -1, 6, -1, 7, -1, 8, -1, 11, -1,
513 3, 22, 8, -1, 4, 23, 8, -1, 5, 23,
514 8, -1, 14, -1, 23, -1, 11, 22, -1, -1,
515 24, 23, -1, 9, -1, 21, -1
518 /* YYRLINE[YYN] -- source line where rule number YYN was defined. */
519 static const yytype_uint8 yyrline[] =
521 0, 116, 116, 123, 128, 134, 138, 144, 149, 155,
522 160, 165, 170, 175, 180, 186, 192, 198, 204, 210,
523 215, 221, 225, 231, 236
527 #if YYDEBUG || YYERROR_VERBOSE || YYTOKEN_TABLE
528 /* YYTNAME[SYMBOL-NUM] -- String name of the symbol SYMBOL-NUM.
529 First, the terminals, then, starting at YYNTOKENS, nonterminals. */
530 static const char *const yytname[] =
532 "$end", "error", "$undefined", "cal_ENVCURLY", "cal_NCURLY",
533 "cal_DCURLY", "\"$\"", "\"{\"", "\"}\"", "cal_NAME", "\"\\\\\"",
534 "cal_SYMBOL", "\"@\"", "cal_ERROR", "cal_ATNAME", "$accept", "Start",
535 "GoalWithOptionalBackSlash", "Goal", "String", "OuterText", "Variable",
536 "EnvVarName", "MultipleIds", "ID", 0
541 /* YYTOKNUM[YYLEX-NUM] -- Internal token number corresponding to
543 static const yytype_uint16 yytoknum[] =
545 0, 256, 257, 258, 259, 260, 261, 262, 263, 264,
546 265, 266, 267, 268, 269
550 /* YYR1[YYN] -- Symbol number of symbol that rule YYN derives. */
551 static const yytype_uint8 yyr1[] =
553 0, 15, 16, 17, 17, 18, 18, 19, 19, 20,
554 20, 20, 20, 20, 20, 21, 21, 21, 21, 22,
558 /* YYR2[YYN] -- Number of symbols composing right hand side of rule YYN. */
559 static const yytype_uint8 yyr2[] =
561 0, 2, 1, 1, 2, 0, 2, 1, 1, 1,
562 1, 1, 1, 1, 1, 3, 3, 3, 1, 1,
566 /* YYDEFACT[STATE-NAME] -- Default rule to reduce with in state
567 STATE-NUM when YYTABLE doesn't specify something else to do. Zero
568 means the default is an error. */
569 static const yytype_uint8 yydefact[] =
571 5, 21, 21, 21, 11, 12, 13, 9, 14, 10,
572 18, 0, 2, 3, 5, 7, 8, 23, 21, 24,
573 0, 19, 21, 0, 0, 1, 4, 6, 20, 15,
577 /* YYDEFGOTO[NTERM-NUM]. */
578 static const yytype_int8 yydefgoto[] =
580 -1, 11, 12, 13, 14, 15, 19, 20, 21, 22
583 /* YYPACT[STATE-NUM] -- Index in YYTABLE of the portion describing
585 #define YYPACT_NINF -3
586 static const yytype_int8 yypact[] =
588 0, 14, 26, 26, -3, -3, -3, -3, -3, -3,
589 -3, 10, -3, 3, 0, -3, -3, -3, 14, -3,
590 7, -3, 26, 13, 16, -3, -3, -3, -3, -3,
594 /* YYPGOTO[NTERM-NUM]. */
595 static const yytype_int8 yypgoto[] =
597 -3, -3, -3, 8, -3, -3, 2, 9, -2, -3
600 /* YYTABLE[YYPACT[STATE-NUM]]. What to do in state STATE-NUM. If
601 positive, shift that token. If negative, reduce the rule which
602 number is the opposite. If zero, do what YYDEFACT says.
603 If YYTABLE_NINF, syntax error. */
604 #define YYTABLE_NINF -1
605 static const yytype_uint8 yytable[] =
607 23, 24, 16, 1, 2, 3, 4, 5, 6, 7,
608 25, 8, 9, 26, 10, 29, 16, 1, 2, 3,
609 30, 31, 27, 17, 32, 18, 0, 28, 10, 1,
610 2, 3, 0, 0, 0, 17, 0, 0, 0, 0,
614 static const yytype_int8 yycheck[] =
616 2, 3, 0, 3, 4, 5, 6, 7, 8, 9,
617 0, 11, 12, 10, 14, 8, 14, 3, 4, 5,
618 22, 8, 14, 9, 8, 11, -1, 18, 14, 3,
619 4, 5, -1, -1, -1, 9, -1, -1, -1, -1,
623 /* YYSTOS[STATE-NUM] -- The (internal number of the) accessing
624 symbol of state STATE-NUM. */
625 static const yytype_uint8 yystos[] =
627 0, 3, 4, 5, 6, 7, 8, 9, 11, 12,
628 14, 16, 17, 18, 19, 20, 21, 9, 11, 21,
629 22, 23, 24, 23, 23, 0, 10, 18, 22, 8,
633 #define yyerrok (yyerrstatus = 0)
634 #define yyclearin (yychar = YYEMPTY)
638 #define YYACCEPT goto yyacceptlab
639 #define YYABORT goto yyabortlab
640 #define YYERROR goto yyerrorlab
643 /* Like YYERROR except do call yyerror. This remains here temporarily
644 to ease the transition to the new meaning of YYERROR, for GCC.
645 Once GCC version 2 has supplanted version 1, this can go. */
647 #define YYFAIL goto yyerrlab
649 #define YYRECOVERING() (!!yyerrstatus)
651 #define YYBACKUP(Token, Value) \
653 if (yychar == YYEMPTY && yylen == 1) \
657 yytoken = YYTRANSLATE (yychar); \
663 yyerror (YY_("syntax error: cannot back up")); \
670 #define YYERRCODE 256
673 /* YYLLOC_DEFAULT -- Set CURRENT to span from RHS[1] to RHS[N].
674 If N is 0, then set CURRENT to the empty location which ends
675 the previous symbol: RHS[0] (always defined). */
677 #define YYRHSLOC(Rhs, K) ((Rhs)[K])
678 #ifndef YYLLOC_DEFAULT
679 # define YYLLOC_DEFAULT(Current, Rhs, N) \
683 (Current).first_line = YYRHSLOC (Rhs, 1).first_line; \
684 (Current).first_column = YYRHSLOC (Rhs, 1).first_column; \
685 (Current).last_line = YYRHSLOC (Rhs, N).last_line; \
686 (Current).last_column = YYRHSLOC (Rhs, N).last_column; \
690 (Current).first_line = (Current).last_line = \
691 YYRHSLOC (Rhs, 0).last_line; \
692 (Current).first_column = (Current).last_column = \
693 YYRHSLOC (Rhs, 0).last_column; \
699 /* YY_LOCATION_PRINT -- Print the location on the stream.
700 This macro was not mandated originally: define only if we know
701 we won't break user code: when these are the locations we know. */
703 #ifndef YY_LOCATION_PRINT
704 # if defined YYLTYPE_IS_TRIVIAL && YYLTYPE_IS_TRIVIAL
705 # define YY_LOCATION_PRINT(File, Loc) \
706 fprintf (File, "%d.%d-%d.%d", \
707 (Loc).first_line, (Loc).first_column, \
708 (Loc).last_line, (Loc).last_column)
710 # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
715 /* YYLEX -- calling `yylex' with the right arguments. */
718 # define YYLEX yylex (&yylval, YYLEX_PARAM)
720 # define YYLEX yylex (&yylval)
723 /* Enable debugging if requested. */
727 # include <stdio.h> /* INFRINGES ON USER NAME SPACE */
728 # define YYFPRINTF fprintf
731 # define YYDPRINTF(Args) \
737 # define YY_SYMBOL_PRINT(Title, Type, Value, Location) \
741 YYFPRINTF (stderr, "%s ", Title); \
742 yy_symbol_print (stderr, \
744 YYFPRINTF (stderr, "\n"); \
749 /*--------------------------------.
750 | Print this symbol on YYOUTPUT. |
751 `--------------------------------*/
754 #if (defined __STDC__ || defined __C99__FUNC__ \
755 || defined __cplusplus || defined _MSC_VER)
757 yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
760 yy_symbol_value_print (yyoutput, yytype, yyvaluep)
763 YYSTYPE const * const yyvaluep;
769 if (yytype < YYNTOKENS)
770 YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep);
782 /*--------------------------------.
783 | Print this symbol on YYOUTPUT. |
784 `--------------------------------*/
786 #if (defined __STDC__ || defined __C99__FUNC__ \
787 || defined __cplusplus || defined _MSC_VER)
789 yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep)
792 yy_symbol_print (yyoutput, yytype, yyvaluep)
795 YYSTYPE const * const yyvaluep;
798 if (yytype < YYNTOKENS)
799 YYFPRINTF (yyoutput, "token %s (", yytname[yytype]);
801 YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
803 yy_symbol_value_print (yyoutput, yytype, yyvaluep);
804 YYFPRINTF (yyoutput, ")");
807 /*------------------------------------------------------------------.
808 | yy_stack_print -- Print the state stack from its BOTTOM up to its |
810 `------------------------------------------------------------------*/
812 #if (defined __STDC__ || defined __C99__FUNC__ \
813 || defined __cplusplus || defined _MSC_VER)
815 yy_stack_print (yytype_int16 *bottom, yytype_int16 *top)
818 yy_stack_print (bottom, top)
819 yytype_int16 *bottom;
823 YYFPRINTF (stderr, "Stack now");
824 for (; bottom <= top; ++bottom)
825 YYFPRINTF (stderr, " %d", *bottom);
826 YYFPRINTF (stderr, "\n");
829 # define YY_STACK_PRINT(Bottom, Top) \
832 yy_stack_print ((Bottom), (Top)); \
836 /*------------------------------------------------.
837 | Report that the YYRULE is going to be reduced. |
838 `------------------------------------------------*/
840 #if (defined __STDC__ || defined __C99__FUNC__ \
841 || defined __cplusplus || defined _MSC_VER)
843 yy_reduce_print (YYSTYPE *yyvsp, int yyrule)
846 yy_reduce_print (yyvsp, yyrule)
851 int yynrhs = yyr2[yyrule];
853 unsigned long int yylno = yyrline[yyrule];
854 YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n",
856 /* The symbols being reduced. */
857 for (yyi = 0; yyi < yynrhs; yyi++)
859 fprintf (stderr, " $%d = ", yyi + 1);
860 yy_symbol_print (stderr, yyrhs[yyprhs[yyrule] + yyi],
861 &(yyvsp[(yyi + 1) - (yynrhs)])
863 fprintf (stderr, "\n");
867 # define YY_REDUCE_PRINT(Rule) \
870 yy_reduce_print (yyvsp, Rule); \
873 /* Nonzero means print parse trace. It is left uninitialized so that
874 multiple parsers can coexist. */
877 # define YYDPRINTF(Args)
878 # define YY_SYMBOL_PRINT(Title, Type, Value, Location)
879 # define YY_STACK_PRINT(Bottom, Top)
880 # define YY_REDUCE_PRINT(Rule)
881 #endif /* !YYDEBUG */
884 /* YYINITDEPTH -- initial size of the parser's stacks. */
886 # define YYINITDEPTH 200
889 /* YYMAXDEPTH -- maximum size the stacks can grow to (effective only
890 if the built-in stack extension method is used).
892 Do not make this value too large; the results are undefined if
893 YYSTACK_ALLOC_MAXIMUM < YYSTACK_BYTES (YYMAXDEPTH)
894 evaluated with infinite-precision integer arithmetic. */
897 # define YYMAXDEPTH 10000
905 # if defined __GLIBC__ && defined _STRING_H
906 # define yystrlen strlen
908 /* Return the length of YYSTR. */
909 #if (defined __STDC__ || defined __C99__FUNC__ \
910 || defined __cplusplus || defined _MSC_VER)
912 yystrlen (const char *yystr)
920 for (yylen = 0; yystr[yylen]; yylen++)
928 # if defined __GLIBC__ && defined _STRING_H && defined _GNU_SOURCE
929 # define yystpcpy stpcpy
931 /* Copy YYSRC to YYDEST, returning the address of the terminating '\0' in
933 #if (defined __STDC__ || defined __C99__FUNC__ \
934 || defined __cplusplus || defined _MSC_VER)
936 yystpcpy (char *yydest, const char *yysrc)
939 yystpcpy (yydest, yysrc)
945 const char *yys = yysrc;
947 while ((*yyd++ = *yys++) != '\0')
956 /* Copy to YYRES the contents of YYSTR after stripping away unnecessary
957 quotes and backslashes, so that it's suitable for yyerror. The
958 heuristic is that double-quoting is unnecessary unless the string
959 contains an apostrophe, a comma, or backslash (other than
960 backslash-backslash). YYSTR is taken from yytname. If YYRES is
961 null, do not copy; instead, return the length of what the result
964 yytnamerr (char *yyres, const char *yystr)
969 char const *yyp = yystr;
976 goto do_not_strip_quotes;
980 goto do_not_strip_quotes;
993 do_not_strip_quotes: ;
997 return yystrlen (yystr);
999 return yystpcpy (yyres, yystr) - yyres;
1003 /* Copy into YYRESULT an error message about the unexpected token
1004 YYCHAR while in state YYSTATE. Return the number of bytes copied,
1005 including the terminating null byte. If YYRESULT is null, do not
1006 copy anything; just return the number of bytes that would be
1007 copied. As a special case, return 0 if an ordinary "syntax error"
1008 message will do. Return YYSIZE_MAXIMUM if overflow occurs during
1009 size calculation. */
1011 yysyntax_error (char *yyresult, int yystate, int yychar)
1013 int yyn = yypact[yystate];
1015 if (! (YYPACT_NINF < yyn && yyn <= YYLAST))
1019 int yytype = YYTRANSLATE (yychar);
1020 YYSIZE_T yysize0 = yytnamerr (0, yytname[yytype]);
1021 YYSIZE_T yysize = yysize0;
1023 int yysize_overflow = 0;
1024 enum { YYERROR_VERBOSE_ARGS_MAXIMUM = 5 };
1025 char const *yyarg[YYERROR_VERBOSE_ARGS_MAXIMUM];
1029 /* This is so xgettext sees the translatable formats that are
1030 constructed on the fly. */
1031 YY_("syntax error, unexpected %s");
1032 YY_("syntax error, unexpected %s, expecting %s");
1033 YY_("syntax error, unexpected %s, expecting %s or %s");
1034 YY_("syntax error, unexpected %s, expecting %s or %s or %s");
1035 YY_("syntax error, unexpected %s, expecting %s or %s or %s or %s");
1039 static char const yyunexpected[] = "syntax error, unexpected %s";
1040 static char const yyexpecting[] = ", expecting %s";
1041 static char const yyor[] = " or %s";
1042 char yyformat[sizeof yyunexpected
1043 + sizeof yyexpecting - 1
1044 + ((YYERROR_VERBOSE_ARGS_MAXIMUM - 2)
1045 * (sizeof yyor - 1))];
1046 char const *yyprefix = yyexpecting;
1048 /* Start YYX at -YYN if negative to avoid negative indexes in
1050 int yyxbegin = yyn < 0 ? -yyn : 0;
1052 /* Stay within bounds of both yycheck and yytname. */
1053 int yychecklim = YYLAST - yyn + 1;
1054 int yyxend = yychecklim < YYNTOKENS ? yychecklim : YYNTOKENS;
1057 yyarg[0] = yytname[yytype];
1058 yyfmt = yystpcpy (yyformat, yyunexpected);
1060 for (yyx = yyxbegin; yyx < yyxend; ++yyx)
1061 if (yycheck[yyx + yyn] == yyx && yyx != YYTERROR)
1063 if (yycount == YYERROR_VERBOSE_ARGS_MAXIMUM)
1067 yyformat[sizeof yyunexpected - 1] = '\0';
1070 yyarg[yycount++] = yytname[yyx];
1071 yysize1 = yysize + yytnamerr (0, yytname[yyx]);
1072 yysize_overflow |= (yysize1 < yysize);
1074 yyfmt = yystpcpy (yyfmt, yyprefix);
1078 yyf = YY_(yyformat);
1079 yysize1 = yysize + yystrlen (yyf);
1080 yysize_overflow |= (yysize1 < yysize);
1083 if (yysize_overflow)
1084 return YYSIZE_MAXIMUM;
1088 /* Avoid sprintf, as that infringes on the user's name space.
1089 Don't have undefined behavior even if the translation
1090 produced a string with the wrong number of "%s"s. */
1091 char *yyp = yyresult;
1093 while ((*yyp = *yyf) != '\0')
1095 if (*yyp == '%' && yyf[1] == 's' && yyi < yycount)
1097 yyp += yytnamerr (yyp, yyarg[yyi++]);
1110 #endif /* YYERROR_VERBOSE */
1113 /*-----------------------------------------------.
1114 | Release the memory associated to this symbol. |
1115 `-----------------------------------------------*/
1118 #if (defined __STDC__ || defined __C99__FUNC__ \
1119 || defined __cplusplus || defined _MSC_VER)
1121 yydestruct (const char *yymsg, int yytype, YYSTYPE *yyvaluep)
1124 yydestruct (yymsg, yytype, yyvaluep)
1134 YY_SYMBOL_PRINT (yymsg, yytype, yyvaluep, yylocationp);
1145 /* Prevent warnings from -Wmissing-prototypes. */
1147 #ifdef YYPARSE_PARAM
1148 #if defined __STDC__ || defined __cplusplus
1149 int yyparse (void *YYPARSE_PARAM);
1153 #else /* ! YYPARSE_PARAM */
1154 #if defined __STDC__ || defined __cplusplus
1159 #endif /* ! YYPARSE_PARAM */
1170 #ifdef YYPARSE_PARAM
1171 #if (defined __STDC__ || defined __C99__FUNC__ \
1172 || defined __cplusplus || defined _MSC_VER)
1174 yyparse (void *YYPARSE_PARAM)
1177 yyparse (YYPARSE_PARAM)
1178 void *YYPARSE_PARAM;
1180 #else /* ! YYPARSE_PARAM */
1181 #if (defined __STDC__ || defined __C99__FUNC__ \
1182 || defined __cplusplus || defined _MSC_VER)
1192 /* The look-ahead symbol. */
1195 /* The semantic value of the look-ahead symbol. */
1198 /* Number of syntax errors so far. */
1204 /* Number of tokens to shift before error messages enabled. */
1206 /* Look-ahead token as an internal (translated) token number. */
1209 /* Buffer for error messages, and its allocated size. */
1211 char *yymsg = yymsgbuf;
1212 YYSIZE_T yymsg_alloc = sizeof yymsgbuf;
1215 /* Three stacks and their tools:
1216 `yyss': related to states,
1217 `yyvs': related to semantic values,
1218 `yyls': related to locations.
1220 Refer to the stacks thru separate pointers, to allow yyoverflow
1221 to reallocate them elsewhere. */
1223 /* The state stack. */
1224 yytype_int16 yyssa[YYINITDEPTH];
1225 yytype_int16 *yyss = yyssa;
1226 yytype_int16 *yyssp;
1228 /* The semantic value stack. */
1229 YYSTYPE yyvsa[YYINITDEPTH];
1230 YYSTYPE *yyvs = yyvsa;
1235 #define YYPOPSTACK(N) (yyvsp -= (N), yyssp -= (N))
1237 YYSIZE_T yystacksize = YYINITDEPTH;
1239 /* The variables used to return semantic value and location from the
1244 /* The number of symbols on the RHS of the reduced rule.
1245 Keep to zero when no symbol should be popped. */
1248 YYDPRINTF ((stderr, "Starting parse\n"));
1253 yychar = YYEMPTY; /* Cause a token to be read. */
1255 /* Initialize stack pointers.
1256 Waste one element of value and location stack
1257 so that they stay on the same level as the state stack.
1258 The wasted elements are never initialized. */
1265 /*------------------------------------------------------------.
1266 | yynewstate -- Push a new state, which is found in yystate. |
1267 `------------------------------------------------------------*/
1269 /* In all cases, when you get here, the value and location stacks
1270 have just been pushed. So pushing a state here evens the stacks. */
1276 if (yyss + yystacksize - 1 <= yyssp)
1278 /* Get the current used size of the three stacks, in elements. */
1279 YYSIZE_T yysize = yyssp - yyss + 1;
1283 /* Give user a chance to reallocate the stack. Use copies of
1284 these so that the &'s don't force the real ones into
1286 YYSTYPE *yyvs1 = yyvs;
1287 yytype_int16 *yyss1 = yyss;
1290 /* Each stack pointer address is followed by the size of the
1291 data in use in that stack, in bytes. This used to be a
1292 conditional around just the two extra args, but that might
1293 be undefined if yyoverflow is a macro. */
1294 yyoverflow (YY_("memory exhausted"),
1295 &yyss1, yysize * sizeof (*yyssp),
1296 &yyvs1, yysize * sizeof (*yyvsp),
1303 #else /* no yyoverflow */
1304 # ifndef YYSTACK_RELOCATE
1305 goto yyexhaustedlab;
1307 /* Extend the stack our own way. */
1308 if (YYMAXDEPTH <= yystacksize)
1309 goto yyexhaustedlab;
1311 if (YYMAXDEPTH < yystacksize)
1312 yystacksize = YYMAXDEPTH;
1315 yytype_int16 *yyss1 = yyss;
1316 union yyalloc *yyptr =
1317 (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
1319 goto yyexhaustedlab;
1320 YYSTACK_RELOCATE (yyss);
1321 YYSTACK_RELOCATE (yyvs);
1323 # undef YYSTACK_RELOCATE
1325 YYSTACK_FREE (yyss1);
1328 #endif /* no yyoverflow */
1330 yyssp = yyss + yysize - 1;
1331 yyvsp = yyvs + yysize - 1;
1334 YYDPRINTF ((stderr, "Stack size increased to %lu\n",
1335 (unsigned long int) yystacksize));
1337 if (yyss + yystacksize - 1 <= yyssp)
1341 YYDPRINTF ((stderr, "Entering state %d\n", yystate));
1350 /* Do appropriate processing given the current state. Read a
1351 look-ahead token if we need one and don't already have one. */
1353 /* First try to decide what to do without reference to look-ahead token. */
1354 yyn = yypact[yystate];
1355 if (yyn == YYPACT_NINF)
1358 /* Not known => get a look-ahead token if don't already have one. */
1360 /* YYCHAR is either YYEMPTY or YYEOF or a valid look-ahead symbol. */
1361 if (yychar == YYEMPTY)
1363 YYDPRINTF ((stderr, "Reading a token: "));
1367 if (yychar <= YYEOF)
1369 yychar = yytoken = YYEOF;
1370 YYDPRINTF ((stderr, "Now at end of input.\n"));
1374 yytoken = YYTRANSLATE (yychar);
1375 YY_SYMBOL_PRINT ("Next token is", yytoken, &yylval, &yylloc);
1378 /* If the proper action on seeing token YYTOKEN is to reduce or to
1379 detect an error, take that action. */
1381 if (yyn < 0 || YYLAST < yyn || yycheck[yyn] != yytoken)
1386 if (yyn == 0 || yyn == YYTABLE_NINF)
1395 /* Count tokens shifted since error; after three, turn off error
1400 /* Shift the look-ahead token. */
1401 YY_SYMBOL_PRINT ("Shifting", yytoken, &yylval, &yylloc);
1403 /* Discard the shifted token unless it is eof. */
1404 if (yychar != YYEOF)
1413 /*-----------------------------------------------------------.
1414 | yydefault -- do the default action for the current state. |
1415 `-----------------------------------------------------------*/
1417 yyn = yydefact[yystate];
1423 /*-----------------------------.
1424 | yyreduce -- Do a reduction. |
1425 `-----------------------------*/
1427 /* yyn is the number of a rule to reduce with. */
1430 /* If YYLEN is nonzero, implement the default value of the action:
1433 Otherwise, the following line sets YYVAL to garbage.
1434 This behavior is undocumented and Bison
1435 users should not rely upon it. Assigning to YYVAL
1436 unconditionally makes the parser a bit smaller, and it avoids a
1437 GCC warning that YYVAL may be used uninitialized. */
1438 yyval = yyvsp[1-yylen];
1441 YY_REDUCE_PRINT (yyn);
1445 #line 117 "cmCommandArgumentParser.y"
1448 yyGetParser->SetResult((yyvsp[(1) - (1)].str));
1453 #line 124 "cmCommandArgumentParser.y"
1455 (yyval.str) = (yyvsp[(1) - (1)].str);
1460 #line 129 "cmCommandArgumentParser.y"
1462 (yyval.str) = yyGetParser->CombineUnions((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str));
1467 #line 134 "cmCommandArgumentParser.y"
1474 #line 139 "cmCommandArgumentParser.y"
1476 (yyval.str) = yyGetParser->CombineUnions((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str));
1481 #line 145 "cmCommandArgumentParser.y"
1483 (yyval.str) = (yyvsp[(1) - (1)].str);
1488 #line 150 "cmCommandArgumentParser.y"
1490 (yyval.str) = (yyvsp[(1) - (1)].str);
1495 #line 156 "cmCommandArgumentParser.y"
1497 (yyval.str) = (yyvsp[(1) - (1)].str);
1502 #line 161 "cmCommandArgumentParser.y"
1504 (yyval.str) = (yyvsp[(1) - (1)].str);
1509 #line 166 "cmCommandArgumentParser.y"
1511 (yyval.str) = (yyvsp[(1) - (1)].str);
1516 #line 171 "cmCommandArgumentParser.y"
1518 (yyval.str) = (yyvsp[(1) - (1)].str);
1523 #line 176 "cmCommandArgumentParser.y"
1525 (yyval.str) = (yyvsp[(1) - (1)].str);
1530 #line 181 "cmCommandArgumentParser.y"
1532 (yyval.str) = (yyvsp[(1) - (1)].str);
1537 #line 187 "cmCommandArgumentParser.y"
1539 (yyval.str) = yyGetParser->ExpandSpecialVariable((yyvsp[(1) - (3)].str),(yyvsp[(2) - (3)].str));
1540 //std::cerr << __LINE__ << " here: [" << $<str>1 << "] [" << $<str>2 << "] [" << $<str>3 << "]" << std::endl;
1545 #line 193 "cmCommandArgumentParser.y"
1547 (yyval.str) = yyGetParser->ExpandSpecialVariable((yyvsp[(1) - (3)].str),(yyvsp[(2) - (3)].str));
1548 //std::cerr << __LINE__ << " here: [" << $<str>1 << "] [" << $<str>2 << "] [" << $<str>3 << "]" << std::endl;
1553 #line 199 "cmCommandArgumentParser.y"
1555 (yyval.str) = yyGetParser->ExpandVariable((yyvsp[(2) - (3)].str));
1556 //std::cerr << __LINE__ << " here: [" << $<str>1 << "] [" << $<str>2 << "] [" << $<str>3 << "]" << std::endl;
1561 #line 205 "cmCommandArgumentParser.y"
1563 (yyval.str) = yyGetParser->ExpandVariableForAt((yyvsp[(1) - (1)].str));
1568 #line 211 "cmCommandArgumentParser.y"
1570 (yyval.str) = (yyvsp[(1) - (1)].str);
1575 #line 216 "cmCommandArgumentParser.y"
1577 (yyval.str) = (yyvsp[(1) - (2)].str);
1582 #line 221 "cmCommandArgumentParser.y"
1589 #line 226 "cmCommandArgumentParser.y"
1591 (yyval.str) = yyGetParser->CombineUnions((yyvsp[(1) - (2)].str), (yyvsp[(2) - (2)].str));
1596 #line 232 "cmCommandArgumentParser.y"
1598 (yyval.str) = (yyvsp[(1) - (1)].str);
1603 #line 237 "cmCommandArgumentParser.y"
1605 (yyval.str) = (yyvsp[(1) - (1)].str);
1610 /* Line 1267 of yacc.c. */
1611 #line 1606 "cmCommandArgumentParser.cxx"
1614 YY_SYMBOL_PRINT ("-> $$ =", yyr1[yyn], &yyval, &yyloc);
1618 YY_STACK_PRINT (yyss, yyssp);
1623 /* Now `shift' the result of the reduction. Determine what state
1624 that goes to, based on the state we popped back to and the rule
1625 number reduced by. */
1629 yystate = yypgoto[yyn - YYNTOKENS] + *yyssp;
1630 if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp)
1631 yystate = yytable[yystate];
1633 yystate = yydefgoto[yyn - YYNTOKENS];
1638 /*------------------------------------.
1639 | yyerrlab -- here on detecting error |
1640 `------------------------------------*/
1642 /* If not already recovering from an error, report this error. */
1646 #if ! YYERROR_VERBOSE
1647 yyerror (YY_("syntax error"));
1650 YYSIZE_T yysize = yysyntax_error (0, yystate, yychar);
1651 if (yymsg_alloc < yysize && yymsg_alloc < YYSTACK_ALLOC_MAXIMUM)
1653 YYSIZE_T yyalloc = 2 * yysize;
1654 if (! (yysize <= yyalloc && yyalloc <= YYSTACK_ALLOC_MAXIMUM))
1655 yyalloc = YYSTACK_ALLOC_MAXIMUM;
1656 if (yymsg != yymsgbuf)
1657 YYSTACK_FREE (yymsg);
1658 yymsg = (char *) YYSTACK_ALLOC (yyalloc);
1660 yymsg_alloc = yyalloc;
1664 yymsg_alloc = sizeof yymsgbuf;
1668 if (0 < yysize && yysize <= yymsg_alloc)
1670 (void) yysyntax_error (yymsg, yystate, yychar);
1675 yyerror (YY_("syntax error"));
1677 goto yyexhaustedlab;
1685 if (yyerrstatus == 3)
1687 /* If just tried and failed to reuse look-ahead token after an
1688 error, discard it. */
1690 if (yychar <= YYEOF)
1692 /* Return failure if at end of input. */
1693 if (yychar == YYEOF)
1698 yydestruct ("Error: discarding",
1704 /* Else will try to reuse look-ahead token after shifting the error
1709 /*---------------------------------------------------.
1710 | yyerrorlab -- error raised explicitly by YYERROR. |
1711 `---------------------------------------------------*/
1714 /* Pacify compilers like GCC when the user code never invokes
1715 YYERROR and the label yyerrorlab therefore never appears in user
1717 if (/*CONSTCOND*/ 0)
1720 /* Do not reclaim the symbols of the rule which action triggered
1724 YY_STACK_PRINT (yyss, yyssp);
1729 /*-------------------------------------------------------------.
1730 | yyerrlab1 -- common code for both syntax error and YYERROR. |
1731 `-------------------------------------------------------------*/
1733 yyerrstatus = 3; /* Each real token shifted decrements this. */
1737 yyn = yypact[yystate];
1738 if (yyn != YYPACT_NINF)
1741 if (0 <= yyn && yyn <= YYLAST && yycheck[yyn] == YYTERROR)
1749 /* Pop the current state because it cannot handle the error token. */
1754 yydestruct ("Error: popping",
1755 yystos[yystate], yyvsp);
1758 YY_STACK_PRINT (yyss, yyssp);
1767 /* Shift the error token. */
1768 YY_SYMBOL_PRINT ("Shifting", yystos[yyn], yyvsp, yylsp);
1774 /*-------------------------------------.
1775 | yyacceptlab -- YYACCEPT comes here. |
1776 `-------------------------------------*/
1781 /*-----------------------------------.
1782 | yyabortlab -- YYABORT comes here. |
1783 `-----------------------------------*/
1789 /*-------------------------------------------------.
1790 | yyexhaustedlab -- memory exhaustion comes here. |
1791 `-------------------------------------------------*/
1793 yyerror (YY_("memory exhausted"));
1799 if (yychar != YYEOF && yychar != YYEMPTY)
1800 yydestruct ("Cleanup: discarding lookahead",
1802 /* Do not reclaim the symbols of the rule which action triggered
1803 this YYABORT or YYACCEPT. */
1805 YY_STACK_PRINT (yyss, yyssp);
1806 while (yyssp != yyss)
1808 yydestruct ("Cleanup: popping",
1809 yystos[*yyssp], yyvsp);
1814 YYSTACK_FREE (yyss);
1817 if (yymsg != yymsgbuf)
1818 YYSTACK_FREE (yymsg);
1820 /* Make sure YYID is used. */
1821 return YYID (yyresult);
1825 #line 242 "cmCommandArgumentParser.y"
1827 /* End of grammar */
1829 /*--------------------------------------------------------------------------*/
1830 void cmCommandArgumentError(yyscan_t yyscanner, const char* message)
1832 yyGetParser->Error(message);