diff options
Diffstat (limited to 'src/parser.h')
-rw-r--r-- | src/parser.h | 29 |
1 files changed, 21 insertions, 8 deletions
diff --git a/src/parser.h b/src/parser.h index a269622..83321e9 100644 --- a/src/parser.h +++ b/src/parser.h @@ -12,8 +12,8 @@ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 -#define YY_FLEX_MINOR_VERSION 5 -#define YY_FLEX_SUBMINOR_VERSION 39 +#define YY_FLEX_MINOR_VERSION 6 +#define YY_FLEX_SUBMINOR_VERSION 0 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif @@ -132,7 +132,15 @@ typedef void* yyscan_t; /* 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 #ifndef YY_TYPEDEF_YY_BUFFER_STATE @@ -214,7 +222,7 @@ void vt100_parser_yyfree (void * ,yyscan_t yyscanner ); /* Begin user sect3 */ -#define vt100_parser_yywrap(yyscanner) 1 +#define vt100_parser_yywrap(yyscanner) (/*CONSTCOND*/1) #define YY_SKIP_YYWRAP #define yytext_ptr yytext_r @@ -253,11 +261,11 @@ void vt100_parser_yyset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner ); FILE *vt100_parser_yyget_in (yyscan_t yyscanner ); -void vt100_parser_yyset_in (FILE * in_str ,yyscan_t yyscanner ); +void vt100_parser_yyset_in (FILE * _in_str ,yyscan_t yyscanner ); FILE *vt100_parser_yyget_out (yyscan_t yyscanner ); -void vt100_parser_yyset_out (FILE * out_str ,yyscan_t yyscanner ); +void vt100_parser_yyset_out (FILE * _out_str ,yyscan_t yyscanner ); yy_size_t vt100_parser_yyget_leng (yyscan_t yyscanner ); @@ -265,11 +273,11 @@ char *vt100_parser_yyget_text (yyscan_t yyscanner ); int vt100_parser_yyget_lineno (yyscan_t yyscanner ); -void vt100_parser_yyset_lineno (int line_number ,yyscan_t yyscanner ); +void vt100_parser_yyset_lineno (int _line_number ,yyscan_t yyscanner ); int vt100_parser_yyget_column (yyscan_t yyscanner ); -void vt100_parser_yyset_column (int column_no ,yyscan_t yyscanner ); +void vt100_parser_yyset_column (int _column_no ,yyscan_t yyscanner ); /* Macros after this point can all be overridden by user definitions in * section 1. @@ -297,7 +305,12 @@ static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner); /* 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 /* Number of entries by which start-condition stack grows. */ @@ -333,6 +346,6 @@ extern int vt100_parser_yylex (yyscan_t yyscanner); #line 247 "src/parser.l" -#line 337 "src/parser.h" +#line 350 "src/parser.h" #undef vt100_parser_yyIN_HEADER #endif /* vt100_parser_yyHEADER_H */ |