#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
-#define YY_FLEX_MINOR_VERSION 6
-#define YY_FLEX_SUBMINOR_VERSION 0
+#define YY_FLEX_MINOR_VERSION 5
+#define YY_FLEX_SUBMINOR_VERSION 39
#if YY_FLEX_SUBMINOR_VERSION > 0
#define FLEX_BETA
#endif
/* Size of default input buffer. */
#ifndef YY_BUF_SIZE
-#ifdef __ia64__
-/* On IA-64, the buffer size is 16k, not 8k.
- * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case.
- * Ditto for the __ia64__ case accordingly.
- */
-#define YY_BUF_SIZE 32768
-#else
#define YY_BUF_SIZE 16384
-#endif /* __ia64__ */
#endif
/* The state buf must be large enough to hold one state per character in the main buffer.
/* Number of characters read into yy_ch_buf, not including EOB
* characters.
*/
- int yy_n_chars;
+ yy_size_t yy_n_chars;
/* Whether we "own" the buffer - i.e., we know we created it,
* and can realloc() it to grow it, and should free() it to
/* yy_hold_char holds the character lost when yytext is formed. */
static char yy_hold_char;
-static int yy_n_chars; /* number of characters read into yy_ch_buf */
+static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */
yy_size_t yyleng;
/* Points to current character in buffer. */
int yylineno = 1;
extern char *yytext;
-#ifdef yytext_ptr
-#undef yytext_ptr
-#endif
#define yytext_ptr yytext
static yy_state_type yy_get_previous_state (void );
static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
static int yy_get_next_buffer (void );
-#if defined(__GNUC__) && __GNUC__ >= 3
-__attribute__((__noreturn__))
-#endif
static void yy_fatal_error (yyconst char msg[] );
/* Done after the current pattern has been matched and before the
978, 978, 978, 978, 978, 979, 979
} ;
-static yyconst YY_CHAR yy_ec[256] =
+static yyconst flex_int32_t yy_ec[256] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
4, 4, 4, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1
} ;
-static yyconst YY_CHAR yy_meta[85] =
+static yyconst flex_int32_t yy_meta[85] =
{ 0,
1, 2, 3, 1, 2, 1, 1, 1, 1, 1,
1, 4, 1, 1, 1, 5, 1, 1, 1, 6,
1, 1, 1, 1
} ;
-static yyconst flex_uint16_t yy_base[704] =
+static yyconst flex_int16_t yy_base[704] =
{ 0,
0, 0, 1173, 1174, 83, 0, 1141, 79, 84, 59,
82, 82, 1174, 1174, 1140, 79, 1174, 80, 78, 95,
676, 676, 676
} ;
-static yyconst flex_uint16_t yy_nxt[1259] =
+static yyconst flex_int16_t yy_nxt[1259] =
{ 0,
4, 5, 6, 5, 5, 7, 8, 9, 10, 11,
12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
-#line 1 "giscanner/scannerlexer.l"
+#line 1 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
/* -*- Mode: C -*-
* GObject introspection: C lexer
*
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#line 32 "giscanner/scannerlexer.l"
+#line 32 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
#include <ctype.h>
#include <stdio.h>
#include <string.h>
static int check_identifier (GISourceScanner *scanner, const char *);
static int parse_ignored_macro (void);
static void print_error (GISourceScanner *scanner);
-#line 1149 "scannerlexer.c"
+#line 1135 "scannerlexer.c"
#define INITIAL 0
FILE *yyget_in (void );
-void yyset_in (FILE * _in_str );
+void yyset_in (FILE * in_str );
FILE *yyget_out (void );
-void yyset_out (FILE * _out_str );
+void yyset_out (FILE * out_str );
yy_size_t yyget_leng (void );
int yyget_lineno (void );
-void yyset_lineno (int _line_number );
+void yyset_lineno (int line_number );
/* Macros after this point can all be overridden by user definitions in
* section 1.
#endif
#endif
-#ifndef YY_NO_UNPUT
-
-#endif
-
#ifndef yytext_ptr
static void yy_flex_strncpy (char *,yyconst char *,int );
#endif
/* Amount of stuff to slurp up with each read. */
#ifndef YY_READ_BUF_SIZE
-#ifdef __ia64__
-/* On IA-64, the buffer size is 16k, not 8k */
-#define YY_READ_BUF_SIZE 16384
-#else
#define YY_READ_BUF_SIZE 8192
-#endif /* __ia64__ */
#endif
/* Copy whatever the last rule matched to the standard output. */
/* Code executed at the end of each rule. */
#ifndef YY_BREAK
-#define YY_BREAK /*LINTED*/break;
+#define YY_BREAK break;
#endif
#define YY_RULE_SETUP \
*/
YY_DECL
{
- yy_state_type yy_current_state;
- char *yy_cp, *yy_bp;
- int yy_act;
+ register yy_state_type yy_current_state;
+ register char *yy_cp, *yy_bp;
+ register int yy_act;
if ( !(yy_init) )
{
}
{
-#line 73 "giscanner/scannerlexer.l"
+#line 73 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
-#line 1374 "scannerlexer.c"
+#line 1351 "scannerlexer.c"
- while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
+ while ( 1 ) /* loops until end-of-file is reached */
{
yy_cp = (yy_c_buf_p);
yy_match:
do
{
- YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
+ register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ;
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
case 1:
/* rule 1 can match eol */
YY_RULE_SETUP
-#line 75 "giscanner/scannerlexer.l"
+#line 75 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ strncpy(linebuf, yytext+1, sizeof(linebuf)); /* save the next line */
linebuf[sizeof(linebuf)-1]='\0';
/* printf("%4d:%s\n",lineno,linebuf); */
case 2:
/* rule 2 can match eol */
YY_RULE_SETUP
-#line 81 "giscanner/scannerlexer.l"
+#line 81 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ ++lineno; }
YY_BREAK
case 3:
YY_RULE_SETUP
-#line 83 "giscanner/scannerlexer.l"
+#line 83 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ /* Ignore whitespace. */ }
YY_BREAK
case 4:
YY_RULE_SETUP
-#line 85 "giscanner/scannerlexer.l"
+#line 85 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ parse_comment(scanner); }
YY_BREAK
case 5:
YY_RULE_SETUP
-#line 86 "giscanner/scannerlexer.l"
+#line 86 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ parse_trigraph(scanner); }
YY_BREAK
case 6:
YY_RULE_SETUP
-#line 87 "giscanner/scannerlexer.l"
+#line 87 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ /* Ignore C++ style comments. */ }
YY_BREAK
case 7:
YY_RULE_SETUP
-#line 89 "giscanner/scannerlexer.l"
+#line 89 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ yyless (yyleng - 1); return FUNCTION_MACRO; }
YY_BREAK
case 8:
YY_RULE_SETUP
-#line 90 "giscanner/scannerlexer.l"
+#line 90 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return OBJECT_MACRO; }
YY_BREAK
case 9:
/* rule 9 can match eol */
YY_RULE_SETUP
-#line 91 "giscanner/scannerlexer.l"
+#line 91 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ ++lineno; return IFDEF_GI_SCANNER; }
YY_BREAK
case 10:
/* rule 10 can match eol */
YY_RULE_SETUP
-#line 92 "giscanner/scannerlexer.l"
+#line 92 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ ++lineno; return IFNDEF_GI_SCANNER; }
YY_BREAK
case 11:
/* rule 11 can match eol */
YY_RULE_SETUP
-#line 93 "giscanner/scannerlexer.l"
+#line 93 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ ++lineno; return IFNDEF_COND; }
YY_BREAK
case 12:
/* rule 12 can match eol */
YY_RULE_SETUP
-#line 94 "giscanner/scannerlexer.l"
+#line 94 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ ++lineno; return IFDEF_COND; }
YY_BREAK
case 13:
/* rule 13 can match eol */
YY_RULE_SETUP
-#line 95 "giscanner/scannerlexer.l"
+#line 95 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ ++lineno; return IF_COND; }
YY_BREAK
case 14:
/* rule 14 can match eol */
YY_RULE_SETUP
-#line 96 "giscanner/scannerlexer.l"
+#line 96 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ ++lineno; return ELIF_COND; }
YY_BREAK
case 15:
/* rule 15 can match eol */
YY_RULE_SETUP
-#line 97 "giscanner/scannerlexer.l"
+#line 97 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ ++lineno; return ELSE_COND; }
YY_BREAK
case 16:
/* rule 16 can match eol */
YY_RULE_SETUP
-#line 98 "giscanner/scannerlexer.l"
+#line 98 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ ++lineno; return ENDIF_COND; }
YY_BREAK
case 17:
/* rule 17 can match eol */
YY_RULE_SETUP
-#line 99 "giscanner/scannerlexer.l"
+#line 99 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ ++lineno; /* Ignore pragma. */ }
YY_BREAK
case 18:
/* rule 18 can match eol */
YY_RULE_SETUP
-#line 101 "giscanner/scannerlexer.l"
+#line 101 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ ++lineno; process_linemarks(scanner, FALSE); }
YY_BREAK
case 19:
/* rule 19 can match eol */
YY_RULE_SETUP
-#line 102 "giscanner/scannerlexer.l"
+#line 102 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ ++lineno; process_linemarks(scanner, TRUE); }
YY_BREAK
case 20:
YY_RULE_SETUP
-#line 103 "giscanner/scannerlexer.l"
+#line 103 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ }
YY_BREAK
case 21:
YY_RULE_SETUP
-#line 104 "giscanner/scannerlexer.l"
+#line 104 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '{'; }
YY_BREAK
case 22:
YY_RULE_SETUP
-#line 105 "giscanner/scannerlexer.l"
+#line 105 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '{'; }
YY_BREAK
case 23:
YY_RULE_SETUP
-#line 106 "giscanner/scannerlexer.l"
+#line 106 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '}'; }
YY_BREAK
case 24:
YY_RULE_SETUP
-#line 107 "giscanner/scannerlexer.l"
+#line 107 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '}'; }
YY_BREAK
case 25:
YY_RULE_SETUP
-#line 108 "giscanner/scannerlexer.l"
+#line 108 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '['; }
YY_BREAK
case 26:
YY_RULE_SETUP
-#line 109 "giscanner/scannerlexer.l"
+#line 109 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '['; }
YY_BREAK
case 27:
YY_RULE_SETUP
-#line 110 "giscanner/scannerlexer.l"
+#line 110 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return ']'; }
YY_BREAK
case 28:
YY_RULE_SETUP
-#line 111 "giscanner/scannerlexer.l"
+#line 111 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return ']'; }
YY_BREAK
case 29:
YY_RULE_SETUP
-#line 112 "giscanner/scannerlexer.l"
+#line 112 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '('; }
YY_BREAK
case 30:
YY_RULE_SETUP
-#line 113 "giscanner/scannerlexer.l"
+#line 113 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return ')'; }
YY_BREAK
case 31:
YY_RULE_SETUP
-#line 114 "giscanner/scannerlexer.l"
+#line 114 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return ';'; }
YY_BREAK
case 32:
YY_RULE_SETUP
-#line 115 "giscanner/scannerlexer.l"
+#line 115 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return ':'; }
YY_BREAK
case 33:
YY_RULE_SETUP
-#line 116 "giscanner/scannerlexer.l"
+#line 116 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return ELLIPSIS; }
YY_BREAK
case 34:
YY_RULE_SETUP
-#line 117 "giscanner/scannerlexer.l"
+#line 117 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '?'; }
YY_BREAK
case 35:
YY_RULE_SETUP
-#line 118 "giscanner/scannerlexer.l"
+#line 118 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '.'; }
YY_BREAK
case 36:
YY_RULE_SETUP
-#line 119 "giscanner/scannerlexer.l"
+#line 119 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '+'; }
YY_BREAK
case 37:
YY_RULE_SETUP
-#line 120 "giscanner/scannerlexer.l"
+#line 120 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '-'; }
YY_BREAK
case 38:
YY_RULE_SETUP
-#line 121 "giscanner/scannerlexer.l"
+#line 121 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '*'; }
YY_BREAK
case 39:
YY_RULE_SETUP
-#line 122 "giscanner/scannerlexer.l"
+#line 122 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '/'; }
YY_BREAK
case 40:
YY_RULE_SETUP
-#line 123 "giscanner/scannerlexer.l"
+#line 123 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '%'; }
YY_BREAK
case 41:
YY_RULE_SETUP
-#line 124 "giscanner/scannerlexer.l"
+#line 124 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '^'; }
YY_BREAK
case 42:
YY_RULE_SETUP
-#line 125 "giscanner/scannerlexer.l"
+#line 125 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '&'; }
YY_BREAK
case 43:
YY_RULE_SETUP
-#line 126 "giscanner/scannerlexer.l"
+#line 126 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '|'; }
YY_BREAK
case 44:
YY_RULE_SETUP
-#line 127 "giscanner/scannerlexer.l"
+#line 127 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '~'; }
YY_BREAK
case 45:
YY_RULE_SETUP
-#line 128 "giscanner/scannerlexer.l"
+#line 128 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '!'; }
YY_BREAK
case 46:
YY_RULE_SETUP
-#line 129 "giscanner/scannerlexer.l"
+#line 129 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '='; }
YY_BREAK
case 47:
YY_RULE_SETUP
-#line 130 "giscanner/scannerlexer.l"
+#line 130 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '<'; }
YY_BREAK
case 48:
YY_RULE_SETUP
-#line 131 "giscanner/scannerlexer.l"
+#line 131 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return '>'; }
YY_BREAK
case 49:
YY_RULE_SETUP
-#line 132 "giscanner/scannerlexer.l"
+#line 132 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return ADDEQ; }
YY_BREAK
case 50:
YY_RULE_SETUP
-#line 133 "giscanner/scannerlexer.l"
+#line 133 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return SUBEQ; }
YY_BREAK
case 51:
YY_RULE_SETUP
-#line 134 "giscanner/scannerlexer.l"
+#line 134 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return MULEQ; }
YY_BREAK
case 52:
YY_RULE_SETUP
-#line 135 "giscanner/scannerlexer.l"
+#line 135 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return DIVEQ; }
YY_BREAK
case 53:
YY_RULE_SETUP
-#line 136 "giscanner/scannerlexer.l"
+#line 136 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return MODEQ; }
YY_BREAK
case 54:
YY_RULE_SETUP
-#line 137 "giscanner/scannerlexer.l"
+#line 137 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return XOREQ; }
YY_BREAK
case 55:
YY_RULE_SETUP
-#line 138 "giscanner/scannerlexer.l"
+#line 138 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return ANDEQ; }
YY_BREAK
case 56:
YY_RULE_SETUP
-#line 139 "giscanner/scannerlexer.l"
+#line 139 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return OREQ; }
YY_BREAK
case 57:
YY_RULE_SETUP
-#line 140 "giscanner/scannerlexer.l"
+#line 140 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return SL; }
YY_BREAK
case 58:
YY_RULE_SETUP
-#line 141 "giscanner/scannerlexer.l"
+#line 141 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return SR; }
YY_BREAK
case 59:
YY_RULE_SETUP
-#line 142 "giscanner/scannerlexer.l"
+#line 142 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return SLEQ; }
YY_BREAK
case 60:
YY_RULE_SETUP
-#line 143 "giscanner/scannerlexer.l"
+#line 143 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return SREQ; }
YY_BREAK
case 61:
YY_RULE_SETUP
-#line 144 "giscanner/scannerlexer.l"
+#line 144 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return EQ; }
YY_BREAK
case 62:
YY_RULE_SETUP
-#line 145 "giscanner/scannerlexer.l"
+#line 145 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return NOTEQ; }
YY_BREAK
case 63:
YY_RULE_SETUP
-#line 146 "giscanner/scannerlexer.l"
+#line 146 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return LTEQ; }
YY_BREAK
case 64:
YY_RULE_SETUP
-#line 147 "giscanner/scannerlexer.l"
+#line 147 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return GTEQ; }
YY_BREAK
case 65:
YY_RULE_SETUP
-#line 148 "giscanner/scannerlexer.l"
+#line 148 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return ANDAND; }
YY_BREAK
case 66:
YY_RULE_SETUP
-#line 149 "giscanner/scannerlexer.l"
+#line 149 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return OROR; }
YY_BREAK
case 67:
YY_RULE_SETUP
-#line 150 "giscanner/scannerlexer.l"
+#line 150 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return PLUSPLUS; }
YY_BREAK
case 68:
YY_RULE_SETUP
-#line 151 "giscanner/scannerlexer.l"
+#line 151 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return MINUSMINUS; }
YY_BREAK
case 69:
YY_RULE_SETUP
-#line 152 "giscanner/scannerlexer.l"
+#line 152 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return ','; }
YY_BREAK
case 70:
YY_RULE_SETUP
-#line 153 "giscanner/scannerlexer.l"
+#line 153 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return ARROW; }
YY_BREAK
case 71:
YY_RULE_SETUP
-#line 155 "giscanner/scannerlexer.l"
+#line 155 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ if (!parse_ignored_macro()) REJECT; }
YY_BREAK
case 72:
YY_RULE_SETUP
-#line 156 "giscanner/scannerlexer.l"
+#line 156 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ if (!parse_ignored_macro()) REJECT; }
YY_BREAK
case 73:
YY_RULE_SETUP
-#line 157 "giscanner/scannerlexer.l"
+#line 157 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ if (!parse_ignored_macro()) REJECT; }
YY_BREAK
case 74:
YY_RULE_SETUP
-#line 158 "giscanner/scannerlexer.l"
+#line 158 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ if (!parse_ignored_macro()) REJECT; }
YY_BREAK
case 75:
YY_RULE_SETUP
-#line 159 "giscanner/scannerlexer.l"
+#line 159 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ if (!parse_ignored_macro()) REJECT; }
YY_BREAK
case 76:
YY_RULE_SETUP
-#line 160 "giscanner/scannerlexer.l"
+#line 160 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ if (!parse_ignored_macro()) REJECT; }
YY_BREAK
case 77:
YY_RULE_SETUP
-#line 161 "giscanner/scannerlexer.l"
+#line 161 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ if (!parse_ignored_macro()) REJECT; }
YY_BREAK
case 78:
YY_RULE_SETUP
-#line 162 "giscanner/scannerlexer.l"
+#line 162 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return CONST; }
YY_BREAK
case 79:
YY_RULE_SETUP
-#line 163 "giscanner/scannerlexer.l"
+#line 163 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return EXTENSION; }
YY_BREAK
case 80:
YY_RULE_SETUP
-#line 164 "giscanner/scannerlexer.l"
+#line 164 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return INLINE; }
YY_BREAK
case 81:
YY_RULE_SETUP
-#line 165 "giscanner/scannerlexer.l"
+#line 165 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return INLINE; }
YY_BREAK
case 82:
YY_RULE_SETUP
-#line 166 "giscanner/scannerlexer.l"
+#line 166 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ if (!parse_ignored_macro()) REJECT; }
YY_BREAK
case 83:
YY_RULE_SETUP
-#line 167 "giscanner/scannerlexer.l"
+#line 167 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ /* Ignore */ }
YY_BREAK
case 84:
YY_RULE_SETUP
-#line 168 "giscanner/scannerlexer.l"
+#line 168 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return SIGNED; }
YY_BREAK
case 85:
YY_RULE_SETUP
-#line 169 "giscanner/scannerlexer.l"
+#line 169 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return SIGNED; }
YY_BREAK
case 86:
YY_RULE_SETUP
-#line 170 "giscanner/scannerlexer.l"
+#line 170 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return RESTRICT; }
YY_BREAK
case 87:
YY_RULE_SETUP
-#line 171 "giscanner/scannerlexer.l"
+#line 171 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return RESTRICT; }
YY_BREAK
case 88:
YY_RULE_SETUP
-#line 172 "giscanner/scannerlexer.l"
+#line 172 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ if (!parse_ignored_macro()) REJECT; }
YY_BREAK
case 89:
YY_RULE_SETUP
-#line 173 "giscanner/scannerlexer.l"
+#line 173 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return VOLATILE; }
YY_BREAK
case 90:
YY_RULE_SETUP
-#line 174 "giscanner/scannerlexer.l"
+#line 174 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return VOLATILE; }
YY_BREAK
case 91:
YY_RULE_SETUP
-#line 175 "giscanner/scannerlexer.l"
+#line 175 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return BOOL; }
YY_BREAK
case 92:
/* rule 92 can match eol */
YY_RULE_SETUP
-#line 176 "giscanner/scannerlexer.l"
+#line 176 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ ++lineno; /* Ignore */ }
YY_BREAK
case 93:
YY_RULE_SETUP
-#line 177 "giscanner/scannerlexer.l"
+#line 177 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ /* Ignore */ }
YY_BREAK
case 94:
YY_RULE_SETUP
-#line 178 "giscanner/scannerlexer.l"
+#line 178 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ /* Ignore */ }
YY_BREAK
case 95:
YY_RULE_SETUP
-#line 179 "giscanner/scannerlexer.l"
+#line 179 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ /* Ignore */ }
YY_BREAK
case 96:
YY_RULE_SETUP
-#line 180 "giscanner/scannerlexer.l"
+#line 180 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ /* ignore */ }
YY_BREAK
case 97:
YY_RULE_SETUP
-#line 181 "giscanner/scannerlexer.l"
+#line 181 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ /* ignore */ }
YY_BREAK
case 98:
YY_RULE_SETUP
-#line 182 "giscanner/scannerlexer.l"
+#line 182 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return INT; }
YY_BREAK
case 99:
YY_RULE_SETUP
-#line 185 "giscanner/scannerlexer.l"
+#line 185 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return INTL_CONST; }
YY_BREAK
case 100:
YY_RULE_SETUP
-#line 186 "giscanner/scannerlexer.l"
+#line 186 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return INTUL_CONST; }
YY_BREAK
case 101:
YY_RULE_SETUP
-#line 188 "giscanner/scannerlexer.l"
+#line 188 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return BOOLEAN; }
YY_BREAK
case 102:
YY_RULE_SETUP
-#line 189 "giscanner/scannerlexer.l"
+#line 189 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return BOOLEAN; }
YY_BREAK
case 103:
YY_RULE_SETUP
-#line 190 "giscanner/scannerlexer.l"
+#line 190 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return BOOLEAN; }
YY_BREAK
case 104:
YY_RULE_SETUP
-#line 191 "giscanner/scannerlexer.l"
+#line 191 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return BOOLEAN; }
YY_BREAK
case 105:
YY_RULE_SETUP
-#line 193 "giscanner/scannerlexer.l"
+#line 193 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ if (scanner->macro_scan) return check_identifier(scanner, yytext); else REJECT; }
YY_BREAK
case 106:
YY_RULE_SETUP
-#line 195 "giscanner/scannerlexer.l"
+#line 195 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ if (!parse_ignored_macro()) REJECT; }
YY_BREAK
case 107:
YY_RULE_SETUP
-#line 196 "giscanner/scannerlexer.l"
+#line 196 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return AUTO; }
YY_BREAK
case 108:
YY_RULE_SETUP
-#line 197 "giscanner/scannerlexer.l"
+#line 197 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return BOOL; }
YY_BREAK
case 109:
YY_RULE_SETUP
-#line 198 "giscanner/scannerlexer.l"
+#line 198 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return BREAK; }
YY_BREAK
case 110:
YY_RULE_SETUP
-#line 199 "giscanner/scannerlexer.l"
+#line 199 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return CASE; }
YY_BREAK
case 111:
YY_RULE_SETUP
-#line 200 "giscanner/scannerlexer.l"
+#line 200 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return CHAR; }
YY_BREAK
case 112:
YY_RULE_SETUP
-#line 201 "giscanner/scannerlexer.l"
+#line 201 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return CONST; }
YY_BREAK
case 113:
YY_RULE_SETUP
-#line 202 "giscanner/scannerlexer.l"
+#line 202 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return CONTINUE; }
YY_BREAK
case 114:
YY_RULE_SETUP
-#line 203 "giscanner/scannerlexer.l"
+#line 203 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return DEFAULT; }
YY_BREAK
case 115:
YY_RULE_SETUP
-#line 204 "giscanner/scannerlexer.l"
+#line 204 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return DO; }
YY_BREAK
case 116:
YY_RULE_SETUP
-#line 205 "giscanner/scannerlexer.l"
+#line 205 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return DOUBLE; }
YY_BREAK
case 117:
YY_RULE_SETUP
-#line 206 "giscanner/scannerlexer.l"
+#line 206 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return ELSE; }
YY_BREAK
case 118:
YY_RULE_SETUP
-#line 207 "giscanner/scannerlexer.l"
+#line 207 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return ENUM; }
YY_BREAK
case 119:
YY_RULE_SETUP
-#line 208 "giscanner/scannerlexer.l"
+#line 208 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return EXTERN; }
YY_BREAK
case 120:
YY_RULE_SETUP
-#line 209 "giscanner/scannerlexer.l"
+#line 209 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return FLOAT; }
YY_BREAK
case 121:
YY_RULE_SETUP
-#line 210 "giscanner/scannerlexer.l"
+#line 210 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return FOR; }
YY_BREAK
case 122:
YY_RULE_SETUP
-#line 211 "giscanner/scannerlexer.l"
+#line 211 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return GOTO; }
YY_BREAK
case 123:
YY_RULE_SETUP
-#line 212 "giscanner/scannerlexer.l"
+#line 212 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return IF; }
YY_BREAK
case 124:
YY_RULE_SETUP
-#line 213 "giscanner/scannerlexer.l"
+#line 213 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return INLINE; }
YY_BREAK
case 125:
YY_RULE_SETUP
-#line 214 "giscanner/scannerlexer.l"
+#line 214 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return INT; }
YY_BREAK
case 126:
YY_RULE_SETUP
-#line 215 "giscanner/scannerlexer.l"
+#line 215 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return INT; }
YY_BREAK
case 127:
YY_RULE_SETUP
-#line 216 "giscanner/scannerlexer.l"
+#line 216 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return INT; }
YY_BREAK
case 128:
YY_RULE_SETUP
-#line 217 "giscanner/scannerlexer.l"
+#line 217 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return INT; }
YY_BREAK
case 129:
YY_RULE_SETUP
-#line 218 "giscanner/scannerlexer.l"
+#line 218 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return INT; }
YY_BREAK
case 130:
YY_RULE_SETUP
-#line 219 "giscanner/scannerlexer.l"
+#line 219 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return LONG; }
YY_BREAK
case 131:
YY_RULE_SETUP
-#line 220 "giscanner/scannerlexer.l"
+#line 220 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return REGISTER; }
YY_BREAK
case 132:
YY_RULE_SETUP
-#line 221 "giscanner/scannerlexer.l"
+#line 221 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return RESTRICT; }
YY_BREAK
case 133:
YY_RULE_SETUP
-#line 222 "giscanner/scannerlexer.l"
+#line 222 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return RETURN; }
YY_BREAK
case 134:
YY_RULE_SETUP
-#line 223 "giscanner/scannerlexer.l"
+#line 223 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return SHORT; }
YY_BREAK
case 135:
YY_RULE_SETUP
-#line 224 "giscanner/scannerlexer.l"
+#line 224 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return SIGNED; }
YY_BREAK
case 136:
YY_RULE_SETUP
-#line 225 "giscanner/scannerlexer.l"
+#line 225 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return SIZEOF; }
YY_BREAK
case 137:
YY_RULE_SETUP
-#line 226 "giscanner/scannerlexer.l"
+#line 226 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return STATIC; }
YY_BREAK
case 138:
YY_RULE_SETUP
-#line 227 "giscanner/scannerlexer.l"
+#line 227 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return STRUCT; }
YY_BREAK
case 139:
YY_RULE_SETUP
-#line 228 "giscanner/scannerlexer.l"
+#line 228 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return SWITCH; }
YY_BREAK
case 140:
YY_RULE_SETUP
-#line 229 "giscanner/scannerlexer.l"
+#line 229 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return TYPEDEF; }
YY_BREAK
case 141:
YY_RULE_SETUP
-#line 230 "giscanner/scannerlexer.l"
+#line 230 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return UNION; }
YY_BREAK
case 142:
YY_RULE_SETUP
-#line 231 "giscanner/scannerlexer.l"
+#line 231 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return UNSIGNED; }
YY_BREAK
case 143:
YY_RULE_SETUP
-#line 232 "giscanner/scannerlexer.l"
+#line 232 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return VOID; }
YY_BREAK
case 144:
YY_RULE_SETUP
-#line 233 "giscanner/scannerlexer.l"
+#line 233 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return VOLATILE; }
YY_BREAK
case 145:
YY_RULE_SETUP
-#line 234 "giscanner/scannerlexer.l"
+#line 234 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return WHILE; }
YY_BREAK
case 146:
YY_RULE_SETUP
-#line 236 "giscanner/scannerlexer.l"
+#line 236 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return check_identifier(scanner, yytext); }
YY_BREAK
case 147:
YY_RULE_SETUP
-#line 238 "giscanner/scannerlexer.l"
+#line 238 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return INTEGER; }
YY_BREAK
case 148:
YY_RULE_SETUP
-#line 239 "giscanner/scannerlexer.l"
+#line 239 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return INTEGER; }
YY_BREAK
case 149:
YY_RULE_SETUP
-#line 240 "giscanner/scannerlexer.l"
+#line 240 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return INTEGER; }
YY_BREAK
case 150:
YY_RULE_SETUP
-#line 242 "giscanner/scannerlexer.l"
+#line 242 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return FLOATING; }
YY_BREAK
case 151:
YY_RULE_SETUP
-#line 243 "giscanner/scannerlexer.l"
+#line 243 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return FLOATING; }
YY_BREAK
case 152:
/* rule 152 can match eol */
YY_RULE_SETUP
-#line 245 "giscanner/scannerlexer.l"
+#line 245 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return CHARACTER; }
YY_BREAK
case 153:
/* rule 153 can match eol */
YY_RULE_SETUP
-#line 246 "giscanner/scannerlexer.l"
+#line 246 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return CHARACTER; }
YY_BREAK
case 154:
/* rule 154 can match eol */
YY_RULE_SETUP
-#line 248 "giscanner/scannerlexer.l"
+#line 248 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return STRING; }
YY_BREAK
case 155:
/* rule 155 can match eol */
YY_RULE_SETUP
-#line 249 "giscanner/scannerlexer.l"
+#line 249 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ return STRING; }
YY_BREAK
case 156:
YY_RULE_SETUP
-#line 251 "giscanner/scannerlexer.l"
+#line 251 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
{ print_error(scanner); }
YY_BREAK
case 157:
YY_RULE_SETUP
-#line 253 "giscanner/scannerlexer.l"
+#line 253 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"
ECHO;
YY_BREAK
-#line 2242 "scannerlexer.c"
+#line 2219 "scannerlexer.c"
case YY_STATE_EOF(INITIAL):
yyterminate();
*/
static int yy_get_next_buffer (void)
{
- char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
- char *source = (yytext_ptr);
- yy_size_t number_to_move, i;
+ register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
+ register char *source = (yytext_ptr);
+ register int number_to_move, i;
int ret_val;
if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] )
/* Try to read more data. */
/* First move last chars to start of buffer. */
- number_to_move = (yy_size_t) ((yy_c_buf_p) - (yytext_ptr)) - 1;
+ number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1;
for ( i = 0; i < number_to_move; ++i )
*(dest++) = *(source++);
else
ret_val = EOB_ACT_CONTINUE_SCAN;
- if ((int) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
+ if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
/* Extend the array by 50%, plus the number we really need. */
- int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
+ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size );
if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
static yy_state_type yy_get_previous_state (void)
{
- yy_state_type yy_current_state;
- char *yy_cp;
+ register yy_state_type yy_current_state;
+ register char *yy_cp;
yy_current_state = (yy_start);
for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp )
{
- YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
+ register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
*/
static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
{
- int yy_is_jam;
+ register int yy_is_jam;
- YY_CHAR yy_c = 1;
+ register YY_CHAR yy_c = 1;
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
{
yy_current_state = (int) yy_def[yy_current_state];
return yy_is_jam ? 0 : yy_current_state;
}
-#ifndef YY_NO_UNPUT
-
-#endif
-
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput (void)
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
- b->yy_buf_size = (yy_size_t)size;
+ b->yy_buf_size = size;
/* yy_ch_buf has to be 2 characters longer than the size given because
* we need to put in 2 end-of-buffer characters.
* scanner will even need a stack. We use 2 instead of 1 to avoid an
* immediate realloc on the next call.
*/
- num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
+ num_to_alloc = 1;
(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
(num_to_alloc * sizeof(struct yy_buffer_state*)
);
if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
/* Increase the buffer to prepare for a possible push. */
- yy_size_t grow_size = 8 /* arbitrary grow size */;
+ int grow_size = 8 /* arbitrary grow size */;
num_to_alloc = (yy_buffer_stack_max) + grow_size;
(yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc
static void yy_fatal_error (yyconst char* msg )
{
- (void) fprintf( stderr, "%s\n", msg );
+ (void) fprintf( stderr, "%s\n", msg );
exit( YY_EXIT_FAILURE );
}
}
/** Set the current line number.
- * @param _line_number line number
+ * @param line_number
*
*/
-void yyset_lineno (int _line_number )
+void yyset_lineno (int line_number )
{
- yylineno = _line_number;
+ yylineno = line_number;
}
/** Set the input stream. This does not discard the current
* input buffer.
- * @param _in_str A readable stream.
+ * @param in_str A readable stream.
*
* @see yy_switch_to_buffer
*/
-void yyset_in (FILE * _in_str )
+void yyset_in (FILE * in_str )
{
- yyin = _in_str ;
+ yyin = in_str ;
}
-void yyset_out (FILE * _out_str )
+void yyset_out (FILE * out_str )
{
- yyout = _out_str ;
+ yyout = out_str ;
}
int yyget_debug (void)
return yy_flex_debug;
}
-void yyset_debug (int _bdebug )
+void yyset_debug (int bdebug )
{
- yy_flex_debug = _bdebug ;
+ yy_flex_debug = bdebug ;
}
static int yy_init_globals (void)
#ifndef yytext_ptr
static void yy_flex_strncpy (char* s1, yyconst char * s2, int n )
{
-
- int i;
+ register int i;
for ( i = 0; i < n; ++i )
s1[i] = s2[i];
}
#ifdef YY_NEED_STRLEN
static int yy_flex_strlen (yyconst char * s )
{
- int n;
+ register int n;
for ( n = 0; s[n]; ++n )
;
void *yyalloc (yy_size_t size )
{
- return (void *) malloc( size );
+ return (void *) malloc( size );
}
void *yyrealloc (void * ptr, yy_size_t size )
{
-
/* The cast to (char *) in the following accommodates both
* implementations that use char* generic pointers, and those
* that use void* generic pointers. It works with the latter
void yyfree (void * ptr )
{
- free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
+ free( (char *) ptr ); /* see yyrealloc() for (char *) cast */
}
#define YYTABLES_NAME "yytables"
-#line 253 "giscanner/scannerlexer.l"
+#line 253 "/home/fmuellner/src/gobject-introspection/giscanner/scannerlexer.l"