LCOV - code coverage report
Current view: top level - workdir/unxlngi6.pro/LexTarget/l10ntools/source - xrmlex.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 401 0.0 %
Date: 2012-08-25 Functions: 0 35 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

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

Generated by: LCOV version 1.10