You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

344 lines
9.5 KiB

  1. /*=========================================================================
  2. Program: CMake - Cross-Platform Makefile Generator
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
  8. See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
  9. This software is distributed WITHOUT ANY WARRANTY; without even
  10. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  11. PURPOSE. See the above copyright notices for more information.
  12. =========================================================================*/
  13. #ifndef cmCommandArgument_yyHEADER_H
  14. #define cmCommandArgument_yyHEADER_H 1
  15. #define cmCommandArgument_yyIN_HEADER 1
  16. #define YY_INT_ALIGNED short int
  17. /* A lexical scanner generated by flex */
  18. #define FLEX_SCANNER
  19. #define YY_FLEX_MAJOR_VERSION 2
  20. #define YY_FLEX_MINOR_VERSION 5
  21. #define YY_FLEX_SUBMINOR_VERSION 33
  22. #if YY_FLEX_SUBMINOR_VERSION > 0
  23. #define FLEX_BETA
  24. #endif
  25. /* First, we deal with platform-specific or compiler-specific issues. */
  26. /* begin standard C headers. */
  27. #include <stdio.h>
  28. #include <string.h>
  29. #include <errno.h>
  30. #include <stdlib.h>
  31. /* end standard C headers. */
  32. /* flex integer type definitions */
  33. #ifndef FLEXINT_H
  34. #define FLEXINT_H
  35. /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  36. #if __STDC_VERSION__ >= 199901L
  37. /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  38. * if you want the limit (max/min) macros for int types.
  39. */
  40. #ifndef __STDC_LIMIT_MACROS
  41. #define __STDC_LIMIT_MACROS 1
  42. #endif
  43. #include <inttypes.h>
  44. typedef int8_t flex_int8_t;
  45. typedef uint8_t flex_uint8_t;
  46. typedef int16_t flex_int16_t;
  47. typedef uint16_t flex_uint16_t;
  48. typedef int32_t flex_int32_t;
  49. typedef uint32_t flex_uint32_t;
  50. #else
  51. typedef signed char flex_int8_t;
  52. typedef short int flex_int16_t;
  53. typedef int flex_int32_t;
  54. typedef unsigned char flex_uint8_t;
  55. typedef unsigned short int flex_uint16_t;
  56. typedef unsigned int flex_uint32_t;
  57. #endif /* ! C99 */
  58. /* Limits of integral types. */
  59. #ifndef INT8_MIN
  60. #define INT8_MIN (-128)
  61. #endif
  62. #ifndef INT16_MIN
  63. #define INT16_MIN (-32767-1)
  64. #endif
  65. #ifndef INT32_MIN
  66. #define INT32_MIN (-2147483647-1)
  67. #endif
  68. #ifndef INT8_MAX
  69. #define INT8_MAX (127)
  70. #endif
  71. #ifndef INT16_MAX
  72. #define INT16_MAX (32767)
  73. #endif
  74. #ifndef INT32_MAX
  75. #define INT32_MAX (2147483647)
  76. #endif
  77. #ifndef UINT8_MAX
  78. #define UINT8_MAX (255U)
  79. #endif
  80. #ifndef UINT16_MAX
  81. #define UINT16_MAX (65535U)
  82. #endif
  83. #ifndef UINT32_MAX
  84. #define UINT32_MAX (4294967295U)
  85. #endif
  86. #endif /* ! FLEXINT_H */
  87. #ifdef __cplusplus
  88. /* The "const" storage-class-modifier is valid. */
  89. #define YY_USE_CONST
  90. #else /* ! __cplusplus */
  91. #if __STDC__
  92. #define YY_USE_CONST
  93. #endif /* __STDC__ */
  94. #endif /* ! __cplusplus */
  95. #ifdef YY_USE_CONST
  96. #define yyconst const
  97. #else
  98. #define yyconst
  99. #endif
  100. /* An opaque pointer. */
  101. #ifndef YY_TYPEDEF_YY_SCANNER_T
  102. #define YY_TYPEDEF_YY_SCANNER_T
  103. typedef void* yyscan_t;
  104. #endif
  105. /* For convenience, these vars (plus the bison vars far below)
  106. are macros in the reentrant scanner. */
  107. #define yyin yyg->yyin_r
  108. #define yyout yyg->yyout_r
  109. #define yyextra yyg->yyextra_r
  110. #define yyleng yyg->yyleng_r
  111. #define yytext yyg->yytext_r
  112. #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
  113. #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
  114. #define yy_flex_debug yyg->yy_flex_debug_r
  115. int cmCommandArgument_yylex_init (yyscan_t* scanner);
  116. #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  117. #define YY_TYPEDEF_YY_BUFFER_STATE
  118. typedef struct yy_buffer_state *YY_BUFFER_STATE;
  119. #endif
  120. /* The following is because we cannot portably get our hands on size_t
  121. * (without autoconf's help, which isn't available because we want
  122. * flex-generated scanners to compile on their own).
  123. */
  124. #ifndef YY_TYPEDEF_YY_SIZE_T
  125. #define YY_TYPEDEF_YY_SIZE_T
  126. typedef unsigned int yy_size_t;
  127. #endif
  128. #ifndef YY_STRUCT_YY_BUFFER_STATE
  129. #define YY_STRUCT_YY_BUFFER_STATE
  130. struct yy_buffer_state
  131. {
  132. FILE *yy_input_file;
  133. char *yy_ch_buf; /* input buffer */
  134. char *yy_buf_pos; /* current position in input buffer */
  135. /* Size of input buffer in bytes, not including room for EOB
  136. * characters.
  137. */
  138. yy_size_t yy_buf_size;
  139. /* Number of characters read into yy_ch_buf, not including EOB
  140. * characters.
  141. */
  142. int yy_n_chars;
  143. /* Whether we "own" the buffer - i.e., we know we created it,
  144. * and can realloc() it to grow it, and should free() it to
  145. * delete it.
  146. */
  147. int yy_is_our_buffer;
  148. /* Whether this is an "interactive" input source; if so, and
  149. * if we're using stdio for input, then we want to use getc()
  150. * instead of fread(), to make sure we stop fetching input after
  151. * each newline.
  152. */
  153. int yy_is_interactive;
  154. /* Whether we're considered to be at the beginning of a line.
  155. * If so, '^' rules will be active on the next match, otherwise
  156. * not.
  157. */
  158. int yy_at_bol;
  159. int yy_bs_lineno; /**< The line count. */
  160. int yy_bs_column; /**< The column count. */
  161. /* Whether to try to fill the input buffer when we reach the
  162. * end of it.
  163. */
  164. int yy_fill_buffer;
  165. int yy_buffer_status;
  166. };
  167. #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  168. void cmCommandArgument_yyrestart (FILE *input_file ,yyscan_t yyscanner );
  169. void cmCommandArgument_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,
  170. yyscan_t yyscanner );
  171. YY_BUFFER_STATE cmCommandArgument_yy_create_buffer (FILE *file,int size ,
  172. yyscan_t yyscanner );
  173. void cmCommandArgument_yy_delete_buffer (YY_BUFFER_STATE b ,
  174. yyscan_t yyscanner );
  175. void cmCommandArgument_yy_flush_buffer (YY_BUFFER_STATE b ,
  176. yyscan_t yyscanner );
  177. void cmCommandArgument_yypush_buffer_state (YY_BUFFER_STATE new_buffer ,
  178. yyscan_t yyscanner );
  179. void cmCommandArgument_yypop_buffer_state (yyscan_t yyscanner );
  180. YY_BUFFER_STATE cmCommandArgument_yy_scan_buffer (char *base,yy_size_t size ,
  181. yyscan_t yyscanner );
  182. YY_BUFFER_STATE cmCommandArgument_yy_scan_string (yyconst char *yy_str ,
  183. yyscan_t yyscanner );
  184. YY_BUFFER_STATE cmCommandArgument_yy_scan_bytes (yyconst char *bytes,int len ,
  185. yyscan_t yyscanner );
  186. void *cmCommandArgument_yyalloc (yy_size_t ,yyscan_t yyscanner );
  187. void *cmCommandArgument_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
  188. void cmCommandArgument_yyfree (void * ,yyscan_t yyscanner );
  189. /* Begin user sect3 */
  190. #define cmCommandArgument_yywrap(n) 1
  191. #define YY_SKIP_YYWRAP
  192. #define yytext_ptr yytext_r
  193. #ifdef YY_HEADER_EXPORT_START_CONDITIONS
  194. #define INITIAL 0
  195. #define ESCAPES 1
  196. #define NOESCAPES 2
  197. #endif
  198. #ifndef YY_EXTRA_TYPE
  199. #define YY_EXTRA_TYPE void *
  200. #endif
  201. /* Accessor methods to globals.
  202. These are made visible to non-reentrant scanners for convenience. */
  203. int cmCommandArgument_yylex_destroy (yyscan_t yyscanner );
  204. int cmCommandArgument_yyget_debug (yyscan_t yyscanner );
  205. void cmCommandArgument_yyset_debug (int debug_flag ,yyscan_t yyscanner );
  206. YY_EXTRA_TYPE cmCommandArgument_yyget_extra (yyscan_t yyscanner );
  207. void cmCommandArgument_yyset_extra (YY_EXTRA_TYPE user_defined ,
  208. yyscan_t yyscanner );
  209. FILE *cmCommandArgument_yyget_in (yyscan_t yyscanner );
  210. void cmCommandArgument_yyset_in (FILE * in_str ,yyscan_t yyscanner );
  211. FILE *cmCommandArgument_yyget_out (yyscan_t yyscanner );
  212. void cmCommandArgument_yyset_out (FILE * out_str ,yyscan_t yyscanner );
  213. int cmCommandArgument_yyget_leng (yyscan_t yyscanner );
  214. char *cmCommandArgument_yyget_text (yyscan_t yyscanner );
  215. int cmCommandArgument_yyget_lineno (yyscan_t yyscanner );
  216. void cmCommandArgument_yyset_lineno (int line_number ,yyscan_t yyscanner );
  217. /* Macros after this point can all be overridden by user definitions in
  218. * section 1.
  219. */
  220. #ifndef YY_SKIP_YYWRAP
  221. #ifdef __cplusplus
  222. extern "C" int cmCommandArgument_yywrap (yyscan_t yyscanner );
  223. #else
  224. extern int cmCommandArgument_yywrap (yyscan_t yyscanner );
  225. #endif
  226. #endif
  227. #ifndef yytext_ptr
  228. static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
  229. #endif
  230. #ifdef YY_NEED_STRLEN
  231. static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
  232. #endif
  233. #ifndef YY_NO_INPUT
  234. #endif
  235. /* Amount of stuff to slurp up with each read. */
  236. #ifndef YY_READ_BUF_SIZE
  237. #define YY_READ_BUF_SIZE 8192
  238. #endif
  239. /* Number of entries by which start-condition stack grows. */
  240. #ifndef YY_START_STACK_INCR
  241. #define YY_START_STACK_INCR 25
  242. #endif
  243. /* Default declaration of generated scanner - a define so the user can
  244. * easily add parameters.
  245. */
  246. #ifndef YY_DECL
  247. #define YY_DECL_IS_OURS 1
  248. extern int cmCommandArgument_yylex (yyscan_t yyscanner);
  249. #define YY_DECL int cmCommandArgument_yylex (yyscan_t yyscanner)
  250. #endif /* !YY_DECL */
  251. /* yy_get_previous_state - get the state just before
  252. the EOB char was reached */
  253. #undef YY_NEW_FILE
  254. #undef YY_FLUSH_BUFFER
  255. #undef yy_set_bol
  256. #undef yy_new_buffer
  257. #undef yy_set_interactive
  258. #undef YY_DO_BEFORE_ACTION
  259. #ifdef YY_DECL_IS_OURS
  260. #undef YY_DECL_IS_OURS
  261. #undef YY_DECL
  262. #endif
  263. #undef cmCommandArgument_yyIN_HEADER
  264. #endif /* cmCommandArgument_yyHEADER_H */