cmDependsJavaLexer.cxx 77 KB

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