cmDependsJavaLexer.cxx 77 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668
  1. #line 2 "cmDependsJavaLexer.cxx"
  2. #line 4 "cmDependsJavaLexer.cxx"
  3. #define YY_INT_ALIGNED short int
  4. /* A lexical scanner generated by flex */
  5. #define FLEX_SCANNER
  6. #define YY_FLEX_MAJOR_VERSION 2
  7. #define YY_FLEX_MINOR_VERSION 5
  8. #define YY_FLEX_SUBMINOR_VERSION 31
  9. #if YY_FLEX_SUBMINOR_VERSION > 0
  10. #define FLEX_BETA
  11. #endif
  12. /* First, we deal with platform-specific or compiler-specific issues. */
  13. /* begin standard C headers. */
  14. #include <stdio.h>
  15. #include <string.h>
  16. #include <errno.h>
  17. #include <stdlib.h>
  18. /* end standard C headers. */
  19. /* flex integer type definitions */
  20. #ifndef FLEXINT_H
  21. #define FLEXINT_H
  22. /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  23. #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
  24. #include <inttypes.h>
  25. typedef int8_t flex_int8_t;
  26. typedef uint8_t flex_uint8_t;
  27. typedef int16_t flex_int16_t;
  28. typedef uint16_t flex_uint16_t;
  29. typedef int32_t flex_int32_t;
  30. typedef uint32_t flex_uint32_t;
  31. #else
  32. typedef signed char flex_int8_t;
  33. typedef short int flex_int16_t;
  34. typedef int flex_int32_t;
  35. typedef unsigned char flex_uint8_t;
  36. typedef unsigned short int flex_uint16_t;
  37. typedef unsigned int flex_uint32_t;
  38. #endif /* ! C99 */
  39. /* Limits of integral types. */
  40. #ifndef INT8_MIN
  41. #define INT8_MIN (-128)
  42. #endif
  43. #ifndef INT16_MIN
  44. #define INT16_MIN (-32767-1)
  45. #endif
  46. #ifndef INT32_MIN
  47. #define INT32_MIN (-2147483647-1)
  48. #endif
  49. #ifndef INT8_MAX
  50. #define INT8_MAX (127)
  51. #endif
  52. #ifndef INT16_MAX
  53. #define INT16_MAX (32767)
  54. #endif
  55. #ifndef INT32_MAX
  56. #define INT32_MAX (2147483647)
  57. #endif
  58. #ifndef UINT8_MAX
  59. #define UINT8_MAX (255U)
  60. #endif
  61. #ifndef UINT16_MAX
  62. #define UINT16_MAX (65535U)
  63. #endif
  64. #ifndef UINT32_MAX
  65. #define UINT32_MAX (4294967295U)
  66. #endif
  67. #endif /* ! FLEXINT_H */
  68. #ifdef __cplusplus
  69. /* The "const" storage-class-modifier is valid. */
  70. #define YY_USE_CONST
  71. #else /* ! __cplusplus */
  72. #if __STDC__
  73. #define YY_USE_CONST
  74. #endif /* __STDC__ */
  75. #endif /* ! __cplusplus */
  76. #ifdef YY_USE_CONST
  77. #define yyconst const
  78. #else
  79. #define yyconst
  80. #endif
  81. /* Returned upon end-of-file. */
  82. #define YY_NULL 0
  83. /* Promotes a possibly negative, possibly signed char to an unsigned
  84. * integer for use as an array index. If the signed char is negative,
  85. * we want to instead treat it as an 8-bit unsigned char, hence the
  86. * double cast.
  87. */
  88. #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  89. /* An opaque pointer. */
  90. #ifndef YY_TYPEDEF_YY_SCANNER_T
  91. #define YY_TYPEDEF_YY_SCANNER_T
  92. typedef void* yyscan_t;
  93. #endif
  94. /* For convenience, these vars (plus the bison vars far below)
  95. are macros in the reentrant scanner. */
  96. #define yyin yyg->yyin_r
  97. #define yyout yyg->yyout_r
  98. #define yyextra yyg->yyextra_r
  99. #define yyleng yyg->yyleng_r
  100. #define yytext yyg->yytext_r
  101. #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
  102. #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
  103. #define yy_flex_debug yyg->yy_flex_debug_r
  104. int cmDependsJava_yylex_init (yyscan_t* scanner);
  105. /* Enter a start condition. This macro really ought to take a parameter,
  106. * but we do it the disgusting crufty way forced on us by the ()-less
  107. * definition of BEGIN.
  108. */
  109. #define BEGIN yyg->yy_start = 1 + 2 *
  110. /* Translate the current start state into a value that can be later handed
  111. * to BEGIN to return to the state. The YYSTATE alias is for lex
  112. * compatibility.
  113. */
  114. #define YY_START ((yyg->yy_start - 1) / 2)
  115. #define YYSTATE YY_START
  116. /* Action number for EOF rule of a given start state. */
  117. #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  118. /* Special action meaning "start processing a new file". */
  119. #define YY_NEW_FILE cmDependsJava_yyrestart(yyin ,yyscanner )
  120. #define YY_END_OF_BUFFER_CHAR 0
  121. /* Size of default input buffer. */
  122. #ifndef YY_BUF_SIZE
  123. #define YY_BUF_SIZE 16384
  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. #define EOB_ACT_CONTINUE_SCAN 0
  130. #define EOB_ACT_END_OF_FILE 1
  131. #define EOB_ACT_LAST_MATCH 2
  132. #define YY_LESS_LINENO(n)
  133. /* Return all but the first "n" matched characters back to the input stream. */
  134. #define yyless(n) \
  135. do \
  136. { \
  137. /* Undo effects of setting up yytext. */ \
  138. int yyless_macro_arg = (n); \
  139. YY_LESS_LINENO(yyless_macro_arg);\
  140. *yy_cp = yyg->yy_hold_char; \
  141. YY_RESTORE_YY_MORE_OFFSET \
  142. yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  143. YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  144. } \
  145. while ( 0 )
  146. /* The following is because we cannot portably get our hands on size_t
  147. * (without autoconf's help, which isn't available because we want
  148. * flex-generated scanners to compile on their own).
  149. */
  150. #ifndef YY_TYPEDEF_YY_SIZE_T
  151. #define YY_TYPEDEF_YY_SIZE_T
  152. typedef unsigned int yy_size_t;
  153. #endif
  154. #ifndef YY_STRUCT_YY_BUFFER_STATE
  155. #define YY_STRUCT_YY_BUFFER_STATE
  156. struct yy_buffer_state
  157. {
  158. FILE *yy_input_file;
  159. char *yy_ch_buf; /* input buffer */
  160. char *yy_buf_pos; /* current position in input buffer */
  161. /* Size of input buffer in bytes, not including room for EOB
  162. * characters.
  163. */
  164. yy_size_t yy_buf_size;
  165. /* Number of characters read into yy_ch_buf, not including EOB
  166. * characters.
  167. */
  168. int yy_n_chars;
  169. /* Whether we "own" the buffer - i.e., we know we created it,
  170. * and can realloc() it to grow it, and should free() it to
  171. * delete it.
  172. */
  173. int yy_is_our_buffer;
  174. /* Whether this is an "interactive" input source; if so, and
  175. * if we're using stdio for input, then we want to use getc()
  176. * instead of fread(), to make sure we stop fetching input after
  177. * each newline.
  178. */
  179. int yy_is_interactive;
  180. /* Whether we're considered to be at the beginning of a line.
  181. * If so, '^' rules will be active on the next match, otherwise
  182. * not.
  183. */
  184. int yy_at_bol;
  185. int yy_bs_lineno; /**< The line count. */
  186. int yy_bs_column; /**< The column count. */
  187. /* Whether to try to fill the input buffer when we reach the
  188. * end of it.
  189. */
  190. int yy_fill_buffer;
  191. int yy_buffer_status;
  192. #define YY_BUFFER_NEW 0
  193. #define YY_BUFFER_NORMAL 1
  194. /* When an EOF's been seen but there's still some text to process
  195. * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  196. * shouldn't try reading from the input source any more. We might
  197. * still have a bunch of tokens to match, though, because of
  198. * possible backing-up.
  199. *
  200. * When we actually see the EOF, we change the status to "new"
  201. * (via cmDependsJava_yyrestart()), so that the user can continue scanning by
  202. * just pointing yyin at a new input file.
  203. */
  204. #define YY_BUFFER_EOF_PENDING 2
  205. };
  206. #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  207. /* We provide macros for accessing buffer states in case in the
  208. * future we want to put the buffer states in a more general
  209. * "scanner state".
  210. *
  211. * Returns the top of the stack, or NULL.
  212. */
  213. #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
  214. ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
  215. : NULL)
  216. /* Same as previous macro, but useful when we know that the buffer stack is not
  217. * NULL or when we need an lvalue. For internal use only.
  218. */
  219. #define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
  220. void cmDependsJava_yyrestart (FILE *input_file ,yyscan_t yyscanner );
  221. void cmDependsJava_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
  222. YY_BUFFER_STATE cmDependsJava_yy_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
  223. void cmDependsJava_yy_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
  224. void cmDependsJava_yy_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
  225. void cmDependsJava_yypush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
  226. void cmDependsJava_yypop_buffer_state (yyscan_t yyscanner );
  227. static void cmDependsJava_yyensure_buffer_stack (yyscan_t yyscanner );
  228. static void cmDependsJava_yy_load_buffer_state (yyscan_t yyscanner );
  229. static void cmDependsJava_yy_init_buffer (YY_BUFFER_STATE b,FILE *file ,yyscan_t yyscanner );
  230. #define YY_FLUSH_BUFFER cmDependsJava_yy_flush_buffer(YY_CURRENT_BUFFER ,yyscanner)
  231. YY_BUFFER_STATE cmDependsJava_yy_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
  232. YY_BUFFER_STATE cmDependsJava_yy_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
  233. YY_BUFFER_STATE cmDependsJava_yy_scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
  234. void *cmDependsJava_yyalloc (yy_size_t ,yyscan_t yyscanner );
  235. void *cmDependsJava_yyrealloc (void *,yy_size_t ,yyscan_t yyscanner );
  236. void cmDependsJava_yyfree (void * ,yyscan_t yyscanner );
  237. #define yy_new_buffer cmDependsJava_yy_create_buffer
  238. #define yy_set_interactive(is_interactive) \
  239. { \
  240. if ( ! YY_CURRENT_BUFFER ){ \
  241. cmDependsJava_yyensure_buffer_stack (yyscanner); \
  242. YY_CURRENT_BUFFER_LVALUE = \
  243. cmDependsJava_yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
  244. } \
  245. YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
  246. }
  247. #define yy_set_bol(at_bol) \
  248. { \
  249. if ( ! YY_CURRENT_BUFFER ){\
  250. cmDependsJava_yyensure_buffer_stack (yyscanner); \
  251. YY_CURRENT_BUFFER_LVALUE = \
  252. cmDependsJava_yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
  253. } \
  254. YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
  255. }
  256. #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
  257. /* Begin user sect3 */
  258. #define cmDependsJava_yywrap(n) 1
  259. #define YY_SKIP_YYWRAP
  260. typedef unsigned char YY_CHAR;
  261. typedef int yy_state_type;
  262. #define yytext_ptr yytext_r
  263. static yy_state_type yy_get_previous_state (yyscan_t yyscanner );
  264. static yy_state_type yy_try_NUL_trans (yy_state_type current_state ,yyscan_t yyscanner);
  265. static int yy_get_next_buffer (yyscan_t yyscanner );
  266. static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner );
  267. /* Done after the current pattern has been matched and before the
  268. * corresponding action - sets up yytext.
  269. */
  270. #define YY_DO_BEFORE_ACTION \
  271. yyg->yytext_ptr = yy_bp; \
  272. yyleng = (size_t) (yy_cp - yy_bp); \
  273. yyg->yy_hold_char = *yy_cp; \
  274. *yy_cp = '\0'; \
  275. yyg->yy_c_buf_p = yy_cp;
  276. #define YY_NUM_RULES 111
  277. #define YY_END_OF_BUFFER 112
  278. /* This struct is not used in this scanner,
  279. but its presence is necessary. */
  280. struct yy_trans_info
  281. {
  282. flex_int32_t yy_verify;
  283. flex_int32_t yy_nxt;
  284. };
  285. static yyconst flex_int16_t yy_accept[327] =
  286. { 0,
  287. 0, 0, 0, 0, 0, 0, 112, 110, 109, 109,
  288. 77, 4, 73, 94, 60, 110, 93, 92, 105, 99,
  289. 68, 89, 74, 71, 56, 56, 67, 103, 86, 75,
  290. 79, 102, 107, 64, 63, 65, 107, 107, 107, 107,
  291. 107, 107, 107, 107, 107, 107, 107, 107, 107, 107,
  292. 107, 70, 96, 69, 104, 3, 3, 6, 111, 5,
  293. 78, 95, 61, 62, 0, 0, 106, 101, 100, 91,
  294. 90, 57, 1, 0, 72, 57, 56, 57, 0, 56,
  295. 0, 88, 87, 76, 80, 81, 107, 66, 107, 107,
  296. 107, 107, 107, 107, 107, 107, 107, 107, 18, 107,
  297. 107, 107, 107, 107, 107, 26, 107, 107, 107, 107,
  298. 107, 107, 107, 107, 107, 107, 107, 107, 107, 107,
  299. 107, 107, 107, 107, 107, 97, 98, 2, 55, 55,
  300. 0, 0, 0, 108, 57, 0, 57, 58, 85, 82,
  301. 83, 107, 107, 107, 107, 107, 107, 107, 107, 107,
  302. 107, 107, 107, 107, 107, 107, 107, 107, 25, 107,
  303. 107, 30, 107, 107, 34, 107, 107, 107, 107, 107,
  304. 107, 107, 107, 107, 107, 107, 107, 107, 107, 107,
  305. 107, 50, 107, 107, 107, 0, 0, 58, 84, 107,
  306. 107, 107, 107, 11, 12, 107, 14, 107, 107, 107,
  307. 107, 20, 107, 107, 107, 107, 107, 107, 107, 107,
  308. 32, 107, 59, 107, 107, 107, 107, 107, 107, 107,
  309. 107, 107, 107, 107, 46, 107, 107, 54, 51, 107,
  310. 107, 107, 107, 107, 10, 13, 15, 107, 107, 107,
  311. 107, 22, 24, 107, 107, 107, 107, 107, 107, 107,
  312. 107, 107, 107, 40, 107, 107, 43, 107, 107, 47,
  313. 107, 107, 53, 107, 8, 107, 107, 107, 19, 107,
  314. 107, 107, 28, 107, 107, 33, 107, 107, 107, 38,
  315. 39, 41, 107, 44, 107, 48, 107, 107, 107, 9,
  316. 107, 17, 21, 23, 107, 107, 107, 35, 36, 107,
  317. 107, 107, 107, 107, 7, 16, 107, 107, 107, 107,
  318. 42, 107, 107, 52, 107, 107, 31, 37, 107, 49,
  319. 27, 29, 107, 107, 45, 0
  320. } ;
  321. static yyconst flex_int32_t yy_ec[256] =
  322. { 0,
  323. 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
  324. 1, 2, 2, 1, 1, 1, 1, 1, 1, 1,
  325. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  326. 1, 2, 4, 5, 1, 6, 7, 8, 9, 10,
  327. 11, 12, 13, 14, 15, 16, 17, 18, 19, 19,
  328. 19, 19, 19, 19, 19, 20, 20, 21, 22, 23,
  329. 24, 25, 26, 1, 27, 27, 27, 28, 29, 28,
  330. 30, 30, 30, 30, 30, 31, 30, 30, 30, 30,
  331. 30, 30, 30, 30, 30, 30, 30, 32, 30, 30,
  332. 33, 34, 35, 36, 30, 1, 37, 38, 39, 40,
  333. 41, 42, 43, 44, 45, 30, 46, 47, 48, 49,
  334. 50, 51, 30, 52, 53, 54, 55, 56, 57, 58,
  335. 59, 60, 61, 62, 63, 64, 1, 1, 1, 1,
  336. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  337. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  338. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  339. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  340. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  341. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  342. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  343. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  344. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  345. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  346. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  347. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  348. 1, 1, 1, 1, 1
  349. } ;
  350. static yyconst flex_int32_t yy_meta[65] =
  351. { 0,
  352. 1, 1, 1, 1, 1, 1, 1, 1, 2, 1,
  353. 1, 1, 1, 1, 1, 1, 1, 3, 3, 3,
  354. 1, 1, 1, 1, 1, 1, 3, 3, 3, 4,
  355. 4, 4, 1, 1, 1, 1, 3, 3, 3, 3,
  356. 3, 3, 4, 4, 4, 4, 4, 4, 4, 4,
  357. 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
  358. 1, 1, 1, 1
  359. } ;
  360. static yyconst flex_int16_t yy_base[334] =
  361. { 0,
  362. 0, 0, 401, 400, 62, 63, 411, 414, 414, 414,
  363. 386, 414, 414, 385, 61, 374, 414, 414, 383, 57,
  364. 414, 56, 54, 65, 74, 43, 414, 414, 55, 382,
  365. 59, 414, 0, 414, 414, 381, 38, 36, 60, 46,
  366. 51, 75, 69, 354, 82, 76, 362, 85, 56, 352,
  367. 357, 414, 100, 414, 414, 414, 383, 414, 414, 414,
  368. 414, 414, 414, 414, 390, 127, 414, 414, 414, 414,
  369. 414, 129, 414, 395, 414, 132, 95, 414, 165, 414,
  370. 0, 373, 414, 414, 414, 109, 0, 414, 343, 342,
  371. 344, 352, 338, 101, 354, 353, 340, 346, 332, 333,
  372. 331, 337, 334, 332, 329, 0, 329, 110, 330, 324,
  373. 320, 329, 336, 93, 336, 319, 322, 89, 320, 325,
  374. 320, 114, 131, 120, 323, 414, 414, 414, 414, 358,
  375. 170, 357, 362, 414, 173, 157, 176, 150, 414, 414,
  376. 340, 309, 321, 314, 323, 318, 317, 318, 304, 302,
  377. 300, 316, 314, 310, 309, 296, 311, 310, 0, 153,
  378. 292, 304, 301, 298, 0, 295, 295, 284, 285, 291,
  379. 282, 284, 281, 289, 292, 278, 292, 277, 279, 279,
  380. 286, 0, 286, 288, 277, 189, 314, 414, 414, 270,
  381. 269, 279, 273, 0, 0, 274, 0, 264, 271, 260,
  382. 267, 0, 264, 271, 264, 256, 268, 256, 270, 254,
  383. 0, 249, 0, 267, 266, 261, 256, 248, 245, 253,
  384. 258, 244, 256, 250, 0, 236, 239, 0, 0, 237,
  385. 249, 252, 234, 250, 0, 0, 0, 237, 238, 243,
  386. 243, 235, 0, 233, 226, 230, 236, 236, 233, 221,
  387. 235, 234, 223, 0, 232, 216, 0, 225, 216, 214,
  388. 221, 220, 0, 225, 0, 214, 207, 207, 0, 207,
  389. 200, 217, 0, 218, 219, 0, 214, 213, 199, 0,
  390. 0, 0, 210, 0, 201, 0, 209, 202, 194, 0,
  391. 206, 0, 0, 0, 197, 204, 205, 0, 0, 202,
  392. 191, 192, 191, 198, 0, 0, 163, 162, 170, 170,
  393. 0, 164, 152, 0, 152, 157, 0, 0, 127, 0,
  394. 0, 0, 115, 95, 0, 414, 218, 222, 226, 228,
  395. 232, 96, 235
  396. } ;
  397. static yyconst flex_int16_t yy_def[334] =
  398. { 0,
  399. 326, 1, 327, 327, 328, 328, 326, 326, 326, 326,
  400. 326, 326, 326, 326, 326, 329, 326, 326, 326, 326,
  401. 326, 326, 326, 326, 326, 25, 326, 326, 326, 326,
  402. 326, 326, 330, 326, 326, 326, 330, 330, 330, 330,
  403. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  404. 330, 326, 326, 326, 326, 326, 326, 326, 326, 326,
  405. 326, 326, 326, 326, 326, 329, 326, 326, 326, 326,
  406. 326, 326, 326, 331, 326, 326, 25, 326, 326, 326,
  407. 332, 326, 326, 326, 326, 326, 330, 326, 330, 330,
  408. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  409. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  410. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  411. 330, 330, 330, 330, 330, 326, 326, 326, 326, 326,
  412. 326, 333, 331, 326, 326, 326, 326, 332, 326, 326,
  413. 326, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  414. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  415. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  416. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  417. 330, 330, 330, 330, 330, 326, 333, 326, 326, 330,
  418. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  419. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  420. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  421. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  422. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  423. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  424. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  425. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  426. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  427. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  428. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  429. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  430. 330, 330, 330, 330, 330, 330, 330, 330, 330, 330,
  431. 330, 330, 330, 330, 330, 0, 326, 326, 326, 326,
  432. 326, 326, 326
  433. } ;
  434. static yyconst flex_int16_t yy_nxt[479] =
  435. { 0,
  436. 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
  437. 18, 19, 20, 21, 22, 23, 24, 25, 26, 26,
  438. 27, 28, 29, 30, 31, 32, 33, 33, 33, 33,
  439. 33, 33, 34, 8, 35, 36, 37, 38, 39, 40,
  440. 41, 42, 33, 33, 43, 33, 44, 33, 45, 33,
  441. 46, 47, 48, 49, 33, 50, 51, 33, 33, 33,
  442. 52, 53, 54, 55, 59, 59, 60, 60, 63, 68,
  443. 70, 72, 72, 72, 326, 89, 73, 82, 83, 71,
  444. 69, 74, 85, 86, 64, 91, 98, 92, 75, 76,
  445. 90, 77, 77, 77, 93, 99, 94, 100, 138, 122,
  446. 326, 78, 79, 95, 80, 81, 96, 123, 101, 97,
  447. 106, 102, 113, 78, 79, 78, 107, 108, 110, 103,
  448. 80, 104, 111, 126, 105, 173, 326, 114, 117, 326,
  449. 115, 81, 140, 141, 325, 130, 112, 168, 118, 119,
  450. 174, 120, 169, 121, 131, 131, 72, 72, 72, 135,
  451. 135, 135, 326, 147, 148, 324, 78, 79, 178, 78,
  452. 79, 127, 161, 162, 183, 179, 184, 180, 78, 79,
  453. 78, 78, 79, 78, 137, 137, 137, 136, 129, 136,
  454. 188, 132, 137, 137, 137, 181, 323, 186, 186, 182,
  455. 135, 135, 135, 137, 137, 137, 188, 129, 322, 207,
  456. 78, 79, 208, 78, 321, 320, 186, 186, 319, 318,
  457. 317, 316, 78, 79, 78, 78, 315, 78, 56, 56,
  458. 56, 56, 58, 58, 58, 58, 65, 65, 65, 65,
  459. 87, 87, 133, 133, 133, 133, 187, 187, 314, 313,
  460. 312, 311, 310, 309, 308, 307, 306, 305, 304, 303,
  461. 302, 301, 300, 299, 298, 297, 296, 295, 294, 293,
  462. 292, 291, 290, 289, 288, 287, 286, 285, 284, 283,
  463. 282, 281, 280, 279, 278, 277, 276, 275, 274, 273,
  464. 272, 271, 270, 269, 268, 267, 266, 265, 264, 263,
  465. 262, 261, 260, 259, 258, 257, 256, 255, 254, 253,
  466. 252, 251, 250, 249, 248, 247, 246, 245, 244, 243,
  467. 242, 228, 241, 240, 239, 238, 237, 236, 235, 234,
  468. 233, 232, 129, 231, 230, 229, 228, 227, 226, 225,
  469. 224, 223, 222, 221, 220, 219, 218, 217, 216, 215,
  470. 214, 213, 212, 211, 210, 209, 206, 205, 204, 203,
  471. 202, 201, 200, 199, 198, 197, 196, 195, 194, 193,
  472. 192, 191, 190, 189, 134, 129, 129, 185, 177, 176,
  473. 175, 172, 171, 170, 167, 166, 165, 164, 163, 160,
  474. 159, 158, 157, 156, 155, 154, 153, 152, 151, 150,
  475. 149, 146, 145, 144, 143, 142, 139, 134, 129, 128,
  476. 125, 124, 116, 109, 88, 84, 67, 66, 62, 61,
  477. 326, 57, 57, 7, 326, 326, 326, 326, 326, 326,
  478. 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
  479. 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
  480. 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
  481. 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
  482. 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
  483. 326, 326, 326, 326, 326, 326, 326, 326
  484. } ;
  485. static yyconst flex_int16_t yy_chk[479] =
  486. { 0,
  487. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  488. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  489. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  490. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  491. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  492. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  493. 1, 1, 1, 1, 5, 6, 5, 6, 15, 20,
  494. 22, 23, 23, 23, 26, 37, 24, 29, 29, 22,
  495. 20, 24, 31, 31, 15, 38, 40, 38, 24, 25,
  496. 37, 25, 25, 25, 38, 40, 39, 41, 332, 49,
  497. 26, 25, 25, 39, 25, 25, 39, 49, 41, 39,
  498. 43, 42, 46, 25, 25, 25, 43, 43, 45, 42,
  499. 25, 42, 45, 53, 42, 118, 77, 46, 48, 66,
  500. 46, 25, 86, 86, 324, 66, 45, 114, 48, 48,
  501. 118, 48, 114, 48, 66, 66, 72, 72, 72, 76,
  502. 76, 76, 77, 94, 94, 323, 72, 72, 122, 76,
  503. 76, 53, 108, 108, 124, 122, 124, 123, 72, 72,
  504. 72, 76, 76, 76, 136, 136, 136, 79, 131, 79,
  505. 138, 66, 79, 79, 79, 123, 319, 131, 131, 123,
  506. 135, 135, 135, 137, 137, 137, 138, 186, 316, 160,
  507. 135, 135, 160, 137, 315, 313, 186, 186, 312, 310,
  508. 309, 308, 135, 135, 135, 137, 307, 137, 327, 327,
  509. 327, 327, 328, 328, 328, 328, 329, 329, 329, 329,
  510. 330, 330, 331, 331, 331, 331, 333, 333, 304, 303,
  511. 302, 301, 300, 297, 296, 295, 291, 289, 288, 287,
  512. 285, 283, 279, 278, 277, 275, 274, 272, 271, 270,
  513. 268, 267, 266, 264, 262, 261, 260, 259, 258, 256,
  514. 255, 253, 252, 251, 250, 249, 248, 247, 246, 245,
  515. 244, 242, 241, 240, 239, 238, 234, 233, 232, 231,
  516. 230, 227, 226, 224, 223, 222, 221, 220, 219, 218,
  517. 217, 216, 215, 214, 212, 210, 209, 208, 207, 206,
  518. 205, 204, 203, 201, 200, 199, 198, 196, 193, 192,
  519. 191, 190, 187, 185, 184, 183, 181, 180, 179, 178,
  520. 177, 176, 175, 174, 173, 172, 171, 170, 169, 168,
  521. 167, 166, 164, 163, 162, 161, 158, 157, 156, 155,
  522. 154, 153, 152, 151, 150, 149, 148, 147, 146, 145,
  523. 144, 143, 142, 141, 133, 132, 130, 125, 121, 120,
  524. 119, 117, 116, 115, 113, 112, 111, 110, 109, 107,
  525. 105, 104, 103, 102, 101, 100, 99, 98, 97, 96,
  526. 95, 93, 92, 91, 90, 89, 82, 74, 65, 57,
  527. 51, 50, 47, 44, 36, 30, 19, 16, 14, 11,
  528. 7, 4, 3, 326, 326, 326, 326, 326, 326, 326,
  529. 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
  530. 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
  531. 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
  532. 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
  533. 326, 326, 326, 326, 326, 326, 326, 326, 326, 326,
  534. 326, 326, 326, 326, 326, 326, 326, 326
  535. } ;
  536. /* The intent behind this definition is that it'll catch
  537. * any uses of REJECT which flex missed.
  538. */
  539. #define REJECT reject_used_but_not_detected
  540. #define yymore() yymore_used_but_not_detected
  541. #define YY_MORE_ADJ 0
  542. #define YY_RESTORE_YY_MORE_OFFSET
  543. #line 1 "cmDependsJavaLexer.in.l"
  544. #line 2 "cmDependsJavaLexer.in.l"
  545. /*=========================================================================
  546. Program: CMake - Cross-Platform Makefile Generator
  547. Module: $RCSfile$
  548. Language: C++
  549. Date: $Date$
  550. Version: $Revision$
  551. Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
  552. See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
  553. This software is distributed WITHOUT ANY WARRANTY; without even
  554. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  555. PURPOSE. See the above copyright notices for more information.
  556. =========================================================================*/
  557. /*
  558. This file must be translated to C and modified to build everywhere.
  559. Run flex like this:
  560. flex --prefix=cmDependsJava_yy --header-file=cmDependsJavaLexer.h -ocmDependsJavaLexer.cxx cmDependsJavaLexer.in.l
  561. Modify cmDependsJavaLexer.c:
  562. - remove TABs
  563. - remove "yyscanner" argument from these methods:
  564. yy_fatal_error, cmDependsJava_yyalloc, cmDependsJava_yyrealloc, cmDependsJava_yyfree
  565. - remove all YY_BREAK lines occurring right after return statements
  566. Modify cmDependsJavaLexer.h:
  567. - remove TABs
  568. - remove the yy_init_globals function
  569. - remove the block that includes unistd.h
  570. */
  571. #include "cmDependsJavaParserHelper.h"
  572. /* Disable some warnings. */
  573. #if defined(_MSC_VER)
  574. # pragma warning ( disable : 4127 )
  575. # pragma warning ( disable : 4131 )
  576. # pragma warning ( disable : 4244 )
  577. # pragma warning ( disable : 4251 )
  578. # pragma warning ( disable : 4267 )
  579. # pragma warning ( disable : 4305 )
  580. # pragma warning ( disable : 4309 )
  581. # pragma warning ( disable : 4706 )
  582. # pragma warning ( disable : 4786 )
  583. #endif
  584. /* Disable features we do not need. */
  585. #define YY_NEVER_INTERACTIVE 1
  586. #undef ECHO /* SGI termios defines this differently. */
  587. #define ECHO
  588. /* Replace the lexer input function. */
  589. #undef YY_INPUT
  590. #define YY_INPUT(buf, result, max_size) \
  591. { result = yyextra->LexInput(buf, max_size); }
  592. /* Include the set of tokens from the parser. */
  593. #include "cmDependsJavaParserTokens.h"
  594. #if defined( _WIN32 ) && !defined( __CYGWIN__ )
  595. /* Handle Windows properly */
  596. # include <io.h>
  597. # if defined( _MSC_VER )
  598. # define isatty _isatty
  599. # endif
  600. # define YY_NO_UNISTD_H 1
  601. #endif
  602. #define KEYWORD yylvalp->str = 0
  603. #define SYMBOL yylvalp->str = 0
  604. #define PRIMITIVE yylvalp->str = 0
  605. /*--------------------------------------------------------------------------*/
  606. #line 721 "cmDependsJavaLexer.cxx"
  607. #define INITIAL 0
  608. #define comment 1
  609. #define string 2
  610. #ifndef YY_NO_UNISTD_H
  611. /* Special case for "unistd.h", since it is non-ANSI. We include it way
  612. * down here because we want the user's section 1 to have been scanned first.
  613. * The user has a chance to override it with an option.
  614. */
  615. #include <unistd.h>
  616. #endif
  617. #ifndef YY_EXTRA_TYPE
  618. #define YY_EXTRA_TYPE void *
  619. #endif
  620. /* Holds the entire state of the reentrant scanner. */
  621. struct yyguts_t
  622. {
  623. /* User-defined. Not touched by flex. */
  624. YY_EXTRA_TYPE yyextra_r;
  625. /* The rest are the same as the globals declared in the non-reentrant scanner. */
  626. FILE *yyin_r, *yyout_r;
  627. size_t yy_buffer_stack_top; /**< index of top of stack. */
  628. size_t yy_buffer_stack_max; /**< capacity of stack. */
  629. YY_BUFFER_STATE * yy_buffer_stack; /**< Stack as an array. */
  630. char yy_hold_char;
  631. int yy_n_chars;
  632. int yyleng_r;
  633. char *yy_c_buf_p;
  634. int yy_init;
  635. int yy_start;
  636. int yy_did_buffer_switch_on_eof;
  637. int yy_start_stack_ptr;
  638. int yy_start_stack_depth;
  639. int *yy_start_stack;
  640. yy_state_type yy_last_accepting_state;
  641. char* yy_last_accepting_cpos;
  642. int yylineno_r;
  643. int yy_flex_debug_r;
  644. char *yytext_r;
  645. int yy_more_flag;
  646. int yy_more_len;
  647. }; /* end struct yyguts_t */
  648. /* Accessor methods to globals.
  649. These are made visible to non-reentrant scanners for convenience. */
  650. int cmDependsJava_yylex_destroy (yyscan_t yyscanner );
  651. int cmDependsJava_yyget_debug (yyscan_t yyscanner );
  652. void cmDependsJava_yyset_debug (int debug_flag ,yyscan_t yyscanner );
  653. YY_EXTRA_TYPE cmDependsJava_yyget_extra (yyscan_t yyscanner );
  654. void cmDependsJava_yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
  655. FILE *cmDependsJava_yyget_in (yyscan_t yyscanner );
  656. void cmDependsJava_yyset_in (FILE * in_str ,yyscan_t yyscanner );
  657. FILE *cmDependsJava_yyget_out (yyscan_t yyscanner );
  658. void cmDependsJava_yyset_out (FILE * out_str ,yyscan_t yyscanner );
  659. int cmDependsJava_yyget_leng (yyscan_t yyscanner );
  660. char *cmDependsJava_yyget_text (yyscan_t yyscanner );
  661. int cmDependsJava_yyget_lineno (yyscan_t yyscanner );
  662. void cmDependsJava_yyset_lineno (int line_number ,yyscan_t yyscanner );
  663. /* Macros after this point can all be overridden by user definitions in
  664. * section 1.
  665. */
  666. #ifndef YY_SKIP_YYWRAP
  667. #ifdef __cplusplus
  668. extern "C" int cmDependsJava_yywrap (yyscan_t yyscanner );
  669. #else
  670. extern int cmDependsJava_yywrap (yyscan_t yyscanner );
  671. #endif
  672. #endif
  673. #ifndef yytext_ptr
  674. static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
  675. #endif
  676. #ifdef YY_NEED_STRLEN
  677. static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
  678. #endif
  679. #ifndef YY_NO_INPUT
  680. #ifdef __cplusplus
  681. static int yyinput (yyscan_t yyscanner );
  682. #else
  683. static int input (yyscan_t yyscanner );
  684. #endif
  685. #endif
  686. /* Amount of stuff to slurp up with each read. */
  687. #ifndef YY_READ_BUF_SIZE
  688. #define YY_READ_BUF_SIZE 8192
  689. #endif
  690. /* Copy whatever the last rule matched to the standard output. */
  691. #ifndef ECHO
  692. /* This used to be an fputs(), but since the string might contain NUL's,
  693. * we now use fwrite().
  694. */
  695. #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
  696. #endif
  697. /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  698. * is returned in "result".
  699. */
  700. #ifndef YY_INPUT
  701. #define YY_INPUT(buf,result,max_size) \
  702. if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
  703. { \
  704. int c = '*'; \
  705. size_t n; \
  706. for ( n = 0; n < max_size && \
  707. (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
  708. buf[n] = (char) c; \
  709. if ( c == '\n' ) \
  710. buf[n++] = (char) c; \
  711. if ( c == EOF && ferror( yyin ) ) \
  712. YY_FATAL_ERROR( "input in flex scanner failed" ); \
  713. result = n; \
  714. } \
  715. else \
  716. { \
  717. errno=0; \
  718. while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
  719. { \
  720. if( errno != EINTR) \
  721. { \
  722. YY_FATAL_ERROR( "input in flex scanner failed" ); \
  723. break; \
  724. } \
  725. errno=0; \
  726. clearerr(yyin); \
  727. } \
  728. }\
  729. \
  730. #endif
  731. /* No semi-colon after return; correct usage is to write "yyterminate();" -
  732. * we don't want an extra ';' after the "return" because that will cause
  733. * some compilers to complain about unreachable statements.
  734. */
  735. #ifndef yyterminate
  736. #define yyterminate() return YY_NULL
  737. #endif
  738. /* Number of entries by which start-condition stack grows. */
  739. #ifndef YY_START_STACK_INCR
  740. #define YY_START_STACK_INCR 25
  741. #endif
  742. /* Report a fatal error. */
  743. #ifndef YY_FATAL_ERROR
  744. #define YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner)
  745. #endif
  746. /* end tables serialization structures and prototypes */
  747. /* Default declaration of generated scanner - a define so the user can
  748. * easily add parameters.
  749. */
  750. #ifndef YY_DECL
  751. #define YY_DECL_IS_OURS 1
  752. extern int cmDependsJava_yylex (yyscan_t yyscanner);
  753. #define YY_DECL int cmDependsJava_yylex (yyscan_t yyscanner)
  754. #endif /* !YY_DECL */
  755. /* Code executed at the beginning of each rule, after yytext and yyleng
  756. * have been set up.
  757. */
  758. #ifndef YY_USER_ACTION
  759. #define YY_USER_ACTION
  760. #endif
  761. /* Code executed at the end of each rule. */
  762. #ifndef YY_BREAK
  763. #define YY_BREAK break;
  764. #endif
  765. #define YY_RULE_SETUP \
  766. YY_USER_ACTION
  767. /** The main scanner function which does all the work.
  768. */
  769. YY_DECL
  770. {
  771. register yy_state_type yy_current_state;
  772. register char *yy_cp, *yy_bp;
  773. register int yy_act;
  774. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  775. #line 88 "cmDependsJavaLexer.in.l"
  776. #line 940 "cmDependsJavaLexer.cxx"
  777. if ( yyg->yy_init )
  778. {
  779. yyg->yy_init = 0;
  780. #ifdef YY_USER_INIT
  781. YY_USER_INIT;
  782. #endif
  783. if ( ! yyg->yy_start )
  784. yyg->yy_start = 1; /* first start state */
  785. if ( ! yyin )
  786. yyin = stdin;
  787. if ( ! yyout )
  788. yyout = stdout;
  789. if ( ! YY_CURRENT_BUFFER ) {
  790. cmDependsJava_yyensure_buffer_stack (yyscanner);
  791. YY_CURRENT_BUFFER_LVALUE =
  792. cmDependsJava_yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
  793. }
  794. cmDependsJava_yy_load_buffer_state(yyscanner );
  795. }
  796. while ( 1 ) /* loops until end-of-file is reached */
  797. {
  798. yy_cp = yyg->yy_c_buf_p;
  799. /* Support of yytext. */
  800. *yy_cp = yyg->yy_hold_char;
  801. /* yy_bp points to the position in yy_ch_buf of the start of
  802. * the current run.
  803. */
  804. yy_bp = yy_cp;
  805. yy_current_state = yyg->yy_start;
  806. yy_match:
  807. do
  808. {
  809. register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
  810. if ( yy_accept[yy_current_state] )
  811. {
  812. yyg->yy_last_accepting_state = yy_current_state;
  813. yyg->yy_last_accepting_cpos = yy_cp;
  814. }
  815. while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  816. {
  817. yy_current_state = (int) yy_def[yy_current_state];
  818. if ( yy_current_state >= 327 )
  819. yy_c = yy_meta[(unsigned int) yy_c];
  820. }
  821. yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  822. ++yy_cp;
  823. }
  824. while ( yy_base[yy_current_state] != 414 );
  825. yy_find_action:
  826. yy_act = yy_accept[yy_current_state];
  827. if ( yy_act == 0 )
  828. { /* have to back up */
  829. yy_cp = yyg->yy_last_accepting_cpos;
  830. yy_current_state = yyg->yy_last_accepting_state;
  831. yy_act = yy_accept[yy_current_state];
  832. }
  833. YY_DO_BEFORE_ACTION;
  834. do_action: /* This label is used only to access EOF actions. */
  835. switch ( yy_act )
  836. { /* beginning of action switch */
  837. case 0: /* must back up */
  838. /* undo the effects of YY_DO_BEFORE_ACTION */
  839. *yy_cp = yyg->yy_hold_char;
  840. yy_cp = yyg->yy_last_accepting_cpos;
  841. yy_current_state = yyg->yy_last_accepting_state;
  842. goto yy_find_action;
  843. case 1:
  844. YY_RULE_SETUP
  845. #line 89 "cmDependsJavaLexer.in.l"
  846. { BEGIN(comment); }
  847. YY_BREAK
  848. case 2:
  849. YY_RULE_SETUP
  850. #line 90 "cmDependsJavaLexer.in.l"
  851. { BEGIN(INITIAL); }
  852. YY_BREAK
  853. case 3:
  854. /* rule 3 can match eol */
  855. YY_RULE_SETUP
  856. #line 91 "cmDependsJavaLexer.in.l"
  857. {}
  858. YY_BREAK
  859. case 4:
  860. YY_RULE_SETUP
  861. #line 93 "cmDependsJavaLexer.in.l"
  862. { BEGIN(string); }
  863. YY_BREAK
  864. case 5:
  865. YY_RULE_SETUP
  866. #line 94 "cmDependsJavaLexer.in.l"
  867. { BEGIN(INITIAL); return jp_STRINGLITERAL; }
  868. YY_BREAK
  869. case 6:
  870. YY_RULE_SETUP
  871. #line 95 "cmDependsJavaLexer.in.l"
  872. {}
  873. YY_BREAK
  874. case 7:
  875. YY_RULE_SETUP
  876. #line 97 "cmDependsJavaLexer.in.l"
  877. { KEYWORD; return jp_ABSTRACT; }
  878. YY_BREAK
  879. case 8:
  880. YY_RULE_SETUP
  881. #line 98 "cmDependsJavaLexer.in.l"
  882. { KEYWORD; return jp_ASSERT; }
  883. YY_BREAK
  884. case 9:
  885. YY_RULE_SETUP
  886. #line 99 "cmDependsJavaLexer.in.l"
  887. { KEYWORD; return jp_BOOLEAN_TYPE; }
  888. YY_BREAK
  889. case 10:
  890. YY_RULE_SETUP
  891. #line 100 "cmDependsJavaLexer.in.l"
  892. { KEYWORD; return jp_BREAK; }
  893. YY_BREAK
  894. case 11:
  895. YY_RULE_SETUP
  896. #line 101 "cmDependsJavaLexer.in.l"
  897. { KEYWORD; return jp_BYTE_TYPE; }
  898. YY_BREAK
  899. case 12:
  900. YY_RULE_SETUP
  901. #line 102 "cmDependsJavaLexer.in.l"
  902. { KEYWORD; return jp_CASE; }
  903. YY_BREAK
  904. case 13:
  905. YY_RULE_SETUP
  906. #line 103 "cmDependsJavaLexer.in.l"
  907. { KEYWORD; return jp_CATCH; }
  908. YY_BREAK
  909. case 14:
  910. YY_RULE_SETUP
  911. #line 104 "cmDependsJavaLexer.in.l"
  912. { KEYWORD; return jp_CHAR_TYPE; }
  913. YY_BREAK
  914. case 15:
  915. YY_RULE_SETUP
  916. #line 105 "cmDependsJavaLexer.in.l"
  917. { KEYWORD; return jp_CLASS; }
  918. YY_BREAK
  919. case 16:
  920. YY_RULE_SETUP
  921. #line 106 "cmDependsJavaLexer.in.l"
  922. { KEYWORD; return jp_CONTINUE; }
  923. YY_BREAK
  924. case 17:
  925. YY_RULE_SETUP
  926. #line 107 "cmDependsJavaLexer.in.l"
  927. { KEYWORD; return jp_DEFAULT; }
  928. YY_BREAK
  929. case 18:
  930. YY_RULE_SETUP
  931. #line 108 "cmDependsJavaLexer.in.l"
  932. { KEYWORD; return jp_DO; }
  933. YY_BREAK
  934. case 19:
  935. YY_RULE_SETUP
  936. #line 109 "cmDependsJavaLexer.in.l"
  937. { KEYWORD; return jp_DOUBLE_TYPE; }
  938. YY_BREAK
  939. case 20:
  940. YY_RULE_SETUP
  941. #line 110 "cmDependsJavaLexer.in.l"
  942. { KEYWORD; return jp_ELSE; }
  943. YY_BREAK
  944. case 21:
  945. YY_RULE_SETUP
  946. #line 111 "cmDependsJavaLexer.in.l"
  947. { KEYWORD; return jp_EXTENDS; }
  948. YY_BREAK
  949. case 22:
  950. YY_RULE_SETUP
  951. #line 112 "cmDependsJavaLexer.in.l"
  952. { KEYWORD; return jp_FINAL; }
  953. YY_BREAK
  954. case 23:
  955. YY_RULE_SETUP
  956. #line 113 "cmDependsJavaLexer.in.l"
  957. { KEYWORD; return jp_FINALLY; }
  958. YY_BREAK
  959. case 24:
  960. YY_RULE_SETUP
  961. #line 114 "cmDependsJavaLexer.in.l"
  962. { KEYWORD; return jp_FLOAT_TYPE; }
  963. YY_BREAK
  964. case 25:
  965. YY_RULE_SETUP
  966. #line 115 "cmDependsJavaLexer.in.l"
  967. { KEYWORD; return jp_FOR; }
  968. YY_BREAK
  969. case 26:
  970. YY_RULE_SETUP
  971. #line 116 "cmDependsJavaLexer.in.l"
  972. { KEYWORD; return jp_IF; }
  973. YY_BREAK
  974. case 27:
  975. YY_RULE_SETUP
  976. #line 117 "cmDependsJavaLexer.in.l"
  977. { KEYWORD; return jp_IMPLEMENTS; }
  978. YY_BREAK
  979. case 28:
  980. YY_RULE_SETUP
  981. #line 118 "cmDependsJavaLexer.in.l"
  982. { KEYWORD; return jp_IMPORT; }
  983. YY_BREAK
  984. case 29:
  985. YY_RULE_SETUP
  986. #line 119 "cmDependsJavaLexer.in.l"
  987. { KEYWORD; return jp_INSTANCEOF; }
  988. YY_BREAK
  989. case 30:
  990. YY_RULE_SETUP
  991. #line 120 "cmDependsJavaLexer.in.l"
  992. { KEYWORD; return jp_INT_TYPE; }
  993. YY_BREAK
  994. case 31:
  995. YY_RULE_SETUP
  996. #line 121 "cmDependsJavaLexer.in.l"
  997. { KEYWORD; return jp_INTERFACE; }
  998. YY_BREAK
  999. case 32:
  1000. YY_RULE_SETUP
  1001. #line 122 "cmDependsJavaLexer.in.l"
  1002. { KEYWORD; return jp_LONG_TYPE; }
  1003. YY_BREAK
  1004. case 33:
  1005. YY_RULE_SETUP
  1006. #line 123 "cmDependsJavaLexer.in.l"
  1007. { KEYWORD; return jp_NATIVE; }
  1008. YY_BREAK
  1009. case 34:
  1010. YY_RULE_SETUP
  1011. #line 124 "cmDependsJavaLexer.in.l"
  1012. { KEYWORD; return jp_NEW; }
  1013. YY_BREAK
  1014. case 35:
  1015. YY_RULE_SETUP
  1016. #line 125 "cmDependsJavaLexer.in.l"
  1017. { KEYWORD; return jp_PACKAGE; }
  1018. YY_BREAK
  1019. case 36:
  1020. YY_RULE_SETUP
  1021. #line 126 "cmDependsJavaLexer.in.l"
  1022. { KEYWORD; return jp_PRIVATE; }
  1023. YY_BREAK
  1024. case 37:
  1025. YY_RULE_SETUP
  1026. #line 127 "cmDependsJavaLexer.in.l"
  1027. { KEYWORD; return jp_PROTECTED; }
  1028. YY_BREAK
  1029. case 38:
  1030. YY_RULE_SETUP
  1031. #line 128 "cmDependsJavaLexer.in.l"
  1032. { KEYWORD; return jp_PUBLIC; }
  1033. YY_BREAK
  1034. case 39:
  1035. YY_RULE_SETUP
  1036. #line 129 "cmDependsJavaLexer.in.l"
  1037. { KEYWORD; return jp_RETURN; }
  1038. YY_BREAK
  1039. case 40:
  1040. YY_RULE_SETUP
  1041. #line 130 "cmDependsJavaLexer.in.l"
  1042. { KEYWORD; return jp_SHORT_TYPE; }
  1043. YY_BREAK
  1044. case 41:
  1045. YY_RULE_SETUP
  1046. #line 131 "cmDependsJavaLexer.in.l"
  1047. { KEYWORD; return jp_STATIC; }
  1048. YY_BREAK
  1049. case 42:
  1050. YY_RULE_SETUP
  1051. #line 132 "cmDependsJavaLexer.in.l"
  1052. { KEYWORD; return jp_STRICTFP; }
  1053. YY_BREAK
  1054. case 43:
  1055. YY_RULE_SETUP
  1056. #line 133 "cmDependsJavaLexer.in.l"
  1057. { KEYWORD; return jp_SUPER; }
  1058. YY_BREAK
  1059. case 44:
  1060. YY_RULE_SETUP
  1061. #line 134 "cmDependsJavaLexer.in.l"
  1062. { KEYWORD; return jp_SWITCH; }
  1063. YY_BREAK
  1064. case 45:
  1065. YY_RULE_SETUP
  1066. #line 135 "cmDependsJavaLexer.in.l"
  1067. { KEYWORD; return jp_SYNCHRONIZED; }
  1068. YY_BREAK
  1069. case 46:
  1070. YY_RULE_SETUP
  1071. #line 136 "cmDependsJavaLexer.in.l"
  1072. { KEYWORD; return jp_THIS; }
  1073. YY_BREAK
  1074. case 47:
  1075. YY_RULE_SETUP
  1076. #line 137 "cmDependsJavaLexer.in.l"
  1077. { KEYWORD; return jp_THROW; }
  1078. YY_BREAK
  1079. case 48:
  1080. YY_RULE_SETUP
  1081. #line 138 "cmDependsJavaLexer.in.l"
  1082. { KEYWORD; return jp_THROWS; }
  1083. YY_BREAK
  1084. case 49:
  1085. YY_RULE_SETUP
  1086. #line 139 "cmDependsJavaLexer.in.l"
  1087. { KEYWORD; return jp_TRANSIENT; }
  1088. YY_BREAK
  1089. case 50:
  1090. YY_RULE_SETUP
  1091. #line 140 "cmDependsJavaLexer.in.l"
  1092. { KEYWORD; return jp_TRY; }
  1093. YY_BREAK
  1094. case 51:
  1095. YY_RULE_SETUP
  1096. #line 141 "cmDependsJavaLexer.in.l"
  1097. { KEYWORD; return jp_VOID; }
  1098. YY_BREAK
  1099. case 52:
  1100. YY_RULE_SETUP
  1101. #line 142 "cmDependsJavaLexer.in.l"
  1102. { KEYWORD; return jp_VOLATILE; }
  1103. YY_BREAK
  1104. case 53:
  1105. YY_RULE_SETUP
  1106. #line 143 "cmDependsJavaLexer.in.l"
  1107. { KEYWORD; return jp_WHILE; }
  1108. YY_BREAK
  1109. case 54:
  1110. YY_RULE_SETUP
  1111. #line 145 "cmDependsJavaLexer.in.l"
  1112. { PRIMITIVE; return jp_BOOLEANLITERAL; }
  1113. YY_BREAK
  1114. case 55:
  1115. /* rule 55 can match eol */
  1116. YY_RULE_SETUP
  1117. #line 146 "cmDependsJavaLexer.in.l"
  1118. { PRIMITIVE; return jp_CHARACTERLITERAL; }
  1119. YY_BREAK
  1120. case 56:
  1121. YY_RULE_SETUP
  1122. #line 147 "cmDependsJavaLexer.in.l"
  1123. { PRIMITIVE; return jp_DECIMALINTEGERLITERAL; }
  1124. YY_BREAK
  1125. case 57:
  1126. YY_RULE_SETUP
  1127. #line 148 "cmDependsJavaLexer.in.l"
  1128. { PRIMITIVE; return jp_FLOATINGPOINTLITERAL; }
  1129. YY_BREAK
  1130. case 58:
  1131. YY_RULE_SETUP
  1132. #line 149 "cmDependsJavaLexer.in.l"
  1133. { PRIMITIVE; return jp_HEXINTEGERLITERAL; }
  1134. YY_BREAK
  1135. case 59:
  1136. YY_RULE_SETUP
  1137. #line 150 "cmDependsJavaLexer.in.l"
  1138. { PRIMITIVE; return jp_NULLLITERAL; }
  1139. YY_BREAK
  1140. case 60:
  1141. YY_RULE_SETUP
  1142. #line 152 "cmDependsJavaLexer.in.l"
  1143. { SYMBOL; return jp_AND; }
  1144. YY_BREAK
  1145. case 61:
  1146. YY_RULE_SETUP
  1147. #line 153 "cmDependsJavaLexer.in.l"
  1148. { SYMBOL; return jp_ANDAND; }
  1149. YY_BREAK
  1150. case 62:
  1151. YY_RULE_SETUP
  1152. #line 154 "cmDependsJavaLexer.in.l"
  1153. { SYMBOL; return jp_ANDEQUALS; }
  1154. YY_BREAK
  1155. case 63:
  1156. YY_RULE_SETUP
  1157. #line 155 "cmDependsJavaLexer.in.l"
  1158. { SYMBOL; return jp_BRACKETEND; }
  1159. YY_BREAK
  1160. case 64:
  1161. YY_RULE_SETUP
  1162. #line 156 "cmDependsJavaLexer.in.l"
  1163. { SYMBOL; return jp_BRACKETSTART; }
  1164. YY_BREAK
  1165. case 65:
  1166. YY_RULE_SETUP
  1167. #line 157 "cmDependsJavaLexer.in.l"
  1168. { SYMBOL; return jp_CARROT; }
  1169. YY_BREAK
  1170. case 66:
  1171. YY_RULE_SETUP
  1172. #line 158 "cmDependsJavaLexer.in.l"
  1173. { SYMBOL; return jp_CARROTEQUALS; }
  1174. YY_BREAK
  1175. case 67:
  1176. YY_RULE_SETUP
  1177. #line 159 "cmDependsJavaLexer.in.l"
  1178. { SYMBOL; return jp_COLON; }
  1179. YY_BREAK
  1180. case 68:
  1181. YY_RULE_SETUP
  1182. #line 160 "cmDependsJavaLexer.in.l"
  1183. { SYMBOL; return jp_COMMA; }
  1184. YY_BREAK
  1185. case 69:
  1186. YY_RULE_SETUP
  1187. #line 161 "cmDependsJavaLexer.in.l"
  1188. { SYMBOL; return jp_CURLYEND; }
  1189. YY_BREAK
  1190. case 70:
  1191. YY_RULE_SETUP
  1192. #line 162 "cmDependsJavaLexer.in.l"
  1193. { SYMBOL; return jp_CURLYSTART; }
  1194. YY_BREAK
  1195. case 71:
  1196. YY_RULE_SETUP
  1197. #line 163 "cmDependsJavaLexer.in.l"
  1198. { SYMBOL; return jp_DIVIDE; }
  1199. YY_BREAK
  1200. case 72:
  1201. YY_RULE_SETUP
  1202. #line 164 "cmDependsJavaLexer.in.l"
  1203. { SYMBOL; return jp_DIVIDEEQUALS; }
  1204. YY_BREAK
  1205. case 73:
  1206. YY_RULE_SETUP
  1207. #line 165 "cmDependsJavaLexer.in.l"
  1208. { SYMBOL; return jp_DOLLAR; }
  1209. YY_BREAK
  1210. case 74:
  1211. YY_RULE_SETUP
  1212. #line 166 "cmDependsJavaLexer.in.l"
  1213. { SYMBOL; return jp_DOT; }
  1214. YY_BREAK
  1215. case 75:
  1216. YY_RULE_SETUP
  1217. #line 167 "cmDependsJavaLexer.in.l"
  1218. { SYMBOL; return jp_EQUALS; }
  1219. YY_BREAK
  1220. case 76:
  1221. YY_RULE_SETUP
  1222. #line 168 "cmDependsJavaLexer.in.l"
  1223. { SYMBOL; return jp_EQUALSEQUALS; }
  1224. YY_BREAK
  1225. case 77:
  1226. YY_RULE_SETUP
  1227. #line 169 "cmDependsJavaLexer.in.l"
  1228. { SYMBOL; return jp_EXCLAMATION; }
  1229. YY_BREAK
  1230. case 78:
  1231. YY_RULE_SETUP
  1232. #line 170 "cmDependsJavaLexer.in.l"
  1233. { SYMBOL; return jp_EXCLAMATIONEQUALS; }
  1234. YY_BREAK
  1235. case 79:
  1236. YY_RULE_SETUP
  1237. #line 171 "cmDependsJavaLexer.in.l"
  1238. { SYMBOL; return jp_GREATER; }
  1239. YY_BREAK
  1240. case 80:
  1241. YY_RULE_SETUP
  1242. #line 172 "cmDependsJavaLexer.in.l"
  1243. { SYMBOL; return jp_GTEQUALS; }
  1244. YY_BREAK
  1245. case 81:
  1246. YY_RULE_SETUP
  1247. #line 173 "cmDependsJavaLexer.in.l"
  1248. { SYMBOL; return jp_GTGT; }
  1249. YY_BREAK
  1250. case 82:
  1251. YY_RULE_SETUP
  1252. #line 174 "cmDependsJavaLexer.in.l"
  1253. { SYMBOL; return jp_GTGTEQUALS; }
  1254. YY_BREAK
  1255. case 83:
  1256. YY_RULE_SETUP
  1257. #line 175 "cmDependsJavaLexer.in.l"
  1258. { SYMBOL; return jp_GTGTGT; }
  1259. YY_BREAK
  1260. case 84:
  1261. YY_RULE_SETUP
  1262. #line 176 "cmDependsJavaLexer.in.l"
  1263. { SYMBOL; return jp_GTGTGTEQUALS; }
  1264. YY_BREAK
  1265. case 85:
  1266. YY_RULE_SETUP
  1267. #line 177 "cmDependsJavaLexer.in.l"
  1268. { SYMBOL; return jp_LESLESEQUALS; }
  1269. YY_BREAK
  1270. case 86:
  1271. YY_RULE_SETUP
  1272. #line 178 "cmDependsJavaLexer.in.l"
  1273. { SYMBOL; return jp_LESSTHAN; }
  1274. YY_BREAK
  1275. case 87:
  1276. YY_RULE_SETUP
  1277. #line 179 "cmDependsJavaLexer.in.l"
  1278. { SYMBOL; return jp_LTEQUALS; }
  1279. YY_BREAK
  1280. case 88:
  1281. YY_RULE_SETUP
  1282. #line 180 "cmDependsJavaLexer.in.l"
  1283. { SYMBOL; return jp_LTLT; }
  1284. YY_BREAK
  1285. case 89:
  1286. YY_RULE_SETUP
  1287. #line 181 "cmDependsJavaLexer.in.l"
  1288. { SYMBOL; return jp_MINUS; }
  1289. YY_BREAK
  1290. case 90:
  1291. YY_RULE_SETUP
  1292. #line 182 "cmDependsJavaLexer.in.l"
  1293. { SYMBOL; return jp_MINUSEQUALS; }
  1294. YY_BREAK
  1295. case 91:
  1296. YY_RULE_SETUP
  1297. #line 183 "cmDependsJavaLexer.in.l"
  1298. { SYMBOL; return jp_MINUSMINUS; }
  1299. YY_BREAK
  1300. case 92:
  1301. YY_RULE_SETUP
  1302. #line 184 "cmDependsJavaLexer.in.l"
  1303. { SYMBOL; return jp_PAREEND; }
  1304. YY_BREAK
  1305. case 93:
  1306. YY_RULE_SETUP
  1307. #line 185 "cmDependsJavaLexer.in.l"
  1308. { SYMBOL; return jp_PARESTART; }
  1309. YY_BREAK
  1310. case 94:
  1311. YY_RULE_SETUP
  1312. #line 186 "cmDependsJavaLexer.in.l"
  1313. { SYMBOL; return jp_PERCENT; }
  1314. YY_BREAK
  1315. case 95:
  1316. YY_RULE_SETUP
  1317. #line 187 "cmDependsJavaLexer.in.l"
  1318. { SYMBOL; return jp_PERCENTEQUALS; }
  1319. YY_BREAK
  1320. case 96:
  1321. YY_RULE_SETUP
  1322. #line 188 "cmDependsJavaLexer.in.l"
  1323. { SYMBOL; return jp_PIPE; }
  1324. YY_BREAK
  1325. case 97:
  1326. YY_RULE_SETUP
  1327. #line 189 "cmDependsJavaLexer.in.l"
  1328. { SYMBOL; return jp_PIPEEQUALS; }
  1329. YY_BREAK
  1330. case 98:
  1331. YY_RULE_SETUP
  1332. #line 190 "cmDependsJavaLexer.in.l"
  1333. { SYMBOL; return jp_PIPEPIPE; }
  1334. YY_BREAK
  1335. case 99:
  1336. YY_RULE_SETUP
  1337. #line 191 "cmDependsJavaLexer.in.l"
  1338. { SYMBOL; return jp_PLUS; }
  1339. YY_BREAK
  1340. case 100:
  1341. YY_RULE_SETUP
  1342. #line 192 "cmDependsJavaLexer.in.l"
  1343. { SYMBOL; return jp_PLUSEQUALS; }
  1344. YY_BREAK
  1345. case 101:
  1346. YY_RULE_SETUP
  1347. #line 193 "cmDependsJavaLexer.in.l"
  1348. { SYMBOL; return jp_PLUSPLUS; }
  1349. YY_BREAK
  1350. case 102:
  1351. YY_RULE_SETUP
  1352. #line 194 "cmDependsJavaLexer.in.l"
  1353. { SYMBOL; return jp_QUESTION; }
  1354. YY_BREAK
  1355. case 103:
  1356. YY_RULE_SETUP
  1357. #line 195 "cmDependsJavaLexer.in.l"
  1358. { SYMBOL; return jp_SEMICOL; }
  1359. YY_BREAK
  1360. case 104:
  1361. YY_RULE_SETUP
  1362. #line 196 "cmDependsJavaLexer.in.l"
  1363. { SYMBOL; return jp_TILDE; }
  1364. YY_BREAK
  1365. case 105:
  1366. YY_RULE_SETUP
  1367. #line 197 "cmDependsJavaLexer.in.l"
  1368. { SYMBOL; return jp_TIMES; }
  1369. YY_BREAK
  1370. case 106:
  1371. YY_RULE_SETUP
  1372. #line 198 "cmDependsJavaLexer.in.l"
  1373. { SYMBOL; return jp_TIMESEQUALS; }
  1374. YY_BREAK
  1375. case 107:
  1376. YY_RULE_SETUP
  1377. #line 200 "cmDependsJavaLexer.in.l"
  1378. {
  1379. yyextra->AllocateParserType(yylvalp, yytext, strlen(yytext));
  1380. return jp_NAME;
  1381. }
  1382. YY_BREAK
  1383. case 108:
  1384. /* rule 108 can match eol */
  1385. YY_RULE_SETUP
  1386. #line 205 "cmDependsJavaLexer.in.l"
  1387. { }
  1388. YY_BREAK
  1389. case 109:
  1390. /* rule 109 can match eol */
  1391. YY_RULE_SETUP
  1392. #line 206 "cmDependsJavaLexer.in.l"
  1393. { }
  1394. YY_BREAK
  1395. case 110:
  1396. YY_RULE_SETUP
  1397. #line 207 "cmDependsJavaLexer.in.l"
  1398. {
  1399. std::cerr << "Unknown character: " << yytext[0]
  1400. << " (" << (int)yytext[0] << ")" << std::endl;
  1401. yyextra->Error("Unknown character");
  1402. return jp_ERROR;
  1403. }
  1404. YY_BREAK
  1405. case 111:
  1406. YY_RULE_SETUP
  1407. #line 214 "cmDependsJavaLexer.in.l"
  1408. ECHO;
  1409. YY_BREAK
  1410. #line 1590 "cmDependsJavaLexer.cxx"
  1411. case YY_STATE_EOF(INITIAL):
  1412. case YY_STATE_EOF(comment):
  1413. case YY_STATE_EOF(string):
  1414. yyterminate();
  1415. case YY_END_OF_BUFFER:
  1416. {
  1417. /* Amount of text matched not including the EOB char. */
  1418. int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
  1419. /* Undo the effects of YY_DO_BEFORE_ACTION. */
  1420. *yy_cp = yyg->yy_hold_char;
  1421. YY_RESTORE_YY_MORE_OFFSET
  1422. if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
  1423. {
  1424. /* We're scanning a new file or input source. It's
  1425. * possible that this happened because the user
  1426. * just pointed yyin at a new source and called
  1427. * cmDependsJava_yylex(). If so, then we have to assure
  1428. * consistency between YY_CURRENT_BUFFER and our
  1429. * globals. Here is the right place to do so, because
  1430. * this is the first action (other than possibly a
  1431. * back-up) that will match for the new input source.
  1432. */
  1433. yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1434. YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
  1435. YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
  1436. }
  1437. /* Note that here we test for yy_c_buf_p "<=" to the position
  1438. * of the first EOB in the buffer, since yy_c_buf_p will
  1439. * already have been incremented past the NUL character
  1440. * (since all states make transitions on EOB to the
  1441. * end-of-buffer state). Contrast this with the test
  1442. * in input().
  1443. */
  1444. if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
  1445. { /* This was really a NUL. */
  1446. yy_state_type yy_next_state;
  1447. yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
  1448. yy_current_state = yy_get_previous_state( yyscanner );
  1449. /* Okay, we're now positioned to make the NUL
  1450. * transition. We couldn't have
  1451. * yy_get_previous_state() go ahead and do it
  1452. * for us because it doesn't know how to deal
  1453. * with the possibility of jamming (and we don't
  1454. * want to build jamming into it because then it
  1455. * will run more slowly).
  1456. */
  1457. yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner);
  1458. yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  1459. if ( yy_next_state )
  1460. {
  1461. /* Consume the NUL. */
  1462. yy_cp = ++yyg->yy_c_buf_p;
  1463. yy_current_state = yy_next_state;
  1464. goto yy_match;
  1465. }
  1466. else
  1467. {
  1468. yy_cp = yyg->yy_c_buf_p;
  1469. goto yy_find_action;
  1470. }
  1471. }
  1472. else switch ( yy_get_next_buffer( yyscanner ) )
  1473. {
  1474. case EOB_ACT_END_OF_FILE:
  1475. {
  1476. yyg->yy_did_buffer_switch_on_eof = 0;
  1477. if ( cmDependsJava_yywrap(yyscanner ) )
  1478. {
  1479. /* Note: because we've taken care in
  1480. * yy_get_next_buffer() to have set up
  1481. * yytext, we can now set up
  1482. * yy_c_buf_p so that if some total
  1483. * hoser (like flex itself) wants to
  1484. * call the scanner after we return the
  1485. * YY_NULL, it'll still work - another
  1486. * YY_NULL will get returned.
  1487. */
  1488. yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
  1489. yy_act = YY_STATE_EOF(YY_START);
  1490. goto do_action;
  1491. }
  1492. else
  1493. {
  1494. if ( ! yyg->yy_did_buffer_switch_on_eof )
  1495. YY_NEW_FILE;
  1496. }
  1497. break;
  1498. }
  1499. case EOB_ACT_CONTINUE_SCAN:
  1500. yyg->yy_c_buf_p =
  1501. yyg->yytext_ptr + yy_amount_of_matched_text;
  1502. yy_current_state = yy_get_previous_state( yyscanner );
  1503. yy_cp = yyg->yy_c_buf_p;
  1504. yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  1505. goto yy_match;
  1506. case EOB_ACT_LAST_MATCH:
  1507. yyg->yy_c_buf_p =
  1508. &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
  1509. yy_current_state = yy_get_previous_state( yyscanner );
  1510. yy_cp = yyg->yy_c_buf_p;
  1511. yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
  1512. goto yy_find_action;
  1513. }
  1514. break;
  1515. }
  1516. default:
  1517. YY_FATAL_ERROR(
  1518. "fatal flex scanner internal error--no action found" );
  1519. } /* end of action switch */
  1520. } /* end of scanning one token */
  1521. } /* end of cmDependsJava_yylex */
  1522. /* yy_get_next_buffer - try to read in a new buffer
  1523. *
  1524. * Returns a code representing an action:
  1525. * EOB_ACT_LAST_MATCH -
  1526. * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  1527. * EOB_ACT_END_OF_FILE - end of file
  1528. */
  1529. static int yy_get_next_buffer (yyscan_t yyscanner)
  1530. {
  1531. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1532. register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
  1533. register char *source = yyg->yytext_ptr;
  1534. register int number_to_move, i;
  1535. int ret_val;
  1536. if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
  1537. YY_FATAL_ERROR(
  1538. "fatal flex scanner internal error--end of buffer missed" );
  1539. if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
  1540. { /* Don't try to fill the buffer, so this is an EOF. */
  1541. if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
  1542. {
  1543. /* We matched a single character, the EOB, so
  1544. * treat this as a final EOF.
  1545. */
  1546. return EOB_ACT_END_OF_FILE;
  1547. }
  1548. else
  1549. {
  1550. /* We matched some text prior to the EOB, first
  1551. * process it.
  1552. */
  1553. return EOB_ACT_LAST_MATCH;
  1554. }
  1555. }
  1556. /* Try to read more data. */
  1557. /* First move last chars to start of buffer. */
  1558. number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr) - 1;
  1559. for ( i = 0; i < number_to_move; ++i )
  1560. *(dest++) = *(source++);
  1561. if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
  1562. /* don't do the read, it's not guaranteed to return an EOF,
  1563. * just force an EOF
  1564. */
  1565. YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
  1566. else
  1567. {
  1568. size_t num_to_read =
  1569. YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
  1570. while ( num_to_read <= 0 )
  1571. { /* Not enough room in the buffer - grow it. */
  1572. /* just a shorter name for the current buffer */
  1573. YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
  1574. int yy_c_buf_p_offset =
  1575. (int) (yyg->yy_c_buf_p - b->yy_ch_buf);
  1576. if ( b->yy_is_our_buffer )
  1577. {
  1578. int new_size = b->yy_buf_size * 2;
  1579. if ( new_size <= 0 )
  1580. b->yy_buf_size += b->yy_buf_size / 8;
  1581. else
  1582. b->yy_buf_size *= 2;
  1583. b->yy_ch_buf = (char *)
  1584. /* Include room in for 2 EOB chars. */
  1585. cmDependsJava_yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ,yyscanner );
  1586. }
  1587. else
  1588. /* Can't grow it, we don't own it. */
  1589. b->yy_ch_buf = 0;
  1590. if ( ! b->yy_ch_buf )
  1591. YY_FATAL_ERROR(
  1592. "fatal error - scanner input buffer overflow" );
  1593. yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
  1594. num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
  1595. number_to_move - 1;
  1596. }
  1597. if ( num_to_read > YY_READ_BUF_SIZE )
  1598. num_to_read = YY_READ_BUF_SIZE;
  1599. /* Read in more data. */
  1600. YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
  1601. yyg->yy_n_chars, num_to_read );
  1602. YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
  1603. }
  1604. if ( yyg->yy_n_chars == 0 )
  1605. {
  1606. if ( number_to_move == YY_MORE_ADJ )
  1607. {
  1608. ret_val = EOB_ACT_END_OF_FILE;
  1609. cmDependsJava_yyrestart(yyin ,yyscanner);
  1610. }
  1611. else
  1612. {
  1613. ret_val = EOB_ACT_LAST_MATCH;
  1614. YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
  1615. YY_BUFFER_EOF_PENDING;
  1616. }
  1617. }
  1618. else
  1619. ret_val = EOB_ACT_CONTINUE_SCAN;
  1620. yyg->yy_n_chars += number_to_move;
  1621. YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
  1622. YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
  1623. yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
  1624. return ret_val;
  1625. }
  1626. /* yy_get_previous_state - get the state just before the EOB char was reached */
  1627. static yy_state_type yy_get_previous_state (yyscan_t yyscanner)
  1628. {
  1629. register yy_state_type yy_current_state;
  1630. register char *yy_cp;
  1631. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1632. yy_current_state = yyg->yy_start;
  1633. for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
  1634. {
  1635. register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
  1636. if ( yy_accept[yy_current_state] )
  1637. {
  1638. yyg->yy_last_accepting_state = yy_current_state;
  1639. yyg->yy_last_accepting_cpos = yy_cp;
  1640. }
  1641. while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1642. {
  1643. yy_current_state = (int) yy_def[yy_current_state];
  1644. if ( yy_current_state >= 327 )
  1645. yy_c = yy_meta[(unsigned int) yy_c];
  1646. }
  1647. yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  1648. }
  1649. return yy_current_state;
  1650. }
  1651. /* yy_try_NUL_trans - try to make a transition on the NUL character
  1652. *
  1653. * synopsis
  1654. * next_state = yy_try_NUL_trans( current_state );
  1655. */
  1656. static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state , yyscan_t yyscanner)
  1657. {
  1658. register int yy_is_jam;
  1659. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1660. register char *yy_cp = yyg->yy_c_buf_p;
  1661. register YY_CHAR yy_c = 1;
  1662. if ( yy_accept[yy_current_state] )
  1663. {
  1664. yyg->yy_last_accepting_state = yy_current_state;
  1665. yyg->yy_last_accepting_cpos = yy_cp;
  1666. }
  1667. while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
  1668. {
  1669. yy_current_state = (int) yy_def[yy_current_state];
  1670. if ( yy_current_state >= 327 )
  1671. yy_c = yy_meta[(unsigned int) yy_c];
  1672. }
  1673. yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
  1674. yy_is_jam = (yy_current_state == 326);
  1675. return yy_is_jam ? 0 : yy_current_state;
  1676. }
  1677. #ifndef YY_NO_INPUT
  1678. #ifdef __cplusplus
  1679. static int yyinput (yyscan_t yyscanner)
  1680. #else
  1681. static int input (yyscan_t yyscanner)
  1682. #endif
  1683. {
  1684. int c;
  1685. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1686. *yyg->yy_c_buf_p = yyg->yy_hold_char;
  1687. if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
  1688. {
  1689. /* yy_c_buf_p now points to the character we want to return.
  1690. * If this occurs *before* the EOB characters, then it's a
  1691. * valid NUL; if not, then we've hit the end of the buffer.
  1692. */
  1693. if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
  1694. /* This was really a NUL. */
  1695. *yyg->yy_c_buf_p = '\0';
  1696. else
  1697. { /* need more input */
  1698. int offset = yyg->yy_c_buf_p - yyg->yytext_ptr;
  1699. ++yyg->yy_c_buf_p;
  1700. switch ( yy_get_next_buffer( yyscanner ) )
  1701. {
  1702. case EOB_ACT_LAST_MATCH:
  1703. /* This happens because yy_g_n_b()
  1704. * sees that we've accumulated a
  1705. * token and flags that we need to
  1706. * try matching the token before
  1707. * proceeding. But for input(),
  1708. * there's no matching to consider.
  1709. * So convert the EOB_ACT_LAST_MATCH
  1710. * to EOB_ACT_END_OF_FILE.
  1711. */
  1712. /* Reset buffer status. */
  1713. cmDependsJava_yyrestart(yyin ,yyscanner);
  1714. /*FALLTHROUGH*/
  1715. case EOB_ACT_END_OF_FILE:
  1716. {
  1717. if ( cmDependsJava_yywrap(yyscanner ) )
  1718. return EOF;
  1719. if ( ! yyg->yy_did_buffer_switch_on_eof )
  1720. YY_NEW_FILE;
  1721. #ifdef __cplusplus
  1722. return yyinput(yyscanner);
  1723. #else
  1724. return input(yyscanner);
  1725. #endif
  1726. }
  1727. case EOB_ACT_CONTINUE_SCAN:
  1728. yyg->yy_c_buf_p = yyg->yytext_ptr + offset;
  1729. break;
  1730. }
  1731. }
  1732. }
  1733. c = *(unsigned char *) yyg->yy_c_buf_p; /* cast for 8-bit char's */
  1734. *yyg->yy_c_buf_p = '\0'; /* preserve yytext */
  1735. yyg->yy_hold_char = *++yyg->yy_c_buf_p;
  1736. return c;
  1737. }
  1738. #endif /* ifndef YY_NO_INPUT */
  1739. /** Immediately switch to a different input stream.
  1740. * @param input_file A readable stream.
  1741. * @param yyscanner The scanner object.
  1742. * @note This function does not reset the start condition to @c INITIAL .
  1743. */
  1744. void cmDependsJava_yyrestart (FILE * input_file , yyscan_t yyscanner)
  1745. {
  1746. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1747. if ( ! YY_CURRENT_BUFFER ){
  1748. cmDependsJava_yyensure_buffer_stack (yyscanner);
  1749. YY_CURRENT_BUFFER_LVALUE =
  1750. cmDependsJava_yy_create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
  1751. }
  1752. cmDependsJava_yy_init_buffer(YY_CURRENT_BUFFER,input_file ,yyscanner);
  1753. cmDependsJava_yy_load_buffer_state(yyscanner );
  1754. }
  1755. /** Switch to a different input buffer.
  1756. * @param new_buffer The new input buffer.
  1757. * @param yyscanner The scanner object.
  1758. */
  1759. void cmDependsJava_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner)
  1760. {
  1761. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1762. /* TODO. We should be able to replace this entire function body
  1763. * with
  1764. * cmDependsJava_yypop_buffer_state();
  1765. * cmDependsJava_yypush_buffer_state(new_buffer);
  1766. */
  1767. cmDependsJava_yyensure_buffer_stack (yyscanner);
  1768. if ( YY_CURRENT_BUFFER == new_buffer )
  1769. return;
  1770. if ( YY_CURRENT_BUFFER )
  1771. {
  1772. /* Flush out information for old buffer. */
  1773. *yyg->yy_c_buf_p = yyg->yy_hold_char;
  1774. YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
  1775. YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
  1776. }
  1777. YY_CURRENT_BUFFER_LVALUE = new_buffer;
  1778. cmDependsJava_yy_load_buffer_state(yyscanner );
  1779. /* We don't actually know whether we did this switch during
  1780. * EOF (cmDependsJava_yywrap()) processing, but the only time this flag
  1781. * is looked at is after cmDependsJava_yywrap() is called, so it's safe
  1782. * to go ahead and always set it.
  1783. */
  1784. yyg->yy_did_buffer_switch_on_eof = 1;
  1785. }
  1786. static void cmDependsJava_yy_load_buffer_state (yyscan_t yyscanner)
  1787. {
  1788. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1789. yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
  1790. yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
  1791. yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
  1792. yyg->yy_hold_char = *yyg->yy_c_buf_p;
  1793. }
  1794. /** Allocate and initialize an input buffer state.
  1795. * @param file A readable stream.
  1796. * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE.
  1797. * @param yyscanner The scanner object.
  1798. * @return the allocated buffer state.
  1799. */
  1800. YY_BUFFER_STATE cmDependsJava_yy_create_buffer (FILE * file, int size , yyscan_t yyscanner)
  1801. {
  1802. YY_BUFFER_STATE b;
  1803. b = (YY_BUFFER_STATE) cmDependsJava_yyalloc(sizeof( struct yy_buffer_state ) ,yyscanner );
  1804. if ( ! b )
  1805. YY_FATAL_ERROR( "out of dynamic memory in cmDependsJava_yy_create_buffer()" );
  1806. b->yy_buf_size = size;
  1807. /* yy_ch_buf has to be 2 characters longer than the size given because
  1808. * we need to put in 2 end-of-buffer characters.
  1809. */
  1810. b->yy_ch_buf = (char *) cmDependsJava_yyalloc(b->yy_buf_size + 2 ,yyscanner );
  1811. if ( ! b->yy_ch_buf )
  1812. YY_FATAL_ERROR( "out of dynamic memory in cmDependsJava_yy_create_buffer()" );
  1813. b->yy_is_our_buffer = 1;
  1814. cmDependsJava_yy_init_buffer(b,file ,yyscanner);
  1815. return b;
  1816. }
  1817. /** Destroy the buffer.
  1818. * @param b a buffer created with cmDependsJava_yy_create_buffer()
  1819. * @param yyscanner The scanner object.
  1820. */
  1821. void cmDependsJava_yy_delete_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner)
  1822. {
  1823. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1824. if ( ! b )
  1825. return;
  1826. if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */
  1827. YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
  1828. if ( b->yy_is_our_buffer )
  1829. cmDependsJava_yyfree((void *) b->yy_ch_buf ,yyscanner );
  1830. cmDependsJava_yyfree((void *) b ,yyscanner );
  1831. }
  1832. #ifndef __cplusplus
  1833. extern int isatty (int );
  1834. #endif /* __cplusplus */
  1835. /* Initializes or reinitializes a buffer.
  1836. * This function is sometimes called more than once on the same buffer,
  1837. * such as during a cmDependsJava_yyrestart() or at EOF.
  1838. */
  1839. static void cmDependsJava_yy_init_buffer (YY_BUFFER_STATE b, FILE * file , yyscan_t yyscanner)
  1840. {
  1841. int oerrno = errno;
  1842. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1843. cmDependsJava_yy_flush_buffer(b ,yyscanner);
  1844. b->yy_input_file = file;
  1845. b->yy_fill_buffer = 1;
  1846. /* If b is the current buffer, then cmDependsJava_yy_init_buffer was _probably_
  1847. * called from cmDependsJava_yyrestart() or through yy_get_next_buffer.
  1848. * In that case, we don't want to reset the lineno or column.
  1849. */
  1850. if (b != YY_CURRENT_BUFFER){
  1851. b->yy_bs_lineno = 1;
  1852. b->yy_bs_column = 0;
  1853. }
  1854. b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
  1855. errno = oerrno;
  1856. }
  1857. /** Discard all buffered characters. On the next scan, YY_INPUT will be called.
  1858. * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER.
  1859. * @param yyscanner The scanner object.
  1860. */
  1861. void cmDependsJava_yy_flush_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner)
  1862. {
  1863. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1864. if ( ! b )
  1865. return;
  1866. b->yy_n_chars = 0;
  1867. /* We always need two end-of-buffer characters. The first causes
  1868. * a transition to the end-of-buffer state. The second causes
  1869. * a jam in that state.
  1870. */
  1871. b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
  1872. b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
  1873. b->yy_buf_pos = &b->yy_ch_buf[0];
  1874. b->yy_at_bol = 1;
  1875. b->yy_buffer_status = YY_BUFFER_NEW;
  1876. if ( b == YY_CURRENT_BUFFER )
  1877. cmDependsJava_yy_load_buffer_state(yyscanner );
  1878. }
  1879. /** Pushes the new state onto the stack. The new state becomes
  1880. * the current state. This function will allocate the stack
  1881. * if necessary.
  1882. * @param new_buffer The new state.
  1883. * @param yyscanner The scanner object.
  1884. */
  1885. void cmDependsJava_yypush_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner)
  1886. {
  1887. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1888. if (new_buffer == NULL)
  1889. return;
  1890. cmDependsJava_yyensure_buffer_stack(yyscanner);
  1891. /* This block is copied from cmDependsJava_yy_switch_to_buffer. */
  1892. if ( YY_CURRENT_BUFFER )
  1893. {
  1894. /* Flush out information for old buffer. */
  1895. *yyg->yy_c_buf_p = yyg->yy_hold_char;
  1896. YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
  1897. YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
  1898. }
  1899. /* Only push if top exists. Otherwise, replace top. */
  1900. if (YY_CURRENT_BUFFER)
  1901. yyg->yy_buffer_stack_top++;
  1902. YY_CURRENT_BUFFER_LVALUE = new_buffer;
  1903. /* copied from cmDependsJava_yy_switch_to_buffer. */
  1904. cmDependsJava_yy_load_buffer_state(yyscanner );
  1905. yyg->yy_did_buffer_switch_on_eof = 1;
  1906. }
  1907. /** Removes and deletes the top of the stack, if present.
  1908. * The next element becomes the new top.
  1909. * @param yyscanner The scanner object.
  1910. */
  1911. void cmDependsJava_yypop_buffer_state (yyscan_t yyscanner)
  1912. {
  1913. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1914. if (!YY_CURRENT_BUFFER)
  1915. return;
  1916. cmDependsJava_yy_delete_buffer(YY_CURRENT_BUFFER ,yyscanner);
  1917. YY_CURRENT_BUFFER_LVALUE = NULL;
  1918. if (yyg->yy_buffer_stack_top > 0)
  1919. --yyg->yy_buffer_stack_top;
  1920. if (YY_CURRENT_BUFFER) {
  1921. cmDependsJava_yy_load_buffer_state(yyscanner );
  1922. yyg->yy_did_buffer_switch_on_eof = 1;
  1923. }
  1924. }
  1925. /* Allocates the stack if it does not exist.
  1926. * Guarantees space for at least one push.
  1927. */
  1928. static void cmDependsJava_yyensure_buffer_stack (yyscan_t yyscanner)
  1929. {
  1930. int num_to_alloc;
  1931. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  1932. if (!yyg->yy_buffer_stack) {
  1933. /* First allocation is just for 2 elements, since we don't know if this
  1934. * scanner will even need a stack. We use 2 instead of 1 to avoid an
  1935. * immediate realloc on the next call.
  1936. */
  1937. num_to_alloc = 1;
  1938. yyg->yy_buffer_stack = (struct yy_buffer_state**)cmDependsJava_yyalloc
  1939. (num_to_alloc * sizeof(struct yy_buffer_state*)
  1940. , yyscanner);
  1941. memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*));
  1942. yyg->yy_buffer_stack_max = num_to_alloc;
  1943. yyg->yy_buffer_stack_top = 0;
  1944. return;
  1945. }
  1946. if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
  1947. /* Increase the buffer to prepare for a possible push. */
  1948. int grow_size = 8 /* arbitrary grow size */;
  1949. num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
  1950. yyg->yy_buffer_stack = (struct yy_buffer_state**)cmDependsJava_yyrealloc
  1951. (yyg->yy_buffer_stack,
  1952. num_to_alloc * sizeof(struct yy_buffer_state*)
  1953. , yyscanner);
  1954. /* zero only the new slots.*/
  1955. memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*));
  1956. yyg->yy_buffer_stack_max = num_to_alloc;
  1957. }
  1958. }
  1959. /** Setup the input buffer state to scan directly from a user-specified character buffer.
  1960. * @param base the character buffer
  1961. * @param size the size in bytes of the character buffer
  1962. * @param yyscanner The scanner object.
  1963. * @return the newly allocated buffer state object.
  1964. */
  1965. YY_BUFFER_STATE cmDependsJava_yy_scan_buffer (char * base, yy_size_t size , yyscan_t yyscanner)
  1966. {
  1967. YY_BUFFER_STATE b;
  1968. if ( size < 2 ||
  1969. base[size-2] != YY_END_OF_BUFFER_CHAR ||
  1970. base[size-1] != YY_END_OF_BUFFER_CHAR )
  1971. /* They forgot to leave room for the EOB's. */
  1972. return 0;
  1973. b = (YY_BUFFER_STATE) cmDependsJava_yyalloc(sizeof( struct yy_buffer_state ) ,yyscanner );
  1974. if ( ! b )
  1975. YY_FATAL_ERROR( "out of dynamic memory in cmDependsJava_yy_scan_buffer()" );
  1976. b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
  1977. b->yy_buf_pos = b->yy_ch_buf = base;
  1978. b->yy_is_our_buffer = 0;
  1979. b->yy_input_file = 0;
  1980. b->yy_n_chars = b->yy_buf_size;
  1981. b->yy_is_interactive = 0;
  1982. b->yy_at_bol = 1;
  1983. b->yy_fill_buffer = 0;
  1984. b->yy_buffer_status = YY_BUFFER_NEW;
  1985. cmDependsJava_yy_switch_to_buffer(b ,yyscanner );
  1986. return b;
  1987. }
  1988. /** Setup the input buffer state to scan a string. The next call to cmDependsJava_yylex() will
  1989. * scan from a @e copy of @a str.
  1990. * @param str a NUL-terminated string to scan
  1991. * @param yyscanner The scanner object.
  1992. * @return the newly allocated buffer state object.
  1993. * @note If you want to scan bytes that may contain NUL values, then use
  1994. * cmDependsJava_yy_scan_bytes() instead.
  1995. */
  1996. YY_BUFFER_STATE cmDependsJava_yy_scan_string (yyconst char * yy_str , yyscan_t yyscanner)
  1997. {
  1998. return cmDependsJava_yy_scan_bytes(yy_str,strlen(yy_str) ,yyscanner);
  1999. }
  2000. /** Setup the input buffer state to scan the given bytes. The next call to cmDependsJava_yylex() will
  2001. * scan from a @e copy of @a bytes.
  2002. * @param bytes the byte buffer to scan
  2003. * @param len the number of bytes in the buffer pointed to by @a bytes.
  2004. * @param yyscanner The scanner object.
  2005. * @return the newly allocated buffer state object.
  2006. */
  2007. YY_BUFFER_STATE cmDependsJava_yy_scan_bytes (yyconst char * bytes, int len , yyscan_t yyscanner)
  2008. {
  2009. YY_BUFFER_STATE b;
  2010. char *buf;
  2011. yy_size_t n;
  2012. int i;
  2013. /* Get memory for full buffer, including space for trailing EOB's. */
  2014. n = len + 2;
  2015. buf = (char *) cmDependsJava_yyalloc(n ,yyscanner );
  2016. if ( ! buf )
  2017. YY_FATAL_ERROR( "out of dynamic memory in cmDependsJava_yy_scan_bytes()" );
  2018. for ( i = 0; i < len; ++i )
  2019. buf[i] = bytes[i];
  2020. buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
  2021. b = cmDependsJava_yy_scan_buffer(buf,n ,yyscanner);
  2022. if ( ! b )
  2023. YY_FATAL_ERROR( "bad buffer in cmDependsJava_yy_scan_bytes()" );
  2024. /* It's okay to grow etc. this buffer, and we should throw it
  2025. * away when we're done.
  2026. */
  2027. b->yy_is_our_buffer = 1;
  2028. return b;
  2029. }
  2030. #ifndef YY_EXIT_FAILURE
  2031. #define YY_EXIT_FAILURE 2
  2032. #endif
  2033. static void yy_fatal_error (yyconst char* msg , yyscan_t)
  2034. {
  2035. (void) fprintf( stderr, "%s\n", msg );
  2036. exit( YY_EXIT_FAILURE );
  2037. }
  2038. /* Redefine yyless() so it works in section 3 code. */
  2039. #undef yyless
  2040. #define yyless(n) \
  2041. do \
  2042. { \
  2043. /* Undo effects of setting up yytext. */ \
  2044. int yyless_macro_arg = (n); \
  2045. YY_LESS_LINENO(yyless_macro_arg);\
  2046. yytext[yyleng] = yyg->yy_hold_char; \
  2047. yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
  2048. yyg->yy_hold_char = *yyg->yy_c_buf_p; \
  2049. *yyg->yy_c_buf_p = '\0'; \
  2050. yyleng = yyless_macro_arg; \
  2051. } \
  2052. while ( 0 )
  2053. /* Accessor methods (get/set functions) to struct members. */
  2054. /** Get the user-defined data for this scanner.
  2055. * @param yyscanner The scanner object.
  2056. */
  2057. YY_EXTRA_TYPE cmDependsJava_yyget_extra (yyscan_t yyscanner)
  2058. {
  2059. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2060. return yyextra;
  2061. }
  2062. /** Get the current line number.
  2063. * @param yyscanner The scanner object.
  2064. */
  2065. int cmDependsJava_yyget_lineno (yyscan_t yyscanner)
  2066. {
  2067. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2068. if (! YY_CURRENT_BUFFER)
  2069. return 0;
  2070. return yylineno;
  2071. }
  2072. /** Get the current column number.
  2073. * @param yyscanner The scanner object.
  2074. */
  2075. int cmDependsJava_yyget_column (yyscan_t yyscanner)
  2076. {
  2077. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2078. if (! YY_CURRENT_BUFFER)
  2079. return 0;
  2080. return yycolumn;
  2081. }
  2082. /** Get the input stream.
  2083. * @param yyscanner The scanner object.
  2084. */
  2085. FILE *cmDependsJava_yyget_in (yyscan_t yyscanner)
  2086. {
  2087. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2088. return yyin;
  2089. }
  2090. /** Get the output stream.
  2091. * @param yyscanner The scanner object.
  2092. */
  2093. FILE *cmDependsJava_yyget_out (yyscan_t yyscanner)
  2094. {
  2095. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2096. return yyout;
  2097. }
  2098. /** Get the length of the current token.
  2099. * @param yyscanner The scanner object.
  2100. */
  2101. int cmDependsJava_yyget_leng (yyscan_t yyscanner)
  2102. {
  2103. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2104. return yyleng;
  2105. }
  2106. /** Get the current token.
  2107. * @param yyscanner The scanner object.
  2108. */
  2109. char *cmDependsJava_yyget_text (yyscan_t yyscanner)
  2110. {
  2111. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2112. return yytext;
  2113. }
  2114. /** Set the user-defined data. This data is never touched by the scanner.
  2115. * @param user_defined The data to be associated with this scanner.
  2116. * @param yyscanner The scanner object.
  2117. */
  2118. void cmDependsJava_yyset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner)
  2119. {
  2120. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2121. yyextra = user_defined ;
  2122. }
  2123. /** Set the current line number.
  2124. * @param line_number
  2125. * @param yyscanner The scanner object.
  2126. */
  2127. void cmDependsJava_yyset_lineno (int line_number , yyscan_t yyscanner)
  2128. {
  2129. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2130. /* lineno is only valid if an input buffer exists. */
  2131. if (! YY_CURRENT_BUFFER )
  2132. yy_fatal_error( "cmDependsJava_yyset_lineno called with no buffer" , yyscanner);
  2133. yylineno = line_number;
  2134. }
  2135. /** Set the current column.
  2136. * @param line_number
  2137. * @param yyscanner The scanner object.
  2138. */
  2139. void cmDependsJava_yyset_column (int column_no , yyscan_t yyscanner)
  2140. {
  2141. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2142. /* column is only valid if an input buffer exists. */
  2143. if (! YY_CURRENT_BUFFER )
  2144. yy_fatal_error( "cmDependsJava_yyset_column called with no buffer" , yyscanner);
  2145. yycolumn = column_no;
  2146. }
  2147. /** Set the input stream. This does not discard the current
  2148. * input buffer.
  2149. * @param in_str A readable stream.
  2150. * @param yyscanner The scanner object.
  2151. * @see cmDependsJava_yy_switch_to_buffer
  2152. */
  2153. void cmDependsJava_yyset_in (FILE * in_str , yyscan_t yyscanner)
  2154. {
  2155. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2156. yyin = in_str ;
  2157. }
  2158. void cmDependsJava_yyset_out (FILE * out_str , yyscan_t yyscanner)
  2159. {
  2160. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2161. yyout = out_str ;
  2162. }
  2163. int cmDependsJava_yyget_debug (yyscan_t yyscanner)
  2164. {
  2165. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2166. return yy_flex_debug;
  2167. }
  2168. void cmDependsJava_yyset_debug (int bdebug , yyscan_t yyscanner)
  2169. {
  2170. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2171. yy_flex_debug = bdebug ;
  2172. }
  2173. /* Accessor methods for yylval and yylloc */
  2174. static int yy_init_globals (yyscan_t yyscanner)
  2175. {
  2176. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2177. /* Initialization is the same as for the non-reentrant scanner.
  2178. This function is called once per scanner lifetime. */
  2179. yyg->yy_buffer_stack = 0;
  2180. yyg->yy_buffer_stack_top = 0;
  2181. yyg->yy_buffer_stack_max = 0;
  2182. yyg->yy_c_buf_p = (char *) 0;
  2183. yyg->yy_init = 1;
  2184. yyg->yy_start = 0;
  2185. yyg->yy_start_stack_ptr = 0;
  2186. yyg->yy_start_stack_depth = 0;
  2187. yyg->yy_start_stack = (int *) 0;
  2188. /* Defined in main.c */
  2189. #ifdef YY_STDINIT
  2190. yyin = stdin;
  2191. yyout = stdout;
  2192. #else
  2193. yyin = (FILE *) 0;
  2194. yyout = (FILE *) 0;
  2195. #endif
  2196. /* For future reference: Set errno on error, since we are called by
  2197. * cmDependsJava_yylex_init()
  2198. */
  2199. return 0;
  2200. }
  2201. /* User-visible API */
  2202. /* cmDependsJava_yylex_init is special because it creates the scanner itself, so it is
  2203. * the ONLY reentrant function that doesn't take the scanner as the last argument.
  2204. * That's why we explicitly handle the declaration, instead of using our macros.
  2205. */
  2206. int cmDependsJava_yylex_init(yyscan_t* ptr_yy_globals)
  2207. {
  2208. if (ptr_yy_globals == NULL){
  2209. errno = EINVAL;
  2210. return 1;
  2211. }
  2212. *ptr_yy_globals = (yyscan_t) cmDependsJava_yyalloc ( sizeof( struct yyguts_t ), NULL );
  2213. if (*ptr_yy_globals == NULL){
  2214. errno = ENOMEM;
  2215. return 1;
  2216. }
  2217. memset(*ptr_yy_globals,0,sizeof(struct yyguts_t));
  2218. return yy_init_globals ( *ptr_yy_globals );
  2219. }
  2220. /* cmDependsJava_yylex_destroy is for both reentrant and non-reentrant scanners. */
  2221. int cmDependsJava_yylex_destroy (yyscan_t yyscanner)
  2222. {
  2223. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2224. /* Pop the buffer stack, destroying each element. */
  2225. while(YY_CURRENT_BUFFER){
  2226. cmDependsJava_yy_delete_buffer(YY_CURRENT_BUFFER ,yyscanner );
  2227. YY_CURRENT_BUFFER_LVALUE = NULL;
  2228. cmDependsJava_yypop_buffer_state(yyscanner);
  2229. }
  2230. /* Destroy the stack itself. */
  2231. cmDependsJava_yyfree(yyg->yy_buffer_stack ,yyscanner);
  2232. yyg->yy_buffer_stack = NULL;
  2233. /* Destroy the start condition stack. */
  2234. cmDependsJava_yyfree(yyg->yy_start_stack ,yyscanner );
  2235. yyg->yy_start_stack = NULL;
  2236. /* Destroy the main struct (reentrant only). */
  2237. cmDependsJava_yyfree ( yyscanner , yyscanner );
  2238. return 0;
  2239. }
  2240. /*
  2241. * Internal utility routines.
  2242. */
  2243. #ifndef yytext_ptr
  2244. static void yy_flex_strncpy (char* s1, yyconst char * s2, int n , yyscan_t yyscanner)
  2245. {
  2246. register int i;
  2247. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2248. for ( i = 0; i < n; ++i )
  2249. s1[i] = s2[i];
  2250. }
  2251. #endif
  2252. #ifdef YY_NEED_STRLEN
  2253. static int yy_flex_strlen (yyconst char * s , yyscan_t yyscanner)
  2254. {
  2255. register int n;
  2256. struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
  2257. for ( n = 0; s[n]; ++n )
  2258. ;
  2259. return n;
  2260. }
  2261. #endif
  2262. void *cmDependsJava_yyalloc (yy_size_t size , yyscan_t)
  2263. {
  2264. return (void *) malloc( size );
  2265. }
  2266. void *cmDependsJava_yyrealloc (void * ptr, yy_size_t size , yyscan_t)
  2267. {
  2268. /* The cast to (char *) in the following accommodates both
  2269. * implementations that use char* generic pointers, and those
  2270. * that use void* generic pointers. It works with the latter
  2271. * because both ANSI C and C++ allow castless assignment from
  2272. * any pointer type to void*, and deal with argument conversions
  2273. * as though doing an assignment.
  2274. */
  2275. return (void *) realloc( (char *) ptr, size );
  2276. }
  2277. void cmDependsJava_yyfree (void * ptr , yyscan_t)
  2278. {
  2279. free( (char *) ptr ); /* see cmDependsJava_yyrealloc() for (char *) cast */
  2280. }
  2281. #define YYTABLES_NAME "yytables"
  2282. #undef YY_NEW_FILE
  2283. #undef YY_FLUSH_BUFFER
  2284. #undef yy_set_bol
  2285. #undef yy_new_buffer
  2286. #undef yy_set_interactive
  2287. #undef yytext_ptr
  2288. #undef YY_DO_BEFORE_ACTION
  2289. #ifdef YY_DECL_IS_OURS
  2290. #undef YY_DECL_IS_OURS
  2291. #undef YY_DECL
  2292. #endif
  2293. #line 214 "cmDependsJavaLexer.in.l"