cmDependsFortranLexer.h 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef cmDependsFortran_yyHEADER_H
  11. #define cmDependsFortran_yyHEADER_H 1
  12. #define cmDependsFortran_yyIN_HEADER 1
  13. #define YY_INT_ALIGNED short int
  14. /* A lexical scanner generated by flex */
  15. #define FLEX_SCANNER
  16. #define YY_FLEX_MAJOR_VERSION 2
  17. #define YY_FLEX_MINOR_VERSION 5
  18. #define YY_FLEX_SUBMINOR_VERSION 35
  19. #if YY_FLEX_SUBMINOR_VERSION > 0
  20. #define FLEX_BETA
  21. #endif
  22. /* First, we deal with platform-specific or compiler-specific issues. */
  23. /* begin standard C headers. */
  24. #include <stdio.h>
  25. #include <string.h>
  26. #include <errno.h>
  27. #include <stdlib.h>
  28. /* end standard C headers. */
  29. /* flex integer type definitions */
  30. #ifndef FLEXINT_H
  31. #define FLEXINT_H
  32. /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  33. #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  34. /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h,
  35. * if you want the limit (max/min) macros for int types.
  36. */
  37. #ifndef __STDC_LIMIT_MACROS
  38. #define __STDC_LIMIT_MACROS 1
  39. #endif
  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. /* Limits of integral types. */
  55. #ifndef INT8_MIN
  56. #define INT8_MIN (-128)
  57. #endif
  58. #ifndef INT16_MIN
  59. #define INT16_MIN (-32767-1)
  60. #endif
  61. #ifndef INT32_MIN
  62. #define INT32_MIN (-2147483647-1)
  63. #endif
  64. #ifndef INT8_MAX
  65. #define INT8_MAX (127)
  66. #endif
  67. #ifndef INT16_MAX
  68. #define INT16_MAX (32767)
  69. #endif
  70. #ifndef INT32_MAX
  71. #define INT32_MAX (2147483647)
  72. #endif
  73. #ifndef UINT8_MAX
  74. #define UINT8_MAX (255U)
  75. #endif
  76. #ifndef UINT16_MAX
  77. #define UINT16_MAX (65535U)
  78. #endif
  79. #ifndef UINT32_MAX
  80. #define UINT32_MAX (4294967295U)
  81. #endif
  82. #endif /* ! C99 */
  83. #endif /* ! FLEXINT_H */
  84. #ifdef __cplusplus
  85. /* The "const" storage-class-modifier is valid. */
  86. #define YY_USE_CONST
  87. #else /* ! __cplusplus */
  88. /* C99 requires __STDC__ to be defined as 1. */
  89. #if defined (__STDC__)
  90. #define YY_USE_CONST
  91. #endif /* defined (__STDC__) */
  92. #endif /* ! __cplusplus */
  93. #ifdef YY_USE_CONST
  94. #define yyconst const
  95. #else
  96. #define yyconst
  97. #endif
  98. /* An opaque pointer. */
  99. #ifndef YY_TYPEDEF_YY_SCANNER_T
  100. #define YY_TYPEDEF_YY_SCANNER_T
  101. typedef void* yyscan_t;
  102. #endif
  103. /* For convenience, these vars (plus the bison vars far below)
  104. are macros in the reentrant scanner. */
  105. #define yyin yyg->yyin_r
  106. #define yyout yyg->yyout_r
  107. #define yyextra yyg->yyextra_r
  108. #define yyleng yyg->yyleng_r
  109. #define yytext yyg->yytext_r
  110. #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
  111. #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
  112. #define yy_flex_debug yyg->yy_flex_debug_r
  113. /* Size of default input buffer. */
  114. #ifndef YY_BUF_SIZE
  115. #ifdef __ia64__
  116. /* On IA-64, the buffer size is 16k, not 8k.
  117. * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
  118. * Ditto for the __ia64__ case accordingly.
  119. */
  120. #define YY_BUF_SIZE 32768
  121. #else
  122. #define YY_BUF_SIZE 16384
  123. #endif /* __ia64__ */
  124. #endif
  125. #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  126. #define YY_TYPEDEF_YY_BUFFER_STATE
  127. typedef struct yy_buffer_state *YY_BUFFER_STATE;
  128. #endif
  129. #ifndef YY_TYPEDEF_YY_SIZE_T
  130. #define YY_TYPEDEF_YY_SIZE_T
  131. typedef size_t yy_size_t;
  132. #endif
  133. #ifndef YY_STRUCT_YY_BUFFER_STATE
  134. #define YY_STRUCT_YY_BUFFER_STATE
  135. struct yy_buffer_state
  136. {
  137. FILE *yy_input_file;
  138. char *yy_ch_buf; /* input buffer */
  139. char *yy_buf_pos; /* current position in input buffer */
  140. /* Size of input buffer in bytes, not including room for EOB
  141. * characters.
  142. */
  143. yy_size_t yy_buf_size;
  144. /* Number of characters read into yy_ch_buf, not including EOB
  145. * characters.
  146. */
  147. int yy_n_chars;
  148. /* Whether we "own" the buffer - i.e., we know we created it,
  149. * and can realloc() it to grow it, and should free() it to
  150. * delete it.
  151. */
  152. int yy_is_our_buffer;
  153. /* Whether this is an "interactive" input source; if so, and
  154. * if we're using stdio for input, then we want to use getc()
  155. * instead of fread(), to make sure we stop fetching input after
  156. * each newline.
  157. */
  158. int yy_is_interactive;
  159. /* Whether we're considered to be at the beginning of a line.
  160. * If so, '^' rules will be active on the next match, otherwise
  161. * not.
  162. */
  163. int yy_at_bol;
  164. int yy_bs_lineno; /**< The line count. */
  165. int yy_bs_column; /**< The column count. */
  166. /* Whether to try to fill the input buffer when we reach the
  167. * end of it.
  168. */
  169. int yy_fill_buffer;
  170. int yy_buffer_status;
  171. };
  172. #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  173. void cmDependsFortran_yyrestart (FILE *input_file ,yyscan_t yyscanner );
  174. void cmDependsFortran_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
  175. YY_BUFFER_STATE cmDependsFortran_yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
  176. void cmDependsFortran_yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
  177. void cmDependsFortran_yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
  178. void cmDependsFortran_yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
  179. void cmDependsFortran_yypop_buffer_state (yyscan_t yyscanner );
  180. YY_BUFFER_STATE cmDependsFortran_yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
  181. YY_BUFFER_STATE cmDependsFortran_yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
  182. YY_BUFFER_STATE cmDependsFortran_yy_scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
  183. void *cmDependsFortran_yyalloc (yy_size_t ,yyscan_t yyscanner );
  184. void *cmDependsFortran_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
  185. void cmDependsFortran_yyfree (void * ,yyscan_t yyscanner );
  186. /* Begin user sect3 */
  187. #define cmDependsFortran_yywrap(n) 1
  188. #define YY_SKIP_YYWRAP
  189. #define yytext_ptr yytext_r
  190. #ifdef YY_HEADER_EXPORT_START_CONDITIONS
  191. #define INITIAL 0
  192. #define free_fmt 1
  193. #define fixed_fmt 2
  194. #define str_sq 3
  195. #define str_dq 4
  196. #endif
  197. #ifndef YY_EXTRA_TYPE
  198. #define YY_EXTRA_TYPE void *
  199. #endif
  200. int cmDependsFortran_yylex_init (yyscan_t* scanner);
  201. int cmDependsFortran_yylex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
  202. /* Accessor methods to globals.
  203. These are made visible to non-reentrant scanners for convenience. */
  204. int cmDependsFortran_yylex_destroy (yyscan_t yyscanner );
  205. int cmDependsFortran_yyget_debug (yyscan_t yyscanner );
  206. void cmDependsFortran_yyset_debug (int debug_flag ,yyscan_t yyscanner );
  207. YY_EXTRA_TYPE cmDependsFortran_yyget_extra (yyscan_t yyscanner );
  208. void cmDependsFortran_yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
  209. FILE *cmDependsFortran_yyget_in (yyscan_t yyscanner );
  210. void cmDependsFortran_yyset_in (FILE * in_str ,yyscan_t yyscanner );
  211. FILE *cmDependsFortran_yyget_out (yyscan_t yyscanner );
  212. void cmDependsFortran_yyset_out (FILE * out_str ,yyscan_t yyscanner );
  213. int cmDependsFortran_yyget_leng (yyscan_t yyscanner );
  214. char *cmDependsFortran_yyget_text (yyscan_t yyscanner );
  215. int cmDependsFortran_yyget_lineno (yyscan_t yyscanner );
  216. void cmDependsFortran_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 cmDependsFortran_yywrap (yyscan_t yyscanner );
  223. #else
  224. extern int cmDependsFortran_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. #ifdef __ia64__
  238. /* On IA-64, the buffer size is 16k, not 8k */
  239. #define YY_READ_BUF_SIZE 16384
  240. #else
  241. #define YY_READ_BUF_SIZE 8192
  242. #endif /* __ia64__ */
  243. #endif
  244. /* Number of entries by which start-condition stack grows. */
  245. #ifndef YY_START_STACK_INCR
  246. #define YY_START_STACK_INCR 25
  247. #endif
  248. /* Default declaration of generated scanner - a define so the user can
  249. * easily add parameters.
  250. */
  251. #ifndef YY_DECL
  252. #define YY_DECL_IS_OURS 1
  253. extern int cmDependsFortran_yylex (yyscan_t yyscanner);
  254. #define YY_DECL int cmDependsFortran_yylex (yyscan_t yyscanner)
  255. #endif /* !YY_DECL */
  256. /* yy_get_previous_state - get the state just before the EOB char was reached */
  257. #undef YY_NEW_FILE
  258. #undef YY_FLUSH_BUFFER
  259. #undef yy_set_bol
  260. #undef yy_new_buffer
  261. #undef yy_set_interactive
  262. #undef YY_DO_BEFORE_ACTION
  263. #ifdef YY_DECL_IS_OURS
  264. #undef YY_DECL_IS_OURS
  265. #undef YY_DECL
  266. #endif
  267. #undef cmDependsFortran_yyIN_HEADER
  268. #endif /* cmDependsFortran_yyHEADER_H */