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.

339 lines
8.9 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 cmDependsJava_yyHEADER_H
  14. #define cmDependsJava_yyHEADER_H 1
  15. #define cmDependsJava_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 31
  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. #if defined(__BEOS__)
  32. #include <unistd.h> /* prevents a conflict with a #define later on... */
  33. #endif
  34. /* end standard C headers. */
  35. /* flex integer type definitions */
  36. #ifndef FLEXINT_H
  37. #define FLEXINT_H
  38. /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  39. #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
  40. #include <inttypes.h>
  41. typedef int8_t flex_int8_t;
  42. typedef uint8_t flex_uint8_t;
  43. typedef int16_t flex_int16_t;
  44. typedef uint16_t flex_uint16_t;
  45. typedef int32_t flex_int32_t;
  46. typedef uint32_t flex_uint32_t;
  47. #else
  48. typedef signed char flex_int8_t;
  49. typedef short int flex_int16_t;
  50. typedef int flex_int32_t;
  51. typedef unsigned char flex_uint8_t;
  52. typedef unsigned short int flex_uint16_t;
  53. typedef unsigned int flex_uint32_t;
  54. #endif /* ! C99 */
  55. /* Limits of integral types. */
  56. #ifndef INT8_MIN
  57. #define INT8_MIN (-128)
  58. #endif
  59. #ifndef INT16_MIN
  60. #define INT16_MIN (-32767-1)
  61. #endif
  62. #ifndef INT32_MIN
  63. #define INT32_MIN (-2147483647-1)
  64. #endif
  65. #ifndef INT8_MAX
  66. #define INT8_MAX (127)
  67. #endif
  68. #ifndef INT16_MAX
  69. #define INT16_MAX (32767)
  70. #endif
  71. #ifndef INT32_MAX
  72. #define INT32_MAX (2147483647)
  73. #endif
  74. #ifndef UINT8_MAX
  75. #define UINT8_MAX (255U)
  76. #endif
  77. #ifndef UINT16_MAX
  78. #define UINT16_MAX (65535U)
  79. #endif
  80. #ifndef UINT32_MAX
  81. #define UINT32_MAX (4294967295U)
  82. #endif
  83. #endif /* ! FLEXINT_H */
  84. #ifdef __cplusplus
  85. /* The "const" storage-class-modifier is valid. */
  86. #define YY_USE_CONST
  87. #else /* ! __cplusplus */
  88. #if __STDC__
  89. #define YY_USE_CONST
  90. #endif /* __STDC__ */
  91. #endif /* ! __cplusplus */
  92. #ifdef YY_USE_CONST
  93. #define yyconst const
  94. #else
  95. #define yyconst
  96. #endif
  97. /* An opaque pointer. */
  98. #ifndef YY_TYPEDEF_YY_SCANNER_T
  99. #define YY_TYPEDEF_YY_SCANNER_T
  100. typedef void* yyscan_t;
  101. #endif
  102. /* For convenience, these vars (plus the bison vars far below)
  103. are macros in the reentrant scanner. */
  104. #define yyin yyg->yyin_r
  105. #define yyout yyg->yyout_r
  106. #define yyextra yyg->yyextra_r
  107. #define yyleng yyg->yyleng_r
  108. #define yytext yyg->yytext_r
  109. #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
  110. #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
  111. #define yy_flex_debug yyg->yy_flex_debug_r
  112. int cmDependsJava_yylex_init (yyscan_t* scanner);
  113. #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  114. #define YY_TYPEDEF_YY_BUFFER_STATE
  115. typedef struct yy_buffer_state *YY_BUFFER_STATE;
  116. #endif
  117. /* The following is because we cannot portably get our hands on size_t
  118. * (without autoconf's help, which isn't available because we want
  119. * flex-generated scanners to compile on their own).
  120. */
  121. #ifndef YY_TYPEDEF_YY_SIZE_T
  122. #define YY_TYPEDEF_YY_SIZE_T
  123. typedef unsigned int yy_size_t;
  124. #endif
  125. #ifndef YY_STRUCT_YY_BUFFER_STATE
  126. #define YY_STRUCT_YY_BUFFER_STATE
  127. struct yy_buffer_state
  128. {
  129. FILE *yy_input_file;
  130. char *yy_ch_buf; /* input buffer */
  131. char *yy_buf_pos; /* current position in input buffer */
  132. /* Size of input buffer in bytes, not including room for EOB
  133. * characters.
  134. */
  135. yy_size_t yy_buf_size;
  136. /* Number of characters read into yy_ch_buf, not including EOB
  137. * characters.
  138. */
  139. int yy_n_chars;
  140. /* Whether we "own" the buffer - i.e., we know we created it,
  141. * and can realloc() it to grow it, and should free() it to
  142. * delete it.
  143. */
  144. int yy_is_our_buffer;
  145. /* Whether this is an "interactive" input source; if so, and
  146. * if we're using stdio for input, then we want to use getc()
  147. * instead of fread(), to make sure we stop fetching input after
  148. * each newline.
  149. */
  150. int yy_is_interactive;
  151. /* Whether we're considered to be at the beginning of a line.
  152. * If so, '^' rules will be active on the next match, otherwise
  153. * not.
  154. */
  155. int yy_at_bol;
  156. int yy_bs_lineno; /**< The line count. */
  157. int yy_bs_column; /**< The column count. */
  158. /* Whether to try to fill the input buffer when we reach the
  159. * end of it.
  160. */
  161. int yy_fill_buffer;
  162. int yy_buffer_status;
  163. };
  164. #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  165. void cmDependsJava_yyrestart (FILE *input_file ,yyscan_t yyscanner );
  166. void cmDependsJava_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,
  167. yyscan_t yyscanner );
  168. YY_BUFFER_STATE cmDependsJava_yy_create_buffer (FILE *file,int size ,
  169. yyscan_t yyscanner );
  170. void cmDependsJava_yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
  171. void cmDependsJava_yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
  172. void cmDependsJava_yypush_buffer_state (YY_BUFFER_STATE new_buffer ,
  173. yyscan_t yyscanner );
  174. void cmDependsJava_yypop_buffer_state (yyscan_t yyscanner );
  175. YY_BUFFER_STATE cmDependsJava_yy_scan_buffer (char *base,yy_size_t size ,
  176. yyscan_t yyscanner );
  177. YY_BUFFER_STATE cmDependsJava_yy_scan_string (yyconst char *yy_str ,
  178. yyscan_t yyscanner );
  179. YY_BUFFER_STATE cmDependsJava_yy_scan_bytes (yyconst char *bytes,int len ,
  180. yyscan_t yyscanner );
  181. void *cmDependsJava_yyalloc (yy_size_t ,yyscan_t yyscanner );
  182. void *cmDependsJava_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
  183. void cmDependsJava_yyfree (void * ,yyscan_t yyscanner );
  184. /* Begin user sect3 */
  185. #define cmDependsJava_yywrap(n) 1
  186. #define YY_SKIP_YYWRAP
  187. #define yytext_ptr yytext_r
  188. #ifdef YY_HEADER_EXPORT_START_CONDITIONS
  189. #define INITIAL 0
  190. #define comment 1
  191. #define string 2
  192. #endif
  193. #ifndef YY_EXTRA_TYPE
  194. #define YY_EXTRA_TYPE void *
  195. #endif
  196. /* Accessor methods to globals.
  197. These are made visible to non-reentrant scanners for convenience. */
  198. int cmDependsJava_yylex_destroy (yyscan_t yyscanner );
  199. int cmDependsJava_yyget_debug (yyscan_t yyscanner );
  200. void cmDependsJava_yyset_debug (int debug_flag ,yyscan_t yyscanner );
  201. YY_EXTRA_TYPE cmDependsJava_yyget_extra (yyscan_t yyscanner );
  202. void cmDependsJava_yyset_extra (YY_EXTRA_TYPE user_defined ,
  203. yyscan_t yyscanner );
  204. FILE *cmDependsJava_yyget_in (yyscan_t yyscanner );
  205. void cmDependsJava_yyset_in (FILE * in_str ,yyscan_t yyscanner );
  206. FILE *cmDependsJava_yyget_out (yyscan_t yyscanner );
  207. void cmDependsJava_yyset_out (FILE * out_str ,yyscan_t yyscanner );
  208. int cmDependsJava_yyget_leng (yyscan_t yyscanner );
  209. char *cmDependsJava_yyget_text (yyscan_t yyscanner );
  210. int cmDependsJava_yyget_lineno (yyscan_t yyscanner );
  211. void cmDependsJava_yyset_lineno (int line_number ,yyscan_t yyscanner );
  212. /* Macros after this point can all be overridden by user definitions in
  213. * section 1.
  214. */
  215. #ifndef YY_SKIP_YYWRAP
  216. #ifdef __cplusplus
  217. extern "C" int cmDependsJava_yywrap (yyscan_t yyscanner );
  218. #else
  219. extern int cmDependsJava_yywrap (yyscan_t yyscanner );
  220. #endif
  221. #endif
  222. #ifndef yytext_ptr
  223. static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
  224. #endif
  225. #ifdef YY_NEED_STRLEN
  226. static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
  227. #endif
  228. #ifndef YY_NO_INPUT
  229. #endif
  230. /* Amount of stuff to slurp up with each read. */
  231. #ifndef YY_READ_BUF_SIZE
  232. #define YY_READ_BUF_SIZE 8192
  233. #endif
  234. /* Number of entries by which start-condition stack grows. */
  235. #ifndef YY_START_STACK_INCR
  236. #define YY_START_STACK_INCR 25
  237. #endif
  238. /* Default declaration of generated scanner - a define so the user can
  239. * easily add parameters.
  240. */
  241. #ifndef YY_DECL
  242. #define YY_DECL_IS_OURS 1
  243. extern int cmDependsJava_yylex (yyscan_t yyscanner);
  244. #define YY_DECL int cmDependsJava_yylex (yyscan_t yyscanner)
  245. #endif /* !YY_DECL */
  246. /* yy_get_previous_state - get the state just before the
  247. EOB char was reached */
  248. #undef YY_NEW_FILE
  249. #undef YY_FLUSH_BUFFER
  250. #undef yy_set_bol
  251. #undef yy_new_buffer
  252. #undef yy_set_interactive
  253. #undef yytext_ptr
  254. #undef YY_DO_BEFORE_ACTION
  255. #ifdef YY_DECL_IS_OURS
  256. #undef YY_DECL_IS_OURS
  257. #undef YY_DECL
  258. #endif
  259. #undef cmDependsJava_yyIN_HEADER
  260. #endif /* cmDependsJava_yyHEADER_H */