domnode-xml-scanner.h 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882
  1. #ifndef __sd_domnode_xml_HEADER_H
  2. #define __sd_domnode_xml_HEADER_H 1
  3. #define __sd_domnode_xml_IN_HEADER 1
  4. #define YY_REENTRANT 1
  5. #define YY_BISON_BRIDGE 1
  6. #ifndef YY_REENTRANT
  7. #define yytext __sd_domnode_xml_text
  8. #define yyleng __sd_domnode_xml_leng
  9. #define yyin __sd_domnode_xml_in
  10. #define yyout __sd_domnode_xml_out
  11. #define yy_flex_debug __sd_domnode_xml__flex_debug
  12. #endif
  13. #define yy_create_buffer __sd_domnode_xml__create_buffer
  14. #define yy_delete_buffer __sd_domnode_xml__delete_buffer
  15. #define yy_scan_buffer __sd_domnode_xml__scan_buffer
  16. #define yy_scan_string __sd_domnode_xml__scan_string
  17. #define yy_scan_bytes __sd_domnode_xml__scan_bytes
  18. #define yy_init_buffer __sd_domnode_xml__init_buffer
  19. #define yy_flush_buffer __sd_domnode_xml__flush_buffer
  20. #define yy_load_buffer_state __sd_domnode_xml__load_buffer_state
  21. #define yy_switch_to_buffer __sd_domnode_xml__switch_to_buffer
  22. #define yylex __sd_domnode_xml_lex
  23. #define yyrestart __sd_domnode_xml_restart
  24. #define yylex_init __sd_domnode_xml_lex_init
  25. #define yylex_destroy __sd_domnode_xml_lex_destroy
  26. #define yyget_debug __sd_domnode_xml_get_debug
  27. #define yyset_debug __sd_domnode_xml_set_debug
  28. #define yyget_extra __sd_domnode_xml_get_extra
  29. #define yyset_extra __sd_domnode_xml_set_extra
  30. #define yyget_in __sd_domnode_xml_get_in
  31. #define yyset_in __sd_domnode_xml_set_in
  32. #define yyget_out __sd_domnode_xml_get_out
  33. #define yyset_out __sd_domnode_xml_set_out
  34. #define yyget_leng __sd_domnode_xml_get_leng
  35. #define yyget_text __sd_domnode_xml_get_text
  36. #define yyget_lineno __sd_domnode_xml_get_lineno
  37. #define yyset_lineno __sd_domnode_xml_set_lineno
  38. #ifdef YY_BISON_BRIDGE
  39. #define yyget_lval __sd_domnode_xml_get_lval
  40. #define yyset_lval __sd_domnode_xml_set_lval
  41. #define yyget_lloc __sd_domnode_xml_get_lloc
  42. #define yyset_lloc __sd_domnode_xml_set_lloc
  43. #endif
  44. #define yyalloc __sd_domnode_xml_alloc
  45. #define yyrealloc __sd_domnode_xml_realloc
  46. #define yyfree __sd_domnode_xml_free
  47. #line 50 "domnode-xml-scanner.h"
  48. #define YY_INT_ALIGNED short int
  49. /* A lexical scanner generated by flex */
  50. #define FLEX_SCANNER
  51. #define YY_FLEX_MAJOR_VERSION 2
  52. #define YY_FLEX_MINOR_VERSION 5
  53. #define YY_FLEX_SUBMINOR_VERSION 27
  54. #if YY_FLEX_SUBMINOR_VERSION > 0
  55. #define FLEX_BETA
  56. #endif
  57. /* First, we deal with platform-specific or compiler-specific issues. */
  58. /* begin standard C headers. */
  59. #include <stdio.h>
  60. #include <string.h>
  61. #include <errno.h>
  62. #include <stdlib.h>
  63. /* end standard C headers. */
  64. #include <sd/sd_xplatform.h>
  65. /* flex integer type definitions */
  66. #ifndef FLEXINT_H
  67. #define FLEXINT_H
  68. /* C99 systems have <inttypes.h>. Non-C99 systems may or may not. */
  69. #if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
  70. #include <inttypes.h>
  71. typedef int8_t flex_int8_t;
  72. typedef uint8_t flex_uint8_t;
  73. typedef int16_t flex_int16_t;
  74. typedef uint16_t flex_uint16_t;
  75. typedef int32_t flex_int32_t;
  76. typedef uint32_t flex_uint32_t;
  77. #else
  78. typedef signed char flex_int8_t;
  79. typedef short int flex_int16_t;
  80. typedef int flex_int32_t;
  81. typedef unsigned char flex_uint8_t;
  82. typedef unsigned short int flex_uint16_t;
  83. typedef unsigned int flex_uint32_t;
  84. #endif /* ! C99 */
  85. /* Limits of integral types. */
  86. #ifndef INT8_MIN
  87. #define INT8_MIN (-128)
  88. #endif
  89. #ifndef INT16_MIN
  90. #define INT16_MIN (-32767-1)
  91. #endif
  92. #ifndef INT32_MIN
  93. #define INT32_MIN (-2147483647-1)
  94. #endif
  95. #ifndef INT8_MAX
  96. #define INT8_MAX (127)
  97. #endif
  98. #ifndef INT16_MAX
  99. #define INT16_MAX (32767)
  100. #endif
  101. #ifndef INT32_MAX
  102. #define INT32_MAX (2147483647)
  103. #endif
  104. #ifndef UINT8_MAX
  105. #define UINT8_MAX (255U)
  106. #endif
  107. #ifndef UINT16_MAX
  108. #define UINT16_MAX (65535U)
  109. #endif
  110. #ifndef UINT32_MAX
  111. #define UINT32_MAX (4294967295U)
  112. #endif
  113. #endif /* ! FLEXINT_H */
  114. #ifdef __cplusplus
  115. /* C++ compilers don't understand traditional function definitions. */
  116. #ifdef YY_TRADITIONAL_FUNC_DEFS
  117. #undef YY_TRADITIONAL_FUNC_DEFS
  118. #endif
  119. /* The "const" storage-class-modifier is valid. */
  120. #define YY_USE_CONST
  121. #else /* ! __cplusplus */
  122. /* We're not in a C++ compiler, so by default,
  123. we generate C99 function defs, unless you explicitly ask
  124. for traditional defs by defining YY_TRADITIONAL_FUNC_DEFS */
  125. #if __STDC__
  126. #define YY_USE_CONST
  127. #endif /* __STDC__ */
  128. #endif /* ! __cplusplus */
  129. #ifdef YY_USE_CONST
  130. #define yyconst const
  131. #else
  132. #define yyconst
  133. #endif
  134. /* For compilers that can't handle prototypes.
  135. * e.g.,
  136. * The function prototype
  137. * int foo(int x, char* y);
  138. *
  139. * ...should be written as
  140. * int foo YY_PARAMS((int x, char* y));
  141. *
  142. * ...which could possibly generate
  143. * int foo ();
  144. */
  145. #ifdef YY_NO_PROTOS
  146. #define YY_PARAMS(proto) ()
  147. #else
  148. #define YY_PARAMS(proto) proto
  149. #endif
  150. /* Returned upon end-of-file. */
  151. #define YY_NULL 0
  152. /* Promotes a possibly negative, possibly signed char to an unsigned
  153. * integer for use as an array index. If the signed char is negative,
  154. * we want to instead treat it as an 8-bit unsigned char, hence the
  155. * double cast.
  156. */
  157. #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
  158. /* An opaque pointer. */
  159. #ifndef YY_TYPEDEF_YY_SCANNER_T
  160. #define YY_TYPEDEF_YY_SCANNER_T
  161. typedef void* yyscan_t;
  162. #endif
  163. /* For use wherever a Global is accessed or assigned. */
  164. #define YY_G(var) (((struct yyguts_t*)yyscanner)->var)
  165. /* For use in function prototypes to append the additional argument. */
  166. #define YY_PROTO_LAST_ARG , yyscan_t yyscanner
  167. #define YY_PROTO_ONLY_ARG yyscan_t yyscanner
  168. /* For use in function definitions to append the additional argument. */
  169. #ifdef YY_TRADITIONAL_FUNC_DEFS
  170. #define YY_DEF_LAST_ARG , yyscanner
  171. #define YY_DEF_ONLY_ARG yyscanner
  172. #else
  173. #define YY_DEF_LAST_ARG , yyscan_t yyscanner
  174. #define YY_DEF_ONLY_ARG yyscan_t yyscanner
  175. #endif
  176. #define YY_DECL_LAST_ARG yyscan_t yyscanner;
  177. /* For use in function calls to pass the additional argument. */
  178. #define YY_CALL_LAST_ARG , yyscanner
  179. #define YY_CALL_ONLY_ARG yyscanner
  180. /* For convenience, these vars (plus the bison vars far below)
  181. are macros in the reentrant scanner. */
  182. #define yyin YY_G(yyin_r)
  183. #define yyout YY_G(yyout_r)
  184. #define yyextra YY_G(yyextra_r)
  185. #define yyleng YY_G(yyleng_r)
  186. #define yytext YY_G(yytext_r)
  187. #define yylineno YY_G(yylineno_r)
  188. #define yy_flex_debug YY_G(yy_flex_debug_r)
  189. int yylex_init YY_PARAMS((yyscan_t* scanner));
  190. /* For compilers that need traditional function definitions.
  191. * e.g.,
  192. * The function prototype taking 2 arguments
  193. * int foo (int x, char* y)
  194. *
  195. * ...should be written as
  196. * int foo YYFARGS2(int,x, char*,y)
  197. *
  198. * ...which could possibly generate
  199. * int foo (x,y,yyscanner)
  200. * int x;
  201. * char * y;
  202. * yyscan_t yyscanner;
  203. */
  204. #ifdef YY_TRADITIONAL_FUNC_DEFS
  205. /* Generate traditional function defs */
  206. #define YYFARGS0(v) (YY_DEF_ONLY_ARG) YY_DECL_LAST_ARG
  207. #define YYFARGS1(t1,n1) (n1 YY_DEF_LAST_ARG) t1 n1; YY_DECL_LAST_ARG
  208. #define YYFARGS2(t1,n1,t2,n2) (n1,n2 YY_DEF_LAST_ARG) t1 n1; t2 n2; YY_DECL_LAST_ARG
  209. #define YYFARGS3(t1,n1,t2,n2,t3,n3) (n1,n2,n3 YY_DEF_LAST_ARG) t1 n1; t2 n2; t3 n3; YY_DECL_LAST_ARG
  210. #else
  211. /* Generate C99 function defs. */
  212. #define YYFARGS0(v) (YY_DEF_ONLY_ARG)
  213. #define YYFARGS1(t1,n1) (t1 n1 YY_DEF_LAST_ARG)
  214. #define YYFARGS2(t1,n1,t2,n2) (t1 n1,t2 n2 YY_DEF_LAST_ARG)
  215. #define YYFARGS3(t1,n1,t2,n2,t3,n3) (t1 n1,t2 n2,t3 n3 YY_DEF_LAST_ARG)
  216. #endif
  217. /* Enter a start condition. This macro really ought to take a parameter,
  218. * but we do it the disgusting crufty way forced on us by the ()-less
  219. * definition of BEGIN.
  220. */
  221. #define BEGIN YY_G(yy_start) = 1 + 2 *
  222. /* Translate the current start state into a value that can be later handed
  223. * to BEGIN to return to the state. The YYSTATE alias is for lex
  224. * compatibility.
  225. */
  226. #define YY_START ((YY_G(yy_start) - 1) / 2)
  227. #define YYSTATE YY_START
  228. /* Action number for EOF rule of a given start state. */
  229. #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
  230. /* Special action meaning "start processing a new file". */
  231. #define YY_NEW_FILE yyrestart( yyin YY_CALL_LAST_ARG )
  232. #define YY_END_OF_BUFFER_CHAR 0
  233. /* Size of default input buffer. */
  234. #ifndef YY_BUF_SIZE
  235. #define YY_BUF_SIZE 16384
  236. #endif
  237. #ifndef YY_TYPEDEF_YY_BUFFER_STATE
  238. #define YY_TYPEDEF_YY_BUFFER_STATE
  239. typedef struct yy_buffer_state *YY_BUFFER_STATE;
  240. #endif
  241. #define EOB_ACT_CONTINUE_SCAN 0
  242. #define EOB_ACT_END_OF_FILE 1
  243. #define EOB_ACT_LAST_MATCH 2
  244. #ifdef YY_USE_LINENO
  245. /* Note: We specifically omit the test for yy_rule_can_match_eol because it requires
  246. * access to the local variable yy_act. Since yyless() is a macro, it would break
  247. * existing scanners that call yyless() from OUTSIDE yylex.
  248. * One obvious solution it to make yy_act a global. I tried that, and saw
  249. * a 5% performance hit in a non-yylineno scanner, because yy_act is
  250. * normally declared as a register variable-- so it's not worth it.
  251. */
  252. #define YY_LESS_LINENO(n) \
  253. do { \
  254. int yyl;\
  255. for ( yyl = n; yyl < yyleng; ++yyl )\
  256. if ( yytext[yyl] == '\n' )\
  257. --yylineno;\
  258. }while(0)
  259. #else
  260. #define YY_LESS_LINENO(n)
  261. #endif
  262. /* The funky do-while in the following #define is used to turn the definition
  263. * int a single C statement (which needs a semi-colon terminator). This
  264. * avoids problems with code like:
  265. *
  266. * if ( condition_holds )
  267. * yyless( 5 );
  268. * else
  269. * do_something_else();
  270. *
  271. * Prior to using the do-while the compiler would get upset at the
  272. * "else" because it interpreted the "if" statement as being all
  273. * done when it reached the ';' after the yyless() call.
  274. */
  275. /* Return all but the first 'n' matched characters back to the input stream. */
  276. #define yyless(n) \
  277. do \
  278. { \
  279. /* Undo effects of setting up yytext. */ \
  280. int yyless_macro_arg = (n); \
  281. YY_LESS_LINENO(yyless_macro_arg);\
  282. *yy_cp = YY_G(yy_hold_char); \
  283. YY_RESTORE_YY_MORE_OFFSET \
  284. YY_G(yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
  285. YY_DO_BEFORE_ACTION; /* set up yytext again */ \
  286. } \
  287. while ( 0 )
  288. #define unput(c) yyunput( c, YY_G(yytext_ptr) YY_CALL_LAST_ARG )
  289. /* The following is because we cannot portably get our hands on size_t
  290. * (without autoconf's help, which isn't available because we want
  291. * flex-generated scanners to compile on their own).
  292. */
  293. #ifndef YY_TYPEDEF_YY_SIZE_T
  294. #define YY_TYPEDEF_YY_SIZE_T
  295. typedef unsigned int yy_size_t;
  296. #endif
  297. #ifndef YY_STRUCT_YY_BUFFER_STATE
  298. #define YY_STRUCT_YY_BUFFER_STATE
  299. struct yy_buffer_state
  300. {
  301. FILE *yy_input_file;
  302. char *yy_ch_buf; /* input buffer */
  303. char *yy_buf_pos; /* current position in input buffer */
  304. /* Size of input buffer in bytes, not including room for EOB
  305. * characters.
  306. */
  307. yy_size_t yy_buf_size;
  308. /* Number of characters read into yy_ch_buf, not including EOB
  309. * characters.
  310. */
  311. int yy_n_chars;
  312. /* Whether we "own" the buffer - i.e., we know we created it,
  313. * and can realloc() it to grow it, and should free() it to
  314. * delete it.
  315. */
  316. int yy_is_our_buffer;
  317. /* Whether this is an "interactive" input source; if so, and
  318. * if we're using stdio for input, then we want to use getc()
  319. * instead of fread(), to make sure we stop fetching input after
  320. * each newline.
  321. */
  322. int yy_is_interactive;
  323. /* Whether we're considered to be at the beginning of a line.
  324. * If so, '^' rules will be active on the next match, otherwise
  325. * not.
  326. */
  327. int yy_at_bol;
  328. /* Whether to try to fill the input buffer when we reach the
  329. * end of it.
  330. */
  331. int yy_fill_buffer;
  332. int yy_buffer_status;
  333. #define YY_BUFFER_NEW 0
  334. #define YY_BUFFER_NORMAL 1
  335. /* When an EOF's been seen but there's still some text to process
  336. * then we mark the buffer as YY_EOF_PENDING, to indicate that we
  337. * shouldn't try reading from the input source any more. We might
  338. * still have a bunch of tokens to match, though, because of
  339. * possible backing-up.
  340. *
  341. * When we actually see the EOF, we change the status to "new"
  342. * (via yyrestart()), so that the user can continue scanning by
  343. * just pointing yyin at a new input file.
  344. */
  345. #define YY_BUFFER_EOF_PENDING 2
  346. };
  347. #endif /* !YY_STRUCT_YY_BUFFER_STATE */
  348. /* We provide macros for accessing buffer states in case in the
  349. * future we want to put the buffer states in a more general
  350. * "scanner state".
  351. */
  352. #define YY_CURRENT_BUFFER yy_current_buffer
  353. void yyrestart YY_PARAMS(( FILE *input_file YY_PROTO_LAST_ARG ));
  354. void yy_switch_to_buffer YY_PARAMS(( YY_BUFFER_STATE new_buffer YY_PROTO_LAST_ARG ));
  355. void yy_load_buffer_state YY_PARAMS(( YY_PROTO_ONLY_ARG ));
  356. YY_BUFFER_STATE yy_create_buffer YY_PARAMS(( FILE *file, int size YY_PROTO_LAST_ARG ));
  357. void yy_delete_buffer YY_PARAMS(( YY_BUFFER_STATE b YY_PROTO_LAST_ARG ));
  358. void yy_init_buffer YY_PARAMS(( YY_BUFFER_STATE b, FILE *file YY_PROTO_LAST_ARG ));
  359. void yy_flush_buffer YY_PARAMS(( YY_BUFFER_STATE b YY_PROTO_LAST_ARG ));
  360. #define YY_FLUSH_BUFFER yy_flush_buffer( YY_G(yy_current_buffer) YY_CALL_LAST_ARG)
  361. YY_BUFFER_STATE yy_scan_buffer YY_PARAMS(( char *base, yy_size_t size YY_PROTO_LAST_ARG ));
  362. YY_BUFFER_STATE yy_scan_string YY_PARAMS(( yyconst char *yy_str YY_PROTO_LAST_ARG ));
  363. YY_BUFFER_STATE yy_scan_bytes YY_PARAMS(( yyconst char *bytes, int len YY_PROTO_LAST_ARG ));
  364. void *yyalloc YY_PARAMS(( yy_size_t YY_PROTO_LAST_ARG ));
  365. void *yyrealloc YY_PARAMS(( void *, yy_size_t YY_PROTO_LAST_ARG ));
  366. void yyfree YY_PARAMS(( void * YY_PROTO_LAST_ARG ));
  367. #define yy_new_buffer yy_create_buffer
  368. #define yy_set_interactive(is_interactive) \
  369. { \
  370. if ( ! YY_G(yy_current_buffer) ) \
  371. YY_G(yy_current_buffer) = \
  372. yy_create_buffer( yyin, YY_BUF_SIZE YY_CALL_LAST_ARG); \
  373. YY_G(yy_current_buffer)->yy_is_interactive = is_interactive; \
  374. }
  375. #define yy_set_bol(at_bol) \
  376. { \
  377. if ( ! YY_G(yy_current_buffer) ) \
  378. YY_G(yy_current_buffer) = \
  379. yy_create_buffer( yyin, YY_BUF_SIZE YY_CALL_LAST_ARG); \
  380. YY_G(yy_current_buffer)->yy_at_bol = at_bol; \
  381. }
  382. #define YY_AT_BOL() (YY_G(yy_current_buffer)->yy_at_bol)
  383. #define yywrap(n) 1
  384. #define YY_SKIP_YYWRAP
  385. #define yytext_ptr yytext_r
  386. /* Done after the current pattern has been matched and before the
  387. * corresponding action - sets up yytext.
  388. */
  389. #define YY_DO_BEFORE_ACTION \
  390. YY_G(yytext_ptr) = yy_bp; \
  391. yyleng = (size_t) (yy_cp - yy_bp); \
  392. YY_G(yy_hold_char) = *yy_cp; \
  393. *yy_cp = '\0'; \
  394. YY_G(yy_c_buf_p) = yy_cp;
  395. /* Special case for "unistd.h", since it is non-ANSI. We include it way
  396. * down here because we want the user's section 1 to have been scanned first.
  397. * The user has a chance to override it with an option.
  398. */
  399. #ifndef YY_NO_UNISTD_H
  400. #include <unistd.h>
  401. #endif /* !YY_NO_UNISTD_H */
  402. #ifndef YY_EXTRA_TYPE
  403. #define YY_EXTRA_TYPE void *
  404. #endif
  405. /* Accessor methods to globals.
  406. These are made visible to non-reentrant scanners for convenience. */
  407. #ifndef YY_NO_DESTROY
  408. int yylex_destroy YY_PARAMS(( YY_PROTO_ONLY_ARG ));
  409. #endif
  410. #ifndef YY_NO_GET_DEBUG
  411. int yyget_debug YY_PARAMS(( YY_PROTO_ONLY_ARG ));
  412. #endif
  413. #ifndef YY_NO_SET_DEBUG
  414. void yyset_debug YY_PARAMS(( int debug_flag YY_PROTO_LAST_ARG ));
  415. #endif
  416. #ifndef YY_NO_GET_EXTRA
  417. YY_EXTRA_TYPE yyget_extra YY_PARAMS(( YY_PROTO_ONLY_ARG ));
  418. #endif
  419. #ifndef YY_NO_SET_EXTRA
  420. void yyset_extra YY_PARAMS(( YY_EXTRA_TYPE user_defined YY_PROTO_LAST_ARG ));
  421. #endif
  422. #ifndef YY_NO_GET_IN
  423. FILE *yyget_in YY_PARAMS(( YY_PROTO_ONLY_ARG ));
  424. #endif
  425. #ifndef YY_NO_SET_IN
  426. void yyset_in YY_PARAMS(( FILE * in_str YY_PROTO_LAST_ARG ));
  427. #endif
  428. #ifndef YY_NO_GET_OUT
  429. FILE *yyget_out YY_PARAMS(( YY_PROTO_ONLY_ARG ));
  430. #endif
  431. #ifndef YY_NO_SET_OUT
  432. void yyset_out YY_PARAMS(( FILE * out_str YY_PROTO_LAST_ARG ));
  433. #endif
  434. #ifndef YY_NO_GET_LENG
  435. int yyget_leng YY_PARAMS(( YY_PROTO_ONLY_ARG ));
  436. #endif
  437. #ifndef YY_NO_GET_TEXT
  438. char *yyget_text YY_PARAMS(( YY_PROTO_ONLY_ARG ));
  439. #endif
  440. #ifndef YY_NO_GET_LINENO
  441. int yyget_lineno YY_PARAMS(( YY_PROTO_ONLY_ARG ));
  442. #endif
  443. #ifndef YY_NO_SET_LINENO
  444. void yyset_lineno YY_PARAMS(( int line_number YY_PROTO_LAST_ARG ));
  445. #endif
  446. #ifndef YY_NO_GET_LVAL
  447. YYSTYPE * yyget_lval YY_PARAMS(( YY_PROTO_ONLY_ARG ));
  448. #endif
  449. void yyset_lval YY_PARAMS(( YYSTYPE * yylvalp YY_PROTO_LAST_ARG ));
  450. #if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
  451. #ifndef YY_NO_GET_LLOC
  452. YYLTYPE *yyget_lloc YY_PARAMS(( YY_PROTO_ONLY_ARG ));
  453. #endif
  454. #ifndef YY_NO_SET_LLOC
  455. void yyset_lloc YY_PARAMS(( YYLTYPE * yyllocp YY_PROTO_LAST_ARG ));
  456. #endif
  457. #endif /* YYLTYPE */
  458. /* Macros after this point can all be overridden by user definitions in
  459. * section 1.
  460. */
  461. #ifndef YY_SKIP_YYWRAP
  462. #ifdef __cplusplus
  463. extern "C" int yywrap YY_PARAMS(( YY_PROTO_ONLY_ARG ));
  464. #else
  465. extern int yywrap YY_PARAMS(( YY_PROTO_ONLY_ARG ));
  466. #endif
  467. #endif
  468. #ifndef yytext_ptr
  469. static void yy_flex_strncpy YY_PARAMS(( char *, yyconst char *, int YY_PROTO_LAST_ARG));
  470. #endif
  471. #ifdef YY_NEED_STRLEN
  472. static int yy_flex_strlen YY_PARAMS(( yyconst char * YY_PROTO_LAST_ARG));
  473. #endif
  474. #ifndef YY_NO_INPUT
  475. #endif
  476. #if YY_STACK_USED
  477. #ifndef YY_NO_PUSH_STATE
  478. static void yy_push_state YY_PARAMS(( int new_state YY_PROTO_LAST_ARG));
  479. #endif
  480. #ifndef YY_NO_POP_STATE
  481. static void yy_pop_state YY_PARAMS(( YY_PROTO_ONLY_ARG ));
  482. #endif
  483. #ifndef YY_NO_TOP_STATE
  484. static int yy_top_state YY_PARAMS(( YY_PROTO_ONLY_ARG ));
  485. #endif
  486. #else
  487. #define YY_NO_PUSH_STATE 1
  488. #define YY_NO_POP_STATE 1
  489. #define YY_NO_TOP_STATE 1
  490. #endif
  491. /* Amount of stuff to slurp up with each read. */
  492. #ifndef YY_READ_BUF_SIZE
  493. #define YY_READ_BUF_SIZE 8192
  494. #endif
  495. /* Copy whatever the last rule matched to the standard output. */
  496. #ifndef ECHO
  497. /* This used to be an fputs(), but since the string might contain NUL's,
  498. * we now use fwrite().
  499. */
  500. #define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
  501. #endif
  502. /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
  503. * is returned in "result".
  504. */
  505. #ifndef YY_INPUT
  506. #define YY_INPUT(buf,result,max_size) \
  507. errno=0; \
  508. while ( (result = read( fileno(yyin), (char *) buf, max_size )) < 0 ) \
  509. { \
  510. if( errno != EINTR) \
  511. { \
  512. YY_FATAL_ERROR( "input in flex scanner failed" ); \
  513. break; \
  514. } \
  515. errno=0; \
  516. clearerr(yyin); \
  517. }
  518. \
  519. #endif
  520. /* No semi-colon after return; correct usage is to write "yyterminate();" -
  521. * we don't want an extra ';' after the "return" because that will cause
  522. * some compilers to complain about unreachable statements.
  523. */
  524. #ifndef yyterminate
  525. #define yyterminate() return YY_NULL
  526. #endif
  527. /* Number of entries by which start-condition stack grows. */
  528. #ifndef YY_START_STACK_INCR
  529. #define YY_START_STACK_INCR 25
  530. #endif
  531. /* Report a fatal error. */
  532. #ifndef YY_FATAL_ERROR
  533. #define YY_FATAL_ERROR(msg) yy_fatal_error( msg YY_CALL_LAST_ARG)
  534. #endif
  535. /* Default declaration of generated scanner - a define so the user can
  536. * easily add parameters.
  537. */
  538. #ifndef YY_DECL
  539. /* If the bison pure parser is used, then bison will provide
  540. one or two additional arguments. */
  541. # if defined(YYLTYPE) || defined(YYLTYPE_IS_DECLARED)
  542. # define YY_LEX_PROTO YY_PARAMS((YYSTYPE * yylvalp, YYLTYPE * yyllocp YY_PROTO_LAST_ARG))
  543. # define YY_LEX_DECLARATION YYFARGS2(YYSTYPE *,yylvalp, YYLTYPE *,yyllocp)
  544. # else
  545. # define YY_LEX_PROTO YY_PARAMS((YYSTYPE * yylvalp YY_PROTO_LAST_ARG))
  546. # define YY_LEX_DECLARATION YYFARGS1(YYSTYPE *,yylvalp)
  547. # endif
  548. extern int yylex YY_LEX_PROTO;
  549. #define YY_DECL int yylex YY_LEX_DECLARATION
  550. #endif
  551. /* Code executed at the beginning of each rule, after yytext and yyleng
  552. * have been set up.
  553. */
  554. #ifndef YY_USER_ACTION
  555. #define YY_USER_ACTION
  556. #endif
  557. /* Code executed at the end of each rule. */
  558. #ifndef YY_BREAK
  559. #define YY_BREAK break;
  560. #endif
  561. #define YY_RULE_SETUP \
  562. YY_USER_ACTION
  563. /* yy_get_next_buffer - try to read in a new buffer
  564. *
  565. * Returns a code representing an action:
  566. * EOB_ACT_LAST_MATCH -
  567. * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
  568. * EOB_ACT_END_OF_FILE - end of file
  569. */
  570. /* yy_get_previous_state - get the state just before the EOB char was reached */
  571. #line 135 "../../../src/sd/domnode-xml-scanner.l"
  572. #line 719 "domnode-xml-scanner.h"
  573. #ifdef YY_HEADER_EXPORT_START_CONDITIONS
  574. /* Beware! Start conditions are not prefixed. */
  575. #undef INITIAL
  576. #define INITIAL 0
  577. #define CONTENT 1
  578. #endif /* YY_HEADER_EXPORT_START_CONDITIONS */
  579. #ifndef YY_HEADER_NO_UNDEFS
  580. /* Undefine all internal macros, etc., that do no belong in the header. */
  581. #undef BEGIN
  582. #undef ECHO
  583. #undef EOB_ACT_CONTINUE_SCAN
  584. #undef EOB_ACT_END_OF_FILE
  585. #undef EOB_ACT_LAST_MATCH
  586. #undef FLEX_SCANNER
  587. #undef FLEX_STD
  588. #undef REJECT
  589. #undef YYLMAX
  590. #undef YYSTATE
  591. #undef YY_AT_BOL
  592. #undef YY_BREAK
  593. #undef YY_BUFFER_EOF_PENDING
  594. #undef YY_BUFFER_NEW
  595. #undef YY_BUFFER_NORMAL
  596. #undef YY_BUF_SIZE
  597. #undef YY_CALL_LAST_ARG
  598. #undef YY_CALL_ONLY_ARG
  599. #undef YY_CURRENT_BUFFER
  600. #undef YY_DECL
  601. #undef YY_DECL_LAST_ARG
  602. #undef YY_DO_BEFORE_ACTION
  603. #undef YY_END_OF_BUFFER
  604. #undef YY_END_OF_BUFFER_CHAR
  605. #undef YY_EXIT_FAILURE
  606. #undef YY_EXTRA_TYPE
  607. #undef YY_FATAL_ERROR
  608. #undef YY_FLEX_DEFINED_ECHO
  609. #undef YY_FLEX_LEX_COMPAT
  610. #undef YY_FLEX_MAJOR_VERSION
  611. #undef YY_FLEX_MINOR_VERSION
  612. #undef YY_FLUSH_BUFFER
  613. #undef YY_G
  614. #undef YY_INPUT
  615. #undef YY_INT_ALIGNED
  616. #undef YY_INTERACTIVE
  617. #undef YY_LAST_ARG
  618. #undef YY_LEX_ARGS
  619. #undef YY_MAIN
  620. #undef YY_MORE_ADJ
  621. #undef YY_NEED_STRLEN
  622. #undef YY_NEW_FILE
  623. #undef YY_NO_FLEX_ALLOC
  624. #undef YY_NO_FLEX_REALLOC
  625. #undef YY_NO_FLEX_FREE
  626. #undef YY_NO_GET_DEBUG
  627. #undef YY_NO_GET_EXTRA
  628. #undef YY_NO_GET_IN
  629. #undef YY_NO_GET_LENG
  630. #undef YY_NO_GET_LINENO
  631. #undef YY_NO_GET_LLOC
  632. #undef YY_NO_GET_LVAL
  633. #undef YY_NO_GET_OUT
  634. #undef YY_NO_GET_TEXT
  635. #undef YY_NO_INPUT
  636. #undef YY_NO_POP_STATE
  637. #undef YY_NO_PUSH_STATE
  638. #undef YY_NO_SCAN_BUFFER
  639. #undef YY_NO_SCAN_BYTES
  640. #undef YY_NO_SCAN_STRING
  641. #undef YY_NO_SET_DEBUG
  642. #undef YY_NO_SET_EXTRA
  643. #undef YY_NO_SET_IN
  644. #undef YY_NO_SET_LINENO
  645. #undef YY_NO_SET_LLOC
  646. #undef YY_NO_SET_LVAL
  647. #undef YY_NO_SET_OUT
  648. #undef YY_NO_TOP_STATE
  649. #undef YY_NO_UNISTD_H
  650. #undef YY_NO_UNPUT
  651. #undef YY_NULL
  652. #undef YY_NUM_RULES
  653. #undef YY_ONLY_ARG
  654. #undef YY_PROTO
  655. #undef YY_READ_BUF_SIZE
  656. #undef YY_REENTRANT
  657. #undef YY_BISON_BRIDGE
  658. #undef YY_RESTORE_YY_MORE_OFFSET
  659. #undef YY_RULE_SETUP
  660. #undef YY_SC_TO_UI
  661. #undef YY_SKIP_YYWRAP
  662. #undef YY_STACK_USED
  663. #undef YY_START
  664. #undef YY_START_STACK_INCR
  665. #undef YY_STATE_EOF
  666. #undef YY_STDINIT
  667. #undef YY_TEXT_IS_ARRAY
  668. #undef YY_TRAILING_HEAD_MASK
  669. #undef YY_TRAILING_MASK
  670. #undef YY_USER_ACTION
  671. #undef YY_USES_REJECT
  672. #undef YY_USE_CONST
  673. #undef YY_USE_LINENO
  674. #undef YY_USE_PROTOS
  675. #undef unput
  676. #undef yy_create_buffer
  677. #undef yy_delete_buffer
  678. #undef yy_flex_debug
  679. #undef yy_flush_buffer
  680. #undef yy_init_buffer
  681. #undef yy_load_buffer_state
  682. #undef yy_new_buffer
  683. #undef yy_scan_buffer
  684. #undef yy_scan_bytes
  685. #undef yy_scan_string
  686. #undef yy_set_bol
  687. #undef yy_set_interactive
  688. #undef yy_switch_to_buffer
  689. #undef yyconst
  690. #undef yyextra
  691. #undef yyget_debug
  692. #undef yyset_debug
  693. #undef yyget_extra
  694. #undef yyget_in
  695. #undef yyget_leng
  696. #undef yyget_lineno
  697. #undef yyget_lloc
  698. #undef yyget_lval
  699. #undef yyget_out
  700. #undef yyget_text
  701. #undef yyin
  702. #undef yyleng
  703. #undef yyless
  704. #undef yylex
  705. #undef yylex_destroy
  706. #undef yylex_init
  707. #undef yylineno
  708. #undef yylloc
  709. #undef yylval
  710. #undef yymore
  711. #undef yyout
  712. #undef yyrestart
  713. #undef yyset_extra
  714. #undef yyset_in
  715. #undef yyset_lineno
  716. #undef yyset_lloc
  717. #undef yyset_lval
  718. #undef yyset_out
  719. #undef yyterminate
  720. #undef yytext
  721. #undef yytext_ptr
  722. #undef yywrap
  723. #undef yyalloc
  724. #undef yyrealloc
  725. #undef yyfree
  726. #undef YY_NEVER_INTERACTIVE
  727. #undef YY_NO_UNPUT
  728. #undef YY_TABLES_VERIFY
  729. #endif /* !YY_HEADER_NO_UNDEFS */
  730. #undef __sd_domnode_xml_IN_HEADER
  731. #endif /* __sd_domnode_xml_HEADER_H */