diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-19 23:24:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-19 23:24:32 +0000 |
commit | 70873fbc1b23e1fa77240c892895d4eed21e2e34 (patch) | |
tree | 6b9362eafe3598cd12c4df729a6d83ffee4f678f /Build/source/texk | |
parent | adbe3eb411d50490f1c17e55c82e29d63a1ecfe5 (diff) |
flex 2.6.0
git-svn-id: svn://tug.org/texlive/trunk@40623 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/detex/detex-src/detex.c | 427 | ||||
-rw-r--r-- | Build/source/texk/web2c/omegafonts/pl-lexer.c | 548 | ||||
-rw-r--r-- | Build/source/texk/web2c/otps/otp-lexer.c | 190 | ||||
-rw-r--r-- | Build/source/texk/web2c/web2c/web2c-lexer.c | 288 |
4 files changed, 780 insertions, 673 deletions
diff --git a/Build/source/texk/detex/detex-src/detex.c b/Build/source/texk/detex/detex-src/detex.c index 464e3cc4324..171d81ac926 100644 --- a/Build/source/texk/detex/detex-src/detex.c +++ b/Build/source/texk/detex/detex-src/detex.c @@ -1,4 +1,4 @@ -#line 4 "detex.l" +#line 4 "../../../texk/detex/detex-src/detex.l" #ifndef lint static char rcsid[] = "$Header: /p/src/local/bin/detex/RCS/detex.l,v 2.22 2007/03/01 20:22:01 trinkle Exp trinkle $"; #endif @@ -90,7 +90,7 @@ static char rcsid[] = "$Header: /p/src/local/bin/detex/RCS/detex.l,v 2.22 2007/0 -#line 94 "detex.c" +#line 94 "../../../texk/detex/detex-src/detex.c" #define YY_INT_ALIGNED short int @@ -98,8 +98,8 @@ static char rcsid[] = "$Header: /p/src/local/bin/detex/RCS/detex.l,v 2.22 2007/0 #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 @@ -232,7 +232,15 @@ typedef unsigned int flex_uint32_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 /* The state buf must be large enough to hold one state per character in the main buffer. @@ -435,11 +443,17 @@ extern int yylineno; 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 @@ -582,7 +596,7 @@ static yyconst flex_int16_t yy_accept[1067] = 0, 0, 0, 0, 0, 0 } ; -static yyconst flex_int32_t yy_ec[256] = +static yyconst YY_CHAR yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -614,7 +628,7 @@ static yyconst flex_int32_t yy_ec[256] = 1, 1, 1, 1, 1 } ; -static yyconst flex_int32_t yy_meta[57] = +static yyconst YY_CHAR yy_meta[57] = { 0, 1, 2, 3, 2, 1, 1, 1, 4, 1, 1, 1, 1, 5, 6, 1, 6, 6, 6, 7, 8, @@ -624,7 +638,7 @@ static yyconst flex_int32_t yy_meta[57] = 8, 8, 11, 1, 12, 1 } ; -static yyconst flex_int16_t yy_base[1116] = +static yyconst flex_uint16_t yy_base[1116] = { 0, 0, 0, 0, 1, 2, 3, 8, 11, 14, 23, 16, 17, 78, 0, 134, 0, 190, 0, 4, 25, @@ -878,7 +892,7 @@ static yyconst flex_int16_t yy_def[1116] = 1066, 1066, 1066, 1066, 1066 } ; -static yyconst flex_int16_t yy_nxt[2970] = +static yyconst flex_uint16_t yy_nxt[2970] = { 0, 1066, 1066, 46, 46, 49, 49, 84, 50, 50, 52, 53, 52, 52, 53, 52, 56, 57, 56, 59, 59, @@ -1552,9 +1566,9 @@ int yy_flex_debug = 0; #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET char *yytext; -#line 1 "detex.l" +#line 1 "../../../texk/detex/detex-src/detex.l" -#line 95 "detex.l" +#line 95 "../../../texk/detex/detex-src/detex.l" #undef IGNORE #define LaBEGIN if (fLatex) BEGIN @@ -1627,7 +1641,7 @@ int csb = 0; /* depth of flex context stack */ -#line 1631 "detex.c" +#line 1645 "../../../texk/detex/detex-src/detex.c" #define INITIAL 0 #define Define 1 @@ -1680,11 +1694,11 @@ void yyset_extra (YY_EXTRA_TYPE user_defined ); 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 ); @@ -1692,7 +1706,7 @@ char *yyget_text (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. @@ -1706,8 +1720,12 @@ extern int yywrap (void ); #endif #endif +#ifndef YY_NO_UNPUT + static void yyunput (int c,char *buf_ptr ); +#endif + #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif @@ -1728,7 +1746,12 @@ static int input (void ); /* 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. */ @@ -1815,7 +1838,7 @@ extern int yylex (void); /* Code executed at the end of each rule. */ #ifndef YY_BREAK -#define YY_BREAK break; +#define YY_BREAK /*LINTED*/break; #endif #define YY_RULE_SETUP \ @@ -1825,9 +1848,9 @@ extern int yylex (void); */ YY_DECL { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; + yy_state_type yy_current_state; + char *yy_cp, *yy_bp; + int yy_act; if ( !(yy_init) ) { @@ -1856,11 +1879,11 @@ YY_DECL } { -#line 182 "detex.l" +#line 182 "../../../texk/detex/detex-src/detex.l" -#line 1862 "detex.c" +#line 1885 "../../../texk/detex/detex-src/detex.c" - while ( 1 ) /* loops until end-of-file is reached */ + while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); @@ -1876,7 +1899,7 @@ YY_DECL yy_match: do { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; + YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; @@ -1913,24 +1936,24 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 183 "detex.l" +#line 183 "../../../texk/detex/detex-src/detex.l" /* ignore comments */ ; YY_BREAK case 2: /* rule 2 can match eol */ YY_RULE_SETUP -#line 185 "detex.l" +#line 185 "../../../texk/detex/detex-src/detex.l" {LATEX; IGNORE;} YY_BREAK case 3: YY_RULE_SETUP -#line 187 "detex.l" +#line 187 "../../../texk/detex/detex-src/detex.l" /* environment start */ {LaBEGIN LaBegin; IGNORE;} YY_BREAK case 4: /* rule 4 can match eol */ YY_RULE_SETUP -#line 189 "detex.l" +#line 189 "../../../texk/detex/detex-src/detex.l" { if (BeginEnv("verbatim")) BEGIN LaEnv; else @@ -1941,24 +1964,24 @@ YY_RULE_SETUP case 5: /* rule 5 can match eol */ YY_RULE_SETUP -#line 196 "detex.l" +#line 196 "../../../texk/detex/detex-src/detex.l" /* verbatim mode */ {BEGIN Normal; IGNORE;} YY_BREAK case 6: /* rule 6 can match eol */ YY_RULE_SETUP -#line 197 "detex.l" +#line 197 "../../../texk/detex/detex-src/detex.l" ECHO; YY_BREAK case 7: YY_RULE_SETUP -#line 198 "detex.l" +#line 198 "../../../texk/detex/detex-src/detex.l" ECHO; YY_BREAK case 8: /* rule 8 can match eol */ YY_RULE_SETUP -#line 200 "detex.l" +#line 200 "../../../texk/detex/detex-src/detex.l" { KILLARGS(1); if (BeginEnv("minpage")) BEGIN LaEnv; @@ -1969,7 +1992,7 @@ YY_RULE_SETUP YY_BREAK case 9: YY_RULE_SETUP -#line 208 "detex.l" +#line 208 "../../../texk/detex/detex-src/detex.l" { if (BeginEnv(yytext)) BEGIN LaEnv; else @@ -1980,33 +2003,33 @@ YY_RULE_SETUP case 10: /* rule 10 can match eol */ YY_RULE_SETUP -#line 214 "detex.l" +#line 214 "../../../texk/detex/detex-src/detex.l" NEWLINE; YY_BREAK case 11: YY_RULE_SETUP -#line 215 "detex.l" +#line 215 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 12: YY_RULE_SETUP -#line 217 "detex.l" +#line 217 "../../../texk/detex/detex-src/detex.l" /* absorb some environments */ {LaBEGIN LaEnd; IGNORE;} YY_BREAK case 13: /* rule 13 can match eol */ YY_RULE_SETUP -#line 218 "detex.l" +#line 218 "../../../texk/detex/detex-src/detex.l" NEWLINE; YY_BREAK case 14: YY_RULE_SETUP -#line 219 "detex.l" +#line 219 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 15: YY_RULE_SETUP -#line 221 "detex.l" +#line 221 "../../../texk/detex/detex-src/detex.l" /* end environment */ { if (EndEnv(yytext)) BEGIN Normal; IGNORE; @@ -2014,301 +2037,301 @@ YY_RULE_SETUP YY_BREAK case 16: YY_RULE_SETUP -#line 225 "detex.l" +#line 225 "../../../texk/detex/detex-src/detex.l" {BEGIN LaEnv; IGNORE;} YY_BREAK case 17: /* rule 17 can match eol */ YY_RULE_SETUP -#line 226 "detex.l" +#line 226 "../../../texk/detex/detex-src/detex.l" NEWLINE; YY_BREAK case 18: YY_RULE_SETUP -#line 227 "detex.l" +#line 227 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 19: /* rule 19 can match eol */ YY_RULE_SETUP -#line 229 "detex.l" +#line 229 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 20: /* rule 20 can match eol */ YY_RULE_SETUP -#line 230 "detex.l" +#line 230 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 21: /* rule 21 can match eol */ YY_RULE_SETUP -#line 231 "detex.l" +#line 231 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 22: /* rule 22 can match eol */ YY_RULE_SETUP -#line 232 "detex.l" +#line 232 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 23: /* rule 23 can match eol */ YY_RULE_SETUP -#line 233 "detex.l" +#line 233 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 24: /* rule 24 can match eol */ YY_RULE_SETUP -#line 234 "detex.l" +#line 234 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 25: YY_RULE_SETUP -#line 236 "detex.l" +#line 236 "../../../texk/detex/detex-src/detex.l" { KILLARGS(1); } YY_BREAK case 26: YY_RULE_SETUP -#line 237 "detex.l" +#line 237 "../../../texk/detex/detex-src/detex.l" { KILLARGS(2); } YY_BREAK case 27: YY_RULE_SETUP -#line 238 "detex.l" +#line 238 "../../../texk/detex/detex-src/detex.l" { KILLARGS(2); } YY_BREAK case 28: YY_RULE_SETUP -#line 239 "detex.l" +#line 239 "../../../texk/detex/detex-src/detex.l" { KILLARGS(2); } YY_BREAK case 29: YY_RULE_SETUP -#line 240 "detex.l" +#line 240 "../../../texk/detex/detex-src/detex.l" { KILLARGS(2); } YY_BREAK case 30: YY_RULE_SETUP -#line 241 "detex.l" +#line 241 "../../../texk/detex/detex-src/detex.l" { KILLARGS(2); } YY_BREAK case 31: YY_RULE_SETUP -#line 242 "detex.l" +#line 242 "../../../texk/detex/detex-src/detex.l" { KILLARGS(1); } YY_BREAK case 32: YY_RULE_SETUP -#line 243 "detex.l" +#line 243 "../../../texk/detex/detex-src/detex.l" { KILLARGS(1); } YY_BREAK case 33: YY_RULE_SETUP -#line 244 "detex.l" +#line 244 "../../../texk/detex/detex-src/detex.l" { KILLARGS(2); } YY_BREAK case 34: YY_RULE_SETUP -#line 245 "detex.l" +#line 245 "../../../texk/detex/detex-src/detex.l" { KILLARGS(1); } YY_BREAK case 35: YY_RULE_SETUP -#line 246 "detex.l" +#line 246 "../../../texk/detex/detex-src/detex.l" { STRIPARGS(2); } YY_BREAK case 36: YY_RULE_SETUP -#line 247 "detex.l" +#line 247 "../../../texk/detex/detex-src/detex.l" { KILLARGS(1); } YY_BREAK case 37: YY_RULE_SETUP -#line 248 "detex.l" +#line 248 "../../../texk/detex/detex-src/detex.l" { STRIPARGS(2); } YY_BREAK case 38: YY_RULE_SETUP -#line 249 "detex.l" +#line 249 "../../../texk/detex/detex-src/detex.l" { KILLARGS(2); } YY_BREAK case 39: YY_RULE_SETUP -#line 250 "detex.l" +#line 250 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 40: YY_RULE_SETUP -#line 251 "detex.l" +#line 251 "../../../texk/detex/detex-src/detex.l" { KILLARGS(1); } YY_BREAK case 41: /* rule 41 can match eol */ YY_RULE_SETUP -#line 252 "detex.l" +#line 252 "../../../texk/detex/detex-src/detex.l" { LaBEGIN LaPicture; } YY_BREAK case 42: YY_RULE_SETUP -#line 254 "detex.l" +#line 254 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 43: /* rule 43 can match eol */ YY_RULE_SETUP -#line 255 "detex.l" +#line 255 "../../../texk/detex/detex-src/detex.l" { printf("<Picture %s>", yytext); } YY_BREAK case 44: YY_RULE_SETUP -#line 256 "detex.l" +#line 256 "../../../texk/detex/detex-src/detex.l" BEGIN Normal; YY_BREAK case 45: YY_RULE_SETUP -#line 258 "detex.l" +#line 258 "../../../texk/detex/detex-src/detex.l" { KILLARGS(3); } YY_BREAK case 46: YY_RULE_SETUP -#line 259 "detex.l" +#line 259 "../../../texk/detex/detex-src/detex.l" { KILLARGS(1); } YY_BREAK case 47: YY_RULE_SETUP -#line 260 "detex.l" +#line 260 "../../../texk/detex/detex-src/detex.l" { KILLARGS(2); } YY_BREAK case 48: YY_RULE_SETUP -#line 261 "detex.l" +#line 261 "../../../texk/detex/detex-src/detex.l" { KILLARGS(2); } YY_BREAK case 49: YY_RULE_SETUP -#line 262 "detex.l" +#line 262 "../../../texk/detex/detex-src/detex.l" { KILLARGS(3); } YY_BREAK case 50: YY_RULE_SETUP -#line 263 "detex.l" +#line 263 "../../../texk/detex/detex-src/detex.l" { KILLARGS(1); } YY_BREAK case 51: YY_RULE_SETUP -#line 264 "detex.l" +#line 264 "../../../texk/detex/detex-src/detex.l" { STRIPARGS(1); } YY_BREAK case 52: YY_RULE_SETUP -#line 266 "detex.l" +#line 266 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 53: YY_RULE_SETUP -#line 267 "detex.l" +#line 267 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 54: YY_RULE_SETUP -#line 268 "detex.l" +#line 268 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 55: YY_RULE_SETUP -#line 269 "detex.l" +#line 269 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 56: YY_RULE_SETUP -#line 270 "detex.l" +#line 270 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 57: YY_RULE_SETUP -#line 271 "detex.l" +#line 271 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 58: YY_RULE_SETUP -#line 273 "detex.l" +#line 273 "../../../texk/detex/detex-src/detex.l" /* ignore args */ {KILLARGS(1); IGNORE;} YY_BREAK case 59: YY_RULE_SETUP -#line 274 "detex.l" +#line 274 "../../../texk/detex/detex-src/detex.l" /* of these \cs */ {KILLARGS(1); IGNORE;} YY_BREAK case 60: YY_RULE_SETUP -#line 275 "detex.l" +#line 275 "../../../texk/detex/detex-src/detex.l" {KILLARGS(1); IGNORE;} YY_BREAK case 61: YY_RULE_SETUP -#line 276 "detex.l" +#line 276 "../../../texk/detex/detex-src/detex.l" {CITE(1); IGNORE;} YY_BREAK case 62: YY_RULE_SETUP -#line 277 "detex.l" +#line 277 "../../../texk/detex/detex-src/detex.l" {LATEX; KILLARGS(1); IGNORE;} YY_BREAK case 63: YY_RULE_SETUP -#line 278 "detex.l" +#line 278 "../../../texk/detex/detex-src/detex.l" {LATEX; KILLARGS(1); IGNORE;} YY_BREAK case 64: YY_RULE_SETUP -#line 279 "detex.l" +#line 279 "../../../texk/detex/detex-src/detex.l" {KILLARGS(1); IGNORE;} YY_BREAK case 65: YY_RULE_SETUP -#line 280 "detex.l" +#line 280 "../../../texk/detex/detex-src/detex.l" {KILLARGS(1); IGNORE;} YY_BREAK case 66: YY_RULE_SETUP -#line 281 "detex.l" +#line 281 "../../../texk/detex/detex-src/detex.l" {KILLARGS(1); SPACE;} YY_BREAK case 67: YY_RULE_SETUP -#line 282 "detex.l" +#line 282 "../../../texk/detex/detex-src/detex.l" {KILLARGS(1); SPACE;} YY_BREAK case 68: YY_RULE_SETUP -#line 283 "detex.l" +#line 283 "../../../texk/detex/detex-src/detex.l" {KILLARGS(1); IGNORE;} YY_BREAK case 69: YY_RULE_SETUP -#line 284 "detex.l" +#line 284 "../../../texk/detex/detex-src/detex.l" {CITE(1); IGNORE;} YY_BREAK case 70: YY_RULE_SETUP -#line 285 "detex.l" +#line 285 "../../../texk/detex/detex-src/detex.l" {KILLARGS(1); IGNORE;} YY_BREAK case 71: YY_RULE_SETUP -#line 286 "detex.l" +#line 286 "../../../texk/detex/detex-src/detex.l" {CITE(1); IGNORE;} YY_BREAK case 72: YY_RULE_SETUP -#line 287 "detex.l" +#line 287 "../../../texk/detex/detex-src/detex.l" {KILLARGS(1); IGNORE;} YY_BREAK case 73: YY_RULE_SETUP -#line 288 "detex.l" +#line 288 "../../../texk/detex/detex-src/detex.l" /* ignore \verb<ch>...<ch> */ { if (fLatex) { char verbchar, c; verbchar = input(); @@ -2321,137 +2344,137 @@ YY_RULE_SETUP YY_BREAK case 74: YY_RULE_SETUP -#line 298 "detex.l" +#line 298 "../../../texk/detex/detex-src/detex.l" { LATEX; KILLARGS(2); } YY_BREAK case 75: YY_RULE_SETUP -#line 299 "detex.l" +#line 299 "../../../texk/detex/detex-src/detex.l" { LATEX; KILLARGS(2); } YY_BREAK case 76: YY_RULE_SETUP -#line 300 "detex.l" +#line 300 "../../../texk/detex/detex-src/detex.l" { LATEX; KILLARGS(3); } YY_BREAK case 77: YY_RULE_SETUP -#line 302 "detex.l" +#line 302 "../../../texk/detex/detex-src/detex.l" /* ignore def begin */ {BEGIN Define; IGNORE;} YY_BREAK case 78: YY_RULE_SETUP -#line 303 "detex.l" +#line 303 "../../../texk/detex/detex-src/detex.l" BEGIN Normal; YY_BREAK case 79: /* rule 79 can match eol */ YY_RULE_SETUP -#line 304 "detex.l" +#line 304 "../../../texk/detex/detex-src/detex.l" NEWLINE; YY_BREAK case 80: YY_RULE_SETUP -#line 305 "detex.l" +#line 305 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 81: YY_RULE_SETUP -#line 307 "detex.l" +#line 307 "../../../texk/detex/detex-src/detex.l" /* formula mode */ {LaBEGIN LaFormula; IGNORE;} YY_BREAK case 82: YY_RULE_SETUP -#line 308 "detex.l" +#line 308 "../../../texk/detex/detex-src/detex.l" BEGIN Normal; YY_BREAK case 83: /* rule 83 can match eol */ YY_RULE_SETUP -#line 309 "detex.l" +#line 309 "../../../texk/detex/detex-src/detex.l" NEWLINE; YY_BREAK case 84: YY_RULE_SETUP -#line 310 "detex.l" +#line 310 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 85: YY_RULE_SETUP -#line 312 "detex.l" +#line 312 "../../../texk/detex/detex-src/detex.l" /* display mode */ {LaBEGIN LaDisplay; IGNORE;} YY_BREAK case 86: YY_RULE_SETUP -#line 313 "detex.l" +#line 313 "../../../texk/detex/detex-src/detex.l" BEGIN Normal; YY_BREAK case 87: /* rule 87 can match eol */ YY_RULE_SETUP -#line 314 "detex.l" +#line 314 "../../../texk/detex/detex-src/detex.l" NEWLINE; YY_BREAK case 88: YY_RULE_SETUP -#line 315 "detex.l" +#line 315 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 89: YY_RULE_SETUP -#line 317 "detex.l" +#line 317 "../../../texk/detex/detex-src/detex.l" /* display mode */ {BEGIN Display; IGNORE;} YY_BREAK case 90: YY_RULE_SETUP -#line 318 "detex.l" +#line 318 "../../../texk/detex/detex-src/detex.l" BEGIN Normal; YY_BREAK case 91: /* rule 91 can match eol */ YY_RULE_SETUP -#line 319 "detex.l" +#line 319 "../../../texk/detex/detex-src/detex.l" NEWLINE; YY_BREAK case 92: YY_RULE_SETUP -#line 320 "detex.l" +#line 320 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 93: YY_RULE_SETUP -#line 322 "detex.l" +#line 322 "../../../texk/detex/detex-src/detex.l" /* math mode */ {BEGIN Math; IGNORE;} YY_BREAK case 94: YY_RULE_SETUP -#line 323 "detex.l" +#line 323 "../../../texk/detex/detex-src/detex.l" BEGIN Normal; YY_BREAK case 95: /* rule 95 can match eol */ YY_RULE_SETUP -#line 324 "detex.l" +#line 324 "../../../texk/detex/detex-src/detex.l" NEWLINE; YY_BREAK case 96: YY_RULE_SETUP -#line 325 "detex.l" +#line 325 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 97: YY_RULE_SETUP -#line 326 "detex.l" +#line 326 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 98: YY_RULE_SETUP -#line 328 "detex.l" +#line 328 "../../../texk/detex/detex-src/detex.l" /* process files */ {LaBEGIN LaInclude; IGNORE;} YY_BREAK case 99: YY_RULE_SETUP -#line 329 "detex.l" +#line 329 "../../../texk/detex/detex-src/detex.l" { IncludeFile(yytext); BEGIN Normal; } @@ -2459,27 +2482,27 @@ YY_RULE_SETUP case 100: /* rule 100 can match eol */ YY_RULE_SETUP -#line 332 "detex.l" +#line 332 "../../../texk/detex/detex-src/detex.l" NEWLINE; YY_BREAK case 101: YY_RULE_SETUP -#line 333 "detex.l" +#line 333 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 102: YY_RULE_SETUP -#line 335 "detex.l" +#line 335 "../../../texk/detex/detex-src/detex.l" {BEGIN IncludeOnly; IGNORE;} YY_BREAK case 103: YY_RULE_SETUP -#line 336 "detex.l" +#line 336 "../../../texk/detex/detex-src/detex.l" AddInclude(yytext); YY_BREAK case 104: YY_RULE_SETUP -#line 337 "detex.l" +#line 337 "../../../texk/detex/detex-src/detex.l" { if (csbIncList == 0) rgsbIncList[csbIncList++] = '\0'; BEGIN Normal; @@ -2488,22 +2511,22 @@ YY_RULE_SETUP case 105: /* rule 105 can match eol */ YY_RULE_SETUP -#line 341 "detex.l" +#line 341 "../../../texk/detex/detex-src/detex.l" NEWLINE; YY_BREAK case 106: YY_RULE_SETUP -#line 342 "detex.l" +#line 342 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 107: YY_RULE_SETUP -#line 344 "detex.l" +#line 344 "../../../texk/detex/detex-src/detex.l" {BEGIN Input; IGNORE;} YY_BREAK case 108: YY_RULE_SETUP -#line 345 "detex.l" +#line 345 "../../../texk/detex/detex-src/detex.l" { InputFile(yytext); BEGIN Normal; } @@ -2511,55 +2534,55 @@ YY_RULE_SETUP case 109: /* rule 109 can match eol */ YY_RULE_SETUP -#line 348 "detex.l" +#line 348 "../../../texk/detex/detex-src/detex.l" NEWLINE; YY_BREAK case 110: YY_RULE_SETUP -#line 349 "detex.l" +#line 349 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 111: /* rule 111 can match eol */ YY_RULE_SETUP -#line 351 "detex.l" +#line 351 "../../../texk/detex/detex-src/detex.l" /* handle ligatures */ {(void)printf("%.2s", yytext+1);} YY_BREAK case 112: /* rule 112 can match eol */ YY_RULE_SETUP -#line 352 "detex.l" +#line 352 "../../../texk/detex/detex-src/detex.l" {(void)printf("%.1s", yytext+1);} YY_BREAK case 113: YY_RULE_SETUP -#line 353 "detex.l" +#line 353 "../../../texk/detex/detex-src/detex.l" BEGIN LaBreak; YY_BREAK case 114: YY_RULE_SETUP -#line 355 "detex.l" +#line 355 "../../../texk/detex/detex-src/detex.l" /* ignore other \cs */ {BEGIN Control; IGNORE;} YY_BREAK case 115: YY_RULE_SETUP -#line 356 "detex.l" +#line 356 "../../../texk/detex/detex-src/detex.l" SPACE; YY_BREAK case 116: /* rule 116 can match eol */ YY_RULE_SETUP -#line 357 "detex.l" +#line 357 "../../../texk/detex/detex-src/detex.l" NEWLINE; YY_BREAK case 117: YY_RULE_SETUP -#line 358 "detex.l" +#line 358 "../../../texk/detex/detex-src/detex.l" IGNORE; YY_BREAK case 118: YY_RULE_SETUP -#line 359 "detex.l" +#line 359 "../../../texk/detex/detex-src/detex.l" { if (yytext==NULL || strlen(yytext)==0 || atoi(yytext)==4) NEWLINE; @@ -2568,48 +2591,48 @@ YY_RULE_SETUP YY_BREAK case 119: YY_RULE_SETUP -#line 365 "detex.l" +#line 365 "../../../texk/detex/detex-src/detex.l" IGNORE; YY_BREAK case 120: YY_RULE_SETUP -#line 366 "detex.l" +#line 366 "../../../texk/detex/detex-src/detex.l" IGNORE; YY_BREAK case 121: /* rule 121 can match eol */ YY_RULE_SETUP -#line 367 "detex.l" +#line 367 "../../../texk/detex/detex-src/detex.l" {BEGIN Normal; NEWLINE;} YY_BREAK case 122: YY_RULE_SETUP -#line 368 "detex.l" +#line 368 "../../../texk/detex/detex-src/detex.l" {BEGIN Normal; IGNORE;} YY_BREAK case 123: YY_RULE_SETUP -#line 369 "detex.l" +#line 369 "../../../texk/detex/detex-src/detex.l" {yyless(0);BEGIN Normal;} YY_BREAK case 124: YY_RULE_SETUP -#line 371 "detex.l" +#line 371 "../../../texk/detex/detex-src/detex.l" /* special characters */ IGNORE; YY_BREAK case 125: YY_RULE_SETUP -#line 372 "detex.l" +#line 372 "../../../texk/detex/detex-src/detex.l" IGNORE; YY_BREAK case 126: YY_RULE_SETUP -#line 373 "detex.l" +#line 373 "../../../texk/detex/detex-src/detex.l" SPACE; YY_BREAK case 127: YY_RULE_SETUP -#line 375 "detex.l" +#line 375 "../../../texk/detex/detex-src/detex.l" { if (fWord) (void)printf("%s\n", yytext); else @@ -2618,28 +2641,28 @@ YY_RULE_SETUP YY_BREAK case 128: YY_RULE_SETUP -#line 380 "detex.l" +#line 380 "../../../texk/detex/detex-src/detex.l" if (!fWord) ECHO; YY_BREAK case 129: /* rule 129 can match eol */ YY_RULE_SETUP -#line 381 "detex.l" +#line 381 "../../../texk/detex/detex-src/detex.l" if (!fWord) ECHO; YY_BREAK case 130: YY_RULE_SETUP -#line 383 "detex.l" +#line 383 "../../../texk/detex/detex-src/detex.l" { BEGIN LaOptArg; } YY_BREAK case 131: YY_RULE_SETUP -#line 384 "detex.l" +#line 384 "../../../texk/detex/detex-src/detex.l" { cOpenBrace++; } YY_BREAK case 132: YY_RULE_SETUP -#line 385 "detex.l" +#line 385 "../../../texk/detex/detex-src/detex.l" { cOpenBrace--; if (cOpenBrace == 0) { @@ -2650,28 +2673,28 @@ YY_RULE_SETUP YY_BREAK case 133: YY_RULE_SETUP -#line 392 "detex.l" +#line 392 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 134: YY_RULE_SETUP -#line 393 "detex.l" +#line 393 "../../../texk/detex/detex-src/detex.l" BEGIN LaMacro; YY_BREAK case 135: /* rule 135 can match eol */ YY_RULE_SETUP -#line 394 "detex.l" +#line 394 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 136: YY_RULE_SETUP -#line 396 "detex.l" +#line 396 "../../../texk/detex/detex-src/detex.l" { BEGIN LaOptArg2; } YY_BREAK case 137: YY_RULE_SETUP -#line 397 "detex.l" +#line 397 "../../../texk/detex/detex-src/detex.l" { if (cOpenBrace == 0) { if (--cArgs==0) @@ -2685,30 +2708,30 @@ YY_RULE_SETUP YY_BREAK case 138: YY_RULE_SETUP -#line 407 "detex.l" +#line 407 "../../../texk/detex/detex-src/detex.l" { cOpenBrace--; } YY_BREAK case 139: YY_RULE_SETUP -#line 408 "detex.l" +#line 408 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 140: YY_RULE_SETUP -#line 409 "detex.l" +#line 409 "../../../texk/detex/detex-src/detex.l" BEGIN LaMacro2; YY_BREAK case 141: YY_RULE_SETUP -#line 410 "detex.l" +#line 410 "../../../texk/detex/detex-src/detex.l" ; YY_BREAK case 142: YY_RULE_SETUP -#line 411 "detex.l" +#line 411 "../../../texk/detex/detex-src/detex.l" ECHO; YY_BREAK -#line 2712 "detex.c" +#line 2735 "../../../texk/detex/detex-src/detex.c" case YY_STATE_EOF(INITIAL): case YY_STATE_EOF(Define): case YY_STATE_EOF(Display): @@ -2872,9 +2895,9 @@ case YY_STATE_EOF(LaPicture): */ static int yy_get_next_buffer (void) { - register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; - register char *source = (yytext_ptr); - register int number_to_move, i; + char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + char *source = (yytext_ptr); + yy_size_t number_to_move, i; int ret_val; if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) @@ -2903,7 +2926,7 @@ static int yy_get_next_buffer (void) /* Try to read more data. */ /* First move last chars to start of buffer. */ - number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; + number_to_move = (yy_size_t) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); @@ -3006,14 +3029,14 @@ static int yy_get_next_buffer (void) static yy_state_type yy_get_previous_state (void) { - register yy_state_type yy_current_state; - register char *yy_cp; + yy_state_type yy_current_state; + char *yy_cp; yy_current_state = (yy_start); for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; @@ -3038,10 +3061,10 @@ static int yy_get_next_buffer (void) */ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) { - register int yy_is_jam; - register char *yy_cp = (yy_c_buf_p); + int yy_is_jam; + char *yy_cp = (yy_c_buf_p); - register YY_CHAR yy_c = 1; + YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; @@ -3059,9 +3082,11 @@ static int yy_get_next_buffer (void) return yy_is_jam ? 0 : yy_current_state; } - static void yyunput (int c, register char * yy_bp ) +#ifndef YY_NO_UNPUT + + static void yyunput (int c, char * yy_bp ) { - register char *yy_cp; + char *yy_cp; yy_cp = (yy_c_buf_p); @@ -3071,10 +3096,10 @@ static int yy_get_next_buffer (void) if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ - register yy_size_t number_to_move = (yy_n_chars) + 2; - register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ + yy_size_t number_to_move = (yy_n_chars) + 2; + char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; - register char *source = + char *source = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) @@ -3096,6 +3121,8 @@ static int yy_get_next_buffer (void) (yy_c_buf_p) = yy_cp; } +#endif + #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) @@ -3245,7 +3272,7 @@ static void yy_load_buffer_state (void) if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - b->yy_buf_size = size; + b->yy_buf_size = (yy_size_t)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. @@ -3400,7 +3427,7 @@ static void yyensure_buffer_stack (void) * 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; + num_to_alloc = 1; // After all that talk, this was set to 1 anyways... (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); @@ -3417,7 +3444,7 @@ static void yyensure_buffer_stack (void) if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ - int grow_size = 8 /* arbitrary grow size */; + yy_size_t grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc @@ -3525,7 +3552,7 @@ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len static void yy_fatal_error (yyconst char* msg ) { - (void) fprintf( stderr, "%s\n", msg ); + (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } @@ -3591,29 +3618,29 @@ char *yyget_text (void) } /** Set the current line number. - * @param line_number + * @param _line_number 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) @@ -3621,9 +3648,9 @@ 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) @@ -3683,7 +3710,8 @@ int yylex_destroy (void) #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { - register int i; + + int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } @@ -3692,7 +3720,7 @@ static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { - register int n; + int n; for ( n = 0; s[n]; ++n ) ; @@ -3702,11 +3730,12 @@ static int yy_flex_strlen (yyconst char * s ) 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 @@ -3719,12 +3748,12 @@ void *yyrealloc (void * ptr, yy_size_t size ) 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 411 "detex.l" +#line 411 "../../../texk/detex/detex-src/detex.l" /****** diff --git a/Build/source/texk/web2c/omegafonts/pl-lexer.c b/Build/source/texk/web2c/omegafonts/pl-lexer.c index e7294924b0a..58b937eb954 100644 --- a/Build/source/texk/web2c/omegafonts/pl-lexer.c +++ b/Build/source/texk/web2c/omegafonts/pl-lexer.c @@ -1,5 +1,5 @@ -#line 3 "pl-lexer.c" +#line 3 "../../../../texk/web2c/omegafonts/pl-lexer.c" #define YY_INT_ALIGNED short int @@ -7,8 +7,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 @@ -141,7 +141,15 @@ typedef unsigned int flex_uint32_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 /* The state buf must be large enough to hold one state per character in the main buffer. @@ -368,6 +376,9 @@ extern char 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 @@ -484,7 +495,7 @@ static yyconst flex_int16_t yy_accept[800] = } ; -static yyconst flex_int32_t yy_ec[256] = +static yyconst YY_CHAR yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -516,7 +527,7 @@ static yyconst flex_int32_t yy_ec[256] = 1, 1, 1, 1, 1 } ; -static yyconst flex_int32_t yy_meta[42] = +static yyconst YY_CHAR yy_meta[42] = { 0, 1, 2, 3, 1, 1, 4, 4, 1, 5, 5, 5, 5, 5, 5, 6, 1, 7, 7, 7, 7, @@ -525,7 +536,7 @@ static yyconst flex_int32_t yy_meta[42] = 1 } ; -static yyconst flex_int16_t yy_base[806] = +static yyconst flex_uint16_t yy_base[806] = { 0, 0, 0, 848, 849, 845, 849, 849, 849, 819, 15, 18, 53, 42, 806, 44, 817, 43, 806, 809, 32, @@ -711,7 +722,7 @@ static yyconst flex_int16_t yy_def[806] = 799, 799, 799, 799, 799 } ; -static yyconst flex_int16_t yy_nxt[891] = +static yyconst flex_uint16_t yy_nxt[891] = { 0, 4, 5, 6, 7, 8, 4, 4, 9, 4, 4, 4, 4, 4, 4, 4, 4, 10, 11, 12, 13, @@ -947,8 +958,8 @@ int yy_flex_debug = 0; char yytext[YYLMAX]; char *yytext_ptr; -#line 1 "pl-lexer.l" -#line 4 "pl-lexer.l" +#line 1 "../../../../texk/web2c/omegafonts/pl-lexer.l" +#line 4 "../../../../texk/web2c/omegafonts/pl-lexer.l" /* pl-lexer.l: Lexical analysis of property list files. This file is part of Omega, @@ -1006,7 +1017,7 @@ static void scan_hex_string(void); /* For Solaris's lex, to increase tables sizes --RP */ /* Space before number keeps ancient flex happy. */ -#line 1010 "pl-lexer.c" +#line 1021 "../../../../texk/web2c/omegafonts/pl-lexer.c" #define INITIAL 0 @@ -1039,11 +1050,11 @@ void yyset_extra (YY_EXTRA_TYPE user_defined ); 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 ); @@ -1051,7 +1062,7 @@ char *yyget_text (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. @@ -1065,8 +1076,12 @@ extern int yywrap (void ); #endif #endif +#ifndef YY_NO_UNPUT + static void yyunput (int c,char *buf_ptr ); +#endif + #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif @@ -1087,7 +1102,12 @@ static int input (void ); /* 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. */ @@ -1174,7 +1194,7 @@ extern int yylex (void); /* Code executed at the end of each rule. */ #ifndef YY_BREAK -#define YY_BREAK break; +#define YY_BREAK /*LINTED*/break; #endif #define YY_RULE_SETUP \ @@ -1184,9 +1204,9 @@ extern int yylex (void); */ YY_DECL { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; + yy_state_type yy_current_state; + char *yy_cp, *yy_bp; + int yy_act; if ( !(yy_init) ) { @@ -1215,12 +1235,12 @@ YY_DECL } { -#line 74 "pl-lexer.l" +#line 74 "../../../../texk/web2c/omegafonts/pl-lexer.l" -#line 1222 "pl-lexer.c" +#line 1242 "../../../../texk/web2c/omegafonts/pl-lexer.c" - while ( 1 ) /* loops until end-of-file is reached */ + while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); @@ -1236,7 +1256,7 @@ YY_DECL yy_match: do { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; + YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; @@ -1283,1041 +1303,1041 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 76 "pl-lexer.l" +#line 76 "../../../../texk/web2c/omegafonts/pl-lexer.l" {} YY_BREAK case 2: /* rule 2 can match eol */ YY_RULE_SETUP -#line 77 "pl-lexer.l" +#line 77 "../../../../texk/web2c/omegafonts/pl-lexer.l" {line_number++; } YY_BREAK case 3: YY_RULE_SETUP -#line 79 "pl-lexer.l" +#line 79 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(LEFT); YY_BREAK case 4: YY_RULE_SETUP -#line 80 "pl-lexer.l" +#line 80 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(RIGHT); YY_BREAK case 5: YY_RULE_SETUP -#line 82 "pl-lexer.l" +#line 82 "../../../../texk/web2c/omegafonts/pl-lexer.l" {scan_int(8); return(NUMBER); } YY_BREAK case 6: YY_RULE_SETUP -#line 83 "pl-lexer.l" +#line 83 "../../../../texk/web2c/omegafonts/pl-lexer.l" {scan_int(10); return(NUMBER); } YY_BREAK case 7: YY_RULE_SETUP -#line 84 "pl-lexer.l" +#line 84 "../../../../texk/web2c/omegafonts/pl-lexer.l" {scan_int(16); return(NUMBER); } YY_BREAK case 8: YY_RULE_SETUP -#line 85 "pl-lexer.l" +#line 85 "../../../../texk/web2c/omegafonts/pl-lexer.l" {scan_char(); return(NUMBER); } YY_BREAK case 9: YY_RULE_SETUP -#line 86 "pl-lexer.l" +#line 86 "../../../../texk/web2c/omegafonts/pl-lexer.l" {scan_fix(); return(FIX); } YY_BREAK case 10: YY_RULE_SETUP -#line 88 "pl-lexer.l" +#line 88 "../../../../texk/web2c/omegafonts/pl-lexer.l" {scan_string("CODINGSCHEME", KEEP_CONVERT, LEN_CODING_SCHEME); return(CODINGSCHEME); } YY_BREAK case 11: YY_RULE_SETUP -#line 90 "pl-lexer.l" +#line 90 "../../../../texk/web2c/omegafonts/pl-lexer.l" {scan_string("FAMILY", KEEP_CONVERT, LEN_FAMILY); return(FAMILY); } YY_BREAK case 12: YY_RULE_SETUP -#line 92 "pl-lexer.l" +#line 92 "../../../../texk/web2c/omegafonts/pl-lexer.l" {scan_string("VTITLE", KEEP_ALL, LEN_VTITLE); return(VTITLE); } YY_BREAK case 13: YY_RULE_SETUP -#line 94 "pl-lexer.l" +#line 94 "../../../../texk/web2c/omegafonts/pl-lexer.l" {scan_string("FONTNAME", KEEP_ALL, LEN_FONT_NAME); return(FONTNAME); } YY_BREAK case 14: YY_RULE_SETUP -#line 96 "pl-lexer.l" +#line 96 "../../../../texk/web2c/omegafonts/pl-lexer.l" {scan_string("FONTAREA", KEEP_ALL, LEN_FONT_AREA); return(FONTAREA); } YY_BREAK case 15: YY_RULE_SETUP -#line 98 "pl-lexer.l" +#line 98 "../../../../texk/web2c/omegafonts/pl-lexer.l" {scan_string("SPECIAL", KEEP_ALL, 0); return(SPECIAL); } YY_BREAK case 16: YY_RULE_SETUP -#line 100 "pl-lexer.l" +#line 100 "../../../../texk/web2c/omegafonts/pl-lexer.l" {scan_string("COMMENT", KEEP_NONE, 0); return(COMMENT); } YY_BREAK case 17: YY_RULE_SETUP -#line 103 "pl-lexer.l" +#line 103 "../../../../texk/web2c/omegafonts/pl-lexer.l" {scan_hex_string(); return(SPECIALHEX); } YY_BREAK case 18: YY_RULE_SETUP -#line 106 "pl-lexer.l" +#line 106 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint=1; return(SEVENBITSAFEFLAG); } YY_BREAK case 19: YY_RULE_SETUP -#line 107 "pl-lexer.l" +#line 107 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint=0; return(SEVENBITSAFEFLAG); } YY_BREAK case 20: YY_RULE_SETUP -#line 109 "pl-lexer.l" +#line 109 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(CHECKSUM); YY_BREAK case 21: YY_RULE_SETUP -#line 110 "pl-lexer.l" +#line 110 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(DESIGNSIZE); YY_BREAK case 22: YY_RULE_SETUP -#line 111 "pl-lexer.l" +#line 111 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(DESIGNUNITS); YY_BREAK case 23: YY_RULE_SETUP -#line 112 "pl-lexer.l" +#line 112 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(FACE); YY_BREAK case 24: YY_RULE_SETUP -#line 113 "pl-lexer.l" +#line 113 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(HEADER); YY_BREAK case 25: YY_RULE_SETUP -#line 114 "pl-lexer.l" +#line 114 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(BOUNDARYCHAR); YY_BREAK case 26: YY_RULE_SETUP -#line 115 "pl-lexer.l" +#line 115 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(FONTDIMEN); YY_BREAK case 27: YY_RULE_SETUP -#line 116 "pl-lexer.l" +#line 116 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(LIGTABLE); YY_BREAK case 28: YY_RULE_SETUP -#line 117 "pl-lexer.l" +#line 117 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(CHARACTER); YY_BREAK case 29: YY_RULE_SETUP -#line 119 "pl-lexer.l" +#line 119 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(PARAMETER); YY_BREAK case 30: YY_RULE_SETUP -#line 120 "pl-lexer.l" +#line 120 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(LABEL); YY_BREAK case 31: YY_RULE_SETUP -#line 121 "pl-lexer.l" +#line 121 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(KRN); YY_BREAK case 32: YY_RULE_SETUP -#line 122 "pl-lexer.l" +#line 122 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(STOP); YY_BREAK case 33: YY_RULE_SETUP -#line 123 "pl-lexer.l" +#line 123 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(SKIP); YY_BREAK case 34: YY_RULE_SETUP -#line 124 "pl-lexer.l" +#line 124 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(NEXTLARGER); YY_BREAK case 35: YY_RULE_SETUP -#line 125 "pl-lexer.l" +#line 125 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(VARCHAR); YY_BREAK case 36: YY_RULE_SETUP -#line 127 "pl-lexer.l" +#line 127 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_WD; return(CHARMEASURE); } YY_BREAK case 37: YY_RULE_SETUP -#line 128 "pl-lexer.l" +#line 128 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_HT; return(CHARMEASURE); } YY_BREAK case 38: YY_RULE_SETUP -#line 129 "pl-lexer.l" +#line 129 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_DP; return(CHARMEASURE); } YY_BREAK case 39: YY_RULE_SETUP -#line 130 "pl-lexer.l" +#line 130 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_IC; return(CHARMEASURE); } YY_BREAK case 40: YY_RULE_SETUP -#line 132 "pl-lexer.l" +#line 132 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = E_TOP; return(EXTEN); } YY_BREAK case 41: YY_RULE_SETUP -#line 133 "pl-lexer.l" +#line 133 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = E_MID; return(EXTEN); } YY_BREAK case 42: YY_RULE_SETUP -#line 134 "pl-lexer.l" +#line 134 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = E_BOT; return(EXTEN); } YY_BREAK case 43: YY_RULE_SETUP -#line 135 "pl-lexer.l" +#line 135 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = E_REP; return(EXTEN); } YY_BREAK case 44: YY_RULE_SETUP -#line 137 "pl-lexer.l" +#line 137 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = L_0; return(LIG); } YY_BREAK case 45: YY_RULE_SETUP -#line 138 "pl-lexer.l" +#line 138 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = L_B; return(LIG); } YY_BREAK case 46: YY_RULE_SETUP -#line 139 "pl-lexer.l" +#line 139 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = L_A; return(LIG); } YY_BREAK case 47: YY_RULE_SETUP -#line 140 "pl-lexer.l" +#line 140 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = L_AB; return(LIG); } YY_BREAK case 48: YY_RULE_SETUP -#line 141 "pl-lexer.l" +#line 141 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = L_Bx; return(LIG); } YY_BREAK case 49: YY_RULE_SETUP -#line 142 "pl-lexer.l" +#line 142 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = L_Ax; return(LIG); } YY_BREAK case 50: YY_RULE_SETUP -#line 143 "pl-lexer.l" +#line 143 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = L_ABx; return(LIG); } YY_BREAK case 51: YY_RULE_SETUP -#line 144 "pl-lexer.l" +#line 144 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = L_ABxx; return(LIG); } YY_BREAK case 52: YY_RULE_SETUP -#line 146 "pl-lexer.l" +#line 146 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_MRR; return(NUMBER); } YY_BREAK case 53: YY_RULE_SETUP -#line 147 "pl-lexer.l" +#line 147 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_MIR; return(NUMBER); } YY_BREAK case 54: YY_RULE_SETUP -#line 148 "pl-lexer.l" +#line 148 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_BRR; return(NUMBER); } YY_BREAK case 55: YY_RULE_SETUP -#line 149 "pl-lexer.l" +#line 149 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_BIR; return(NUMBER); } YY_BREAK case 56: YY_RULE_SETUP -#line 150 "pl-lexer.l" +#line 150 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_LRR; return(NUMBER); } YY_BREAK case 57: YY_RULE_SETUP -#line 151 "pl-lexer.l" +#line 151 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_LIR; return(NUMBER); } YY_BREAK case 58: YY_RULE_SETUP -#line 152 "pl-lexer.l" +#line 152 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_MRC; return(NUMBER); } YY_BREAK case 59: YY_RULE_SETUP -#line 153 "pl-lexer.l" +#line 153 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_MIC; return(NUMBER); } YY_BREAK case 60: YY_RULE_SETUP -#line 154 "pl-lexer.l" +#line 154 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_BRC; return(NUMBER); } YY_BREAK case 61: YY_RULE_SETUP -#line 155 "pl-lexer.l" +#line 155 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_BIC; return(NUMBER); } YY_BREAK case 62: YY_RULE_SETUP -#line 156 "pl-lexer.l" +#line 156 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_LRC; return(NUMBER); } YY_BREAK case 63: YY_RULE_SETUP -#line 157 "pl-lexer.l" +#line 157 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_LIC; return(NUMBER); } YY_BREAK case 64: YY_RULE_SETUP -#line 158 "pl-lexer.l" +#line 158 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_MRE; return(NUMBER); } YY_BREAK case 65: YY_RULE_SETUP -#line 159 "pl-lexer.l" +#line 159 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_MIE; return(NUMBER); } YY_BREAK case 66: YY_RULE_SETUP -#line 160 "pl-lexer.l" +#line 160 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_BRE; return(NUMBER); } YY_BREAK case 67: YY_RULE_SETUP -#line 161 "pl-lexer.l" +#line 161 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_BIE; return(NUMBER); } YY_BREAK case 68: YY_RULE_SETUP -#line 162 "pl-lexer.l" +#line 162 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_LRE; return(NUMBER); } YY_BREAK case 69: YY_RULE_SETUP -#line 163 "pl-lexer.l" +#line 163 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = F_LIE; return(NUMBER); } YY_BREAK case 70: YY_RULE_SETUP -#line 165 "pl-lexer.l" +#line 165 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_SLANT; return(NAMEDPARAMETER); } YY_BREAK case 71: YY_RULE_SETUP -#line 166 "pl-lexer.l" +#line 166 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_SPACE; return(NAMEDPARAMETER); } YY_BREAK case 72: YY_RULE_SETUP -#line 167 "pl-lexer.l" +#line 167 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_STRETCH; return(NAMEDPARAMETER); } YY_BREAK case 73: YY_RULE_SETUP -#line 168 "pl-lexer.l" +#line 168 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_SHRINK; return(NAMEDPARAMETER); } YY_BREAK case 74: YY_RULE_SETUP -#line 169 "pl-lexer.l" +#line 169 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_XHEIGHT; return(NAMEDPARAMETER); } YY_BREAK case 75: YY_RULE_SETUP -#line 170 "pl-lexer.l" +#line 170 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_QUAD; return(NAMEDPARAMETER); } YY_BREAK case 76: YY_RULE_SETUP -#line 171 "pl-lexer.l" +#line 171 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_EXTRASPACE; return(NAMEDPARAMETER); } YY_BREAK case 77: YY_RULE_SETUP -#line 172 "pl-lexer.l" +#line 172 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_NUM1; return(NAMEDPARAMETER); } YY_BREAK case 78: YY_RULE_SETUP -#line 173 "pl-lexer.l" +#line 173 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_NUM2; return(NAMEDPARAMETER); } YY_BREAK case 79: YY_RULE_SETUP -#line 174 "pl-lexer.l" +#line 174 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_NUM3; return(NAMEDPARAMETER); } YY_BREAK case 80: YY_RULE_SETUP -#line 175 "pl-lexer.l" +#line 175 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_DENOM1; return(NAMEDPARAMETER); } YY_BREAK case 81: YY_RULE_SETUP -#line 176 "pl-lexer.l" +#line 176 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_DENOM2; return(NAMEDPARAMETER); } YY_BREAK case 82: YY_RULE_SETUP -#line 177 "pl-lexer.l" +#line 177 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_SUP1; return(NAMEDPARAMETER); } YY_BREAK case 83: YY_RULE_SETUP -#line 178 "pl-lexer.l" +#line 178 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_SUP2; return(NAMEDPARAMETER); } YY_BREAK case 84: YY_RULE_SETUP -#line 179 "pl-lexer.l" +#line 179 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_SUP3; return(NAMEDPARAMETER); } YY_BREAK case 85: YY_RULE_SETUP -#line 180 "pl-lexer.l" +#line 180 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_SUB1; return(NAMEDPARAMETER); } YY_BREAK case 86: YY_RULE_SETUP -#line 181 "pl-lexer.l" +#line 181 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_SUB2; return(NAMEDPARAMETER); } YY_BREAK case 87: YY_RULE_SETUP -#line 182 "pl-lexer.l" +#line 182 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_SUPDROP; return(NAMEDPARAMETER); } YY_BREAK case 88: YY_RULE_SETUP -#line 183 "pl-lexer.l" +#line 183 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_SUBDROP; return(NAMEDPARAMETER); } YY_BREAK case 89: YY_RULE_SETUP -#line 184 "pl-lexer.l" +#line 184 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_DELIM1; return(NAMEDPARAMETER); } YY_BREAK case 90: YY_RULE_SETUP -#line 185 "pl-lexer.l" +#line 185 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_DELIM2; return(NAMEDPARAMETER); } YY_BREAK case 91: YY_RULE_SETUP -#line 186 "pl-lexer.l" +#line 186 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_AXISHEIGHT; return(NAMEDPARAMETER); } YY_BREAK case 92: YY_RULE_SETUP -#line 188 "pl-lexer.l" +#line 188 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_DEFAULTRULETHICKNESS; return(NAMEDPARAMETER); } YY_BREAK case 93: YY_RULE_SETUP -#line 190 "pl-lexer.l" +#line 190 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_BIGOPSPACING1; return(NAMEDPARAMETER); } YY_BREAK case 94: YY_RULE_SETUP -#line 191 "pl-lexer.l" +#line 191 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_BIGOPSPACING2; return(NAMEDPARAMETER); } YY_BREAK case 95: YY_RULE_SETUP -#line 192 "pl-lexer.l" +#line 192 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_BIGOPSPACING3; return(NAMEDPARAMETER); } YY_BREAK case 96: YY_RULE_SETUP -#line 193 "pl-lexer.l" +#line 193 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_BIGOPSPACING4; return(NAMEDPARAMETER); } YY_BREAK case 97: YY_RULE_SETUP -#line 194 "pl-lexer.l" +#line 194 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = P_BIGOPSPACING5; return(NAMEDPARAMETER); } YY_BREAK case 98: YY_RULE_SETUP -#line 196 "pl-lexer.l" +#line 196 "../../../../texk/web2c/omegafonts/pl-lexer.l" {return(MAPFONT); } YY_BREAK case 99: YY_RULE_SETUP -#line 197 "pl-lexer.l" +#line 197 "../../../../texk/web2c/omegafonts/pl-lexer.l" {return(FONTCHECKSUM); } YY_BREAK case 100: YY_RULE_SETUP -#line 198 "pl-lexer.l" +#line 198 "../../../../texk/web2c/omegafonts/pl-lexer.l" {return(FONTAT); } YY_BREAK case 101: YY_RULE_SETUP -#line 199 "pl-lexer.l" +#line 199 "../../../../texk/web2c/omegafonts/pl-lexer.l" {return(FONTDSIZE); } YY_BREAK case 102: YY_RULE_SETUP -#line 200 "pl-lexer.l" +#line 200 "../../../../texk/web2c/omegafonts/pl-lexer.l" {return(MAP); } YY_BREAK case 103: YY_RULE_SETUP -#line 201 "pl-lexer.l" +#line 201 "../../../../texk/web2c/omegafonts/pl-lexer.l" {return(SELECTFONT); } YY_BREAK case 104: YY_RULE_SETUP -#line 202 "pl-lexer.l" +#line 202 "../../../../texk/web2c/omegafonts/pl-lexer.l" {return(SETCHAR); } YY_BREAK case 105: YY_RULE_SETUP -#line 203 "pl-lexer.l" +#line 203 "../../../../texk/web2c/omegafonts/pl-lexer.l" {return(SETRULE); } YY_BREAK case 106: YY_RULE_SETUP -#line 204 "pl-lexer.l" +#line 204 "../../../../texk/web2c/omegafonts/pl-lexer.l" {return(PUSH); } YY_BREAK case 107: YY_RULE_SETUP -#line 205 "pl-lexer.l" +#line 205 "../../../../texk/web2c/omegafonts/pl-lexer.l" {return(POP); } YY_BREAK case 108: YY_RULE_SETUP -#line 207 "pl-lexer.l" +#line 207 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = M_RIGHT; return(MOVE); } YY_BREAK case 109: YY_RULE_SETUP -#line 208 "pl-lexer.l" +#line 208 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = M_LEFT; return(MOVE); } YY_BREAK case 110: YY_RULE_SETUP -#line 209 "pl-lexer.l" +#line 209 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = M_UP; return(MOVE); } YY_BREAK case 111: YY_RULE_SETUP -#line 210 "pl-lexer.l" +#line 210 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = M_DOWN; return(MOVE); } YY_BREAK case 112: YY_RULE_SETUP -#line 212 "pl-lexer.l" +#line 212 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(OFMLEVEL); YY_BREAK case 113: YY_RULE_SETUP -#line 213 "pl-lexer.l" +#line 213 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = ACC_TOP; return(ACCENT); } YY_BREAK case 114: YY_RULE_SETUP -#line 214 "pl-lexer.l" +#line 214 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = ACC_MID; return(ACCENT); } YY_BREAK case 115: YY_RULE_SETUP -#line 215 "pl-lexer.l" +#line 215 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = ACC_BOT; return(ACCENT); } YY_BREAK case 116: YY_RULE_SETUP -#line 217 "pl-lexer.l" +#line 217 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_ORD+DIR_TL; return(FONTDIR);} YY_BREAK case 117: YY_RULE_SETUP -#line 218 "pl-lexer.l" +#line 218 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_ORD+DIR_LT; return(FONTDIR);} YY_BREAK case 118: YY_RULE_SETUP -#line 219 "pl-lexer.l" +#line 219 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_ORD+DIR_TR; return(FONTDIR);} YY_BREAK case 119: YY_RULE_SETUP -#line 220 "pl-lexer.l" +#line 220 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_ORD+DIR_LB; return(FONTDIR);} YY_BREAK case 120: YY_RULE_SETUP -#line 221 "pl-lexer.l" +#line 221 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_ORD+DIR_BL; return(FONTDIR);} YY_BREAK case 121: YY_RULE_SETUP -#line 222 "pl-lexer.l" +#line 222 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_ORD+DIR_RT; return(FONTDIR);} YY_BREAK case 122: YY_RULE_SETUP -#line 223 "pl-lexer.l" +#line 223 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_ORD+DIR_BR; return(FONTDIR);} YY_BREAK case 123: YY_RULE_SETUP -#line 224 "pl-lexer.l" +#line 224 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_ORD+DIR_RB; return(FONTDIR);} YY_BREAK case 124: YY_RULE_SETUP -#line 225 "pl-lexer.l" +#line 225 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_NAT+DIR_TL; return(FONTDIR);} YY_BREAK case 125: YY_RULE_SETUP -#line 226 "pl-lexer.l" +#line 226 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_NAT+DIR_LT; return(FONTDIR);} YY_BREAK case 126: YY_RULE_SETUP -#line 227 "pl-lexer.l" +#line 227 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_NAT+DIR_TR; return(FONTDIR);} YY_BREAK case 127: YY_RULE_SETUP -#line 228 "pl-lexer.l" +#line 228 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_NAT+DIR_LB; return(FONTDIR);} YY_BREAK case 128: YY_RULE_SETUP -#line 229 "pl-lexer.l" +#line 229 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_NAT+DIR_BL; return(FONTDIR);} YY_BREAK case 129: YY_RULE_SETUP -#line 230 "pl-lexer.l" +#line 230 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_NAT+DIR_RT; return(FONTDIR);} YY_BREAK case 130: YY_RULE_SETUP -#line 231 "pl-lexer.l" +#line 231 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_NAT+DIR_BR; return(FONTDIR);} YY_BREAK case 131: YY_RULE_SETUP -#line 232 "pl-lexer.l" +#line 232 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_NAT+DIR_RB; return(FONTDIR);} YY_BREAK /* for compatibility with the omegaware versions */ case 132: YY_RULE_SETUP -#line 234 "pl-lexer.l" +#line 234 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_NAT+DIR_TL; return(FONTDIR);} YY_BREAK case 133: YY_RULE_SETUP -#line 235 "pl-lexer.l" +#line 235 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_NAT+DIR_LT; return(FONTDIR);} YY_BREAK case 134: YY_RULE_SETUP -#line 236 "pl-lexer.l" +#line 236 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_NAT+DIR_TR; return(FONTDIR);} YY_BREAK case 135: YY_RULE_SETUP -#line 237 "pl-lexer.l" +#line 237 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_NAT+DIR_LB; return(FONTDIR);} YY_BREAK case 136: YY_RULE_SETUP -#line 238 "pl-lexer.l" +#line 238 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_NAT+DIR_BL; return(FONTDIR);} YY_BREAK case 137: YY_RULE_SETUP -#line 239 "pl-lexer.l" +#line 239 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_NAT+DIR_RT; return(FONTDIR);} YY_BREAK case 138: YY_RULE_SETUP -#line 240 "pl-lexer.l" +#line 240 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_NAT+DIR_BR; return(FONTDIR);} YY_BREAK case 139: YY_RULE_SETUP -#line 241 "pl-lexer.l" +#line 241 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = DIR_NAT+DIR_RB; return(FONTDIR);} YY_BREAK case 140: YY_RULE_SETUP -#line 243 "pl-lexer.l" +#line 243 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(FONTIVALUE); YY_BREAK case 141: YY_RULE_SETUP -#line 244 "pl-lexer.l" +#line 244 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(FONTFVALUE); YY_BREAK case 142: YY_RULE_SETUP -#line 245 "pl-lexer.l" +#line 245 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(FONTMVALUE); YY_BREAK case 143: YY_RULE_SETUP -#line 246 "pl-lexer.l" +#line 246 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(FONTPENALTY); YY_BREAK case 144: YY_RULE_SETUP -#line 247 "pl-lexer.l" +#line 247 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(FONTRULE); YY_BREAK case 145: YY_RULE_SETUP -#line 248 "pl-lexer.l" +#line 248 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(FONTGLUE); YY_BREAK case 146: YY_RULE_SETUP -#line 250 "pl-lexer.l" +#line 250 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(IVALUE); YY_BREAK case 147: YY_RULE_SETUP -#line 251 "pl-lexer.l" +#line 251 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(FVALUE); YY_BREAK case 148: YY_RULE_SETUP -#line 252 "pl-lexer.l" +#line 252 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(MVALUE); YY_BREAK case 149: YY_RULE_SETUP -#line 253 "pl-lexer.l" +#line 253 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(PENALTY); YY_BREAK case 150: YY_RULE_SETUP -#line 254 "pl-lexer.l" +#line 254 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(RULE); YY_BREAK case 151: YY_RULE_SETUP -#line 255 "pl-lexer.l" +#line 255 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(GLUE); YY_BREAK case 152: YY_RULE_SETUP -#line 257 "pl-lexer.l" +#line 257 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(IVALUEVAL); YY_BREAK case 153: YY_RULE_SETUP -#line 258 "pl-lexer.l" +#line 258 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(FVALUEVAL); YY_BREAK case 154: YY_RULE_SETUP -#line 259 "pl-lexer.l" +#line 259 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(MVALUEVAL); YY_BREAK case 155: YY_RULE_SETUP -#line 260 "pl-lexer.l" +#line 260 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(PENALTYVAL); YY_BREAK case 156: YY_RULE_SETUP -#line 262 "pl-lexer.l" +#line 262 "../../../../texk/web2c/omegafonts/pl-lexer.l" { yylval.yint = RULE_WD; return(RULEMEASURE); } YY_BREAK case 157: YY_RULE_SETUP -#line 263 "pl-lexer.l" +#line 263 "../../../../texk/web2c/omegafonts/pl-lexer.l" { yylval.yint = RULE_HT; return(RULEMEASURE); } YY_BREAK case 158: YY_RULE_SETUP -#line 264 "pl-lexer.l" +#line 264 "../../../../texk/web2c/omegafonts/pl-lexer.l" { yylval.yint = RULE_DP; return(RULEMEASURE); } YY_BREAK case 159: YY_RULE_SETUP -#line 266 "pl-lexer.l" +#line 266 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(GLUEWD); YY_BREAK case 160: YY_RULE_SETUP -#line 267 "pl-lexer.l" +#line 267 "../../../../texk/web2c/omegafonts/pl-lexer.l" { yylval.yint = GLUE_STRETCH; return(GLUESHRINKSTRETCH); } YY_BREAK case 161: YY_RULE_SETUP -#line 268 "pl-lexer.l" +#line 268 "../../../../texk/web2c/omegafonts/pl-lexer.l" { yylval.yint = GLUE_SHRINK; return(GLUESHRINKSTRETCH); } YY_BREAK case 162: YY_RULE_SETUP -#line 270 "pl-lexer.l" +#line 270 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(GLUETYPE); YY_BREAK case 163: YY_RULE_SETUP -#line 271 "pl-lexer.l" +#line 271 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(GLUERULE); YY_BREAK case 164: YY_RULE_SETUP -#line 272 "pl-lexer.l" +#line 272 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(GLUECHAR); YY_BREAK case 165: YY_RULE_SETUP -#line 274 "pl-lexer.l" +#line 274 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(CHARIVALUE); YY_BREAK case 166: YY_RULE_SETUP -#line 275 "pl-lexer.l" +#line 275 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(CHARFVALUE); YY_BREAK case 167: YY_RULE_SETUP -#line 276 "pl-lexer.l" +#line 276 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(CHARMVALUE); YY_BREAK case 168: YY_RULE_SETUP -#line 277 "pl-lexer.l" +#line 277 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(CHARPENALTY); YY_BREAK case 169: YY_RULE_SETUP -#line 278 "pl-lexer.l" +#line 278 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(CHARRULE); YY_BREAK case 170: YY_RULE_SETUP -#line 279 "pl-lexer.l" +#line 279 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(CHARGLUE); YY_BREAK case 171: YY_RULE_SETUP -#line 281 "pl-lexer.l" +#line 281 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(CKRN); YY_BREAK case 172: YY_RULE_SETUP -#line 282 "pl-lexer.l" +#line 282 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(CGLUE); YY_BREAK case 173: YY_RULE_SETUP -#line 283 "pl-lexer.l" +#line 283 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(CPENALTY); YY_BREAK case 174: YY_RULE_SETUP -#line 284 "pl-lexer.l" +#line 284 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(CPENGLUE); YY_BREAK case 175: YY_RULE_SETUP -#line 285 "pl-lexer.l" +#line 285 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(CLABEL); YY_BREAK case 176: YY_RULE_SETUP -#line 287 "pl-lexer.l" +#line 287 "../../../../texk/web2c/omegafonts/pl-lexer.l" return(CHARREPEAT); YY_BREAK case 177: YY_RULE_SETUP -#line 290 "pl-lexer.l" +#line 290 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = O_FILLL; return(GLUEORDER); } YY_BREAK case 178: YY_RULE_SETUP -#line 291 "pl-lexer.l" +#line 291 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = O_FILL; return(GLUEORDER); } YY_BREAK case 179: YY_RULE_SETUP -#line 292 "pl-lexer.l" +#line 292 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = O_FIL; return(GLUEORDER); } YY_BREAK case 180: YY_RULE_SETUP -#line 293 "pl-lexer.l" +#line 293 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = O_FI; return(GLUEORDER); } YY_BREAK case 181: YY_RULE_SETUP -#line 294 "pl-lexer.l" +#line 294 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = O_UNIT; return(GLUEORDER); } YY_BREAK case 182: YY_RULE_SETUP -#line 296 "pl-lexer.l" +#line 296 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = K_NORMAL; return(GLUEKIND); } YY_BREAK case 183: YY_RULE_SETUP -#line 297 "pl-lexer.l" +#line 297 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = K_ALEADERS; return(GLUEKIND); } YY_BREAK case 184: YY_RULE_SETUP -#line 298 "pl-lexer.l" +#line 298 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = K_CLEADERS; return(GLUEKIND); } YY_BREAK case 185: YY_RULE_SETUP -#line 299 "pl-lexer.l" +#line 299 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = K_XLEADERS; return(GLUEKIND); } YY_BREAK case 186: YY_RULE_SETUP -#line 301 "pl-lexer.l" +#line 301 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_SECWD; return(CHARMEASURE); } YY_BREAK case 187: YY_RULE_SETUP -#line 302 "pl-lexer.l" +#line 302 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_SECHT; return(CHARMEASURE); } YY_BREAK case 188: YY_RULE_SETUP -#line 303 "pl-lexer.l" +#line 303 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_SECDP; return(CHARMEASURE); } YY_BREAK case 189: YY_RULE_SETUP -#line 304 "pl-lexer.l" +#line 304 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_SECIC; return(CHARMEASURE); } YY_BREAK case 190: YY_RULE_SETUP -#line 306 "pl-lexer.l" +#line 306 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_P_TOPAXIS; return(CHARMEASURE); } YY_BREAK case 191: YY_RULE_SETUP -#line 307 "pl-lexer.l" +#line 307 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_P_TOPAXISBIs; return(CHARMEASURE); } YY_BREAK case 192: YY_RULE_SETUP -#line 308 "pl-lexer.l" +#line 308 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_P_BOTAXIS; return(CHARMEASURE); } YY_BREAK case 193: YY_RULE_SETUP -#line 309 "pl-lexer.l" +#line 309 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_P_BOTAXISBIS; return(CHARMEASURE); } YY_BREAK case 194: YY_RULE_SETUP -#line 310 "pl-lexer.l" +#line 310 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_P_MIDHOR; return(CHARMEASURE); } YY_BREAK case 195: YY_RULE_SETUP -#line 311 "pl-lexer.l" +#line 311 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_P_MIDVERT; return(CHARMEASURE); } YY_BREAK case 196: YY_RULE_SETUP -#line 312 "pl-lexer.l" +#line 312 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_P_BASESLANT; return(CHARMEASURE); } YY_BREAK case 197: YY_RULE_SETUP -#line 314 "pl-lexer.l" +#line 314 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_S_TOPAXIS; return(CHARMEASURE); } YY_BREAK case 198: YY_RULE_SETUP -#line 315 "pl-lexer.l" +#line 315 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_S_TOPAXISBIs; return(CHARMEASURE); } YY_BREAK case 199: YY_RULE_SETUP -#line 316 "pl-lexer.l" +#line 316 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_S_BOTAXIS; return(CHARMEASURE); } YY_BREAK case 200: YY_RULE_SETUP -#line 317 "pl-lexer.l" +#line 317 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_S_BOTAXISBIS; return(CHARMEASURE); } YY_BREAK case 201: YY_RULE_SETUP -#line 318 "pl-lexer.l" +#line 318 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_S_MIDHOR; return(CHARMEASURE); } YY_BREAK case 202: YY_RULE_SETUP -#line 319 "pl-lexer.l" +#line 319 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_S_MIDVERT; return(CHARMEASURE); } YY_BREAK case 203: YY_RULE_SETUP -#line 320 "pl-lexer.l" +#line 320 "../../../../texk/web2c/omegafonts/pl-lexer.l" {yylval.yint = C_S_BASESLANT; return(CHARMEASURE); } YY_BREAK case 204: YY_RULE_SETUP -#line 322 "pl-lexer.l" +#line 322 "../../../../texk/web2c/omegafonts/pl-lexer.l" {lex_error_1("unexpected character (%x); ignored", yytext[0]);} YY_BREAK case 205: YY_RULE_SETUP -#line 324 "pl-lexer.l" +#line 324 "../../../../texk/web2c/omegafonts/pl-lexer.l" ECHO; YY_BREAK -#line 2321 "pl-lexer.c" +#line 2341 "../../../../texk/web2c/omegafonts/pl-lexer.c" case YY_STATE_EOF(INITIAL): yyterminate(); @@ -2461,9 +2481,9 @@ case YY_STATE_EOF(INITIAL): */ static int yy_get_next_buffer (void) { - register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; - register char *source = (yytext_ptr); - register int number_to_move, i; + char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + char *source = (yytext_ptr); + yy_size_t number_to_move, i; int ret_val; if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) @@ -2492,7 +2512,7 @@ static int yy_get_next_buffer (void) /* Try to read more data. */ /* First move last chars to start of buffer. */ - number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; + number_to_move = (yy_size_t) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); @@ -2595,14 +2615,14 @@ static int yy_get_next_buffer (void) static yy_state_type yy_get_previous_state (void) { - register yy_state_type yy_current_state; - register char *yy_cp; + yy_state_type yy_current_state; + char *yy_cp; yy_current_state = (yy_start); for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; @@ -2627,10 +2647,10 @@ static int yy_get_next_buffer (void) */ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) { - register int yy_is_jam; - register char *yy_cp = (yy_c_buf_p); + int yy_is_jam; + char *yy_cp = (yy_c_buf_p); - register YY_CHAR yy_c = 1; + YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; @@ -2648,9 +2668,11 @@ static int yy_get_next_buffer (void) return yy_is_jam ? 0 : yy_current_state; } - static void yyunput (int c, register char * yy_bp ) +#ifndef YY_NO_UNPUT + + static void yyunput (int c, char * yy_bp ) { - register char *yy_cp; + char *yy_cp; yy_cp = (yy_c_buf_p); @@ -2660,10 +2682,10 @@ static int yy_get_next_buffer (void) if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ - register yy_size_t number_to_move = (yy_n_chars) + 2; - register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ + yy_size_t number_to_move = (yy_n_chars) + 2; + char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; - register char *source = + char *source = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) @@ -2689,6 +2711,8 @@ static int yy_get_next_buffer (void) (yy_c_buf_p) = yy_cp; } +#endif + #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) @@ -2843,7 +2867,7 @@ static void yy_load_buffer_state (void) if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - b->yy_buf_size = size; + b->yy_buf_size = (yy_size_t)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. @@ -2998,7 +3022,7 @@ static void yyensure_buffer_stack (void) * 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; + num_to_alloc = 1; // After all that talk, this was set to 1 anyways... (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); @@ -3015,7 +3039,7 @@ static void yyensure_buffer_stack (void) if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ - int grow_size = 8 /* arbitrary grow size */; + yy_size_t grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc @@ -3123,7 +3147,7 @@ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len static void yy_fatal_error (yyconst char* msg ) { - (void) fprintf( stderr, "%s\n", msg ); + (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } @@ -3189,29 +3213,29 @@ char *yyget_text (void) } /** Set the current line number. - * @param line_number + * @param _line_number 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) @@ -3219,9 +3243,9 @@ 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) @@ -3284,7 +3308,8 @@ int yylex_destroy (void) #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { - register int i; + + int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } @@ -3293,7 +3318,7 @@ static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { - register int n; + int n; for ( n = 0; s[n]; ++n ) ; @@ -3303,11 +3328,12 @@ static int yy_flex_strlen (yyconst char * s ) 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 @@ -3320,12 +3346,12 @@ void *yyrealloc (void * ptr, yy_size_t size ) 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 324 "pl-lexer.l" +#line 324 "../../../../texk/web2c/omegafonts/pl-lexer.l" diff --git a/Build/source/texk/web2c/otps/otp-lexer.c b/Build/source/texk/web2c/otps/otp-lexer.c index ae6c286a186..4f838a68a00 100644 --- a/Build/source/texk/web2c/otps/otp-lexer.c +++ b/Build/source/texk/web2c/otps/otp-lexer.c @@ -1,11 +1,11 @@ -#line 29 "otp-lexer.l" +#line 29 "../../../../texk/web2c/otps/otp-lexer.l" #include "routines.h" #include "yystype.h" #include "otp-parser.h" -#line 9 "otp-lexer.c" +#line 9 "../../../../texk/web2c/otps/otp-lexer.c" #define YY_INT_ALIGNED short int @@ -13,8 +13,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 @@ -147,7 +147,15 @@ typedef unsigned int flex_uint32_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 /* The state buf must be large enough to hold one state per character in the main buffer. @@ -374,6 +382,9 @@ extern char 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 @@ -414,7 +425,7 @@ static yyconst flex_int16_t yy_accept[102] = 0 } ; -static yyconst flex_int32_t yy_ec[256] = +static yyconst YY_CHAR yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, @@ -446,7 +457,7 @@ static yyconst flex_int32_t yy_ec[256] = 1, 1, 1, 1, 1 } ; -static yyconst flex_int32_t yy_meta[39] = +static yyconst YY_CHAR yy_meta[39] = { 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 2, 2, 2, 2, 2, 3, 4, 4, 2, @@ -454,7 +465,7 @@ static yyconst flex_int32_t yy_meta[39] = 4, 4, 4, 4, 4, 4, 4, 4 } ; -static yyconst flex_int16_t yy_base[107] = +static yyconst flex_uint16_t yy_base[107] = { 0, 0, 0, 130, 131, 131, 131, 126, 121, 124, 29, 112, 110, 34, 0, 0, 96, 99, 95, 12, 91, @@ -486,7 +497,7 @@ static yyconst flex_int16_t yy_def[107] = 0, 101, 101, 101, 101, 101 } ; -static yyconst flex_int16_t yy_nxt[170] = +static yyconst flex_uint16_t yy_nxt[170] = { 0, 4, 5, 6, 7, 5, 4, 8, 9, 4, 10, 10, 4, 11, 12, 4, 13, 14, 14, 4, 15, @@ -555,7 +566,7 @@ int yy_flex_debug = 0; char yytext[YYLMAX]; char *yytext_ptr; -#line 1 "otp-lexer.l" +#line 1 "../../../../texk/web2c/otps/otp-lexer.l" /* otp-lexer.l: Lexical analysis for OTP files This file is part of Omega, @@ -581,12 +592,12 @@ along with Omega; if not, write to the Free Software Foundation, Inc., */ -#line 35 "otp-lexer.l" +#line 35 "../../../../texk/web2c/otps/otp-lexer.l" #define YY_NO_UNPUT #define OTP_MAXCODE 0xFFFF int line_number = 1; extern YYSTYPE yylval; -#line 590 "otp-lexer.c" +#line 601 "../../../../texk/web2c/otps/otp-lexer.c" #define INITIAL 0 @@ -619,11 +630,11 @@ void yyset_extra (YY_EXTRA_TYPE user_defined ); 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 ); @@ -631,7 +642,7 @@ char *yyget_text (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. @@ -645,8 +656,12 @@ extern int yywrap (void ); #endif #endif +#ifndef YY_NO_UNPUT + static void yyunput (int c,char *buf_ptr ); +#endif + #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif @@ -667,7 +682,12 @@ static int input (void ); /* 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. */ @@ -754,7 +774,7 @@ extern int yylex (void); /* Code executed at the end of each rule. */ #ifndef YY_BREAK -#define YY_BREAK break; +#define YY_BREAK /*LINTED*/break; #endif #define YY_RULE_SETUP \ @@ -764,9 +784,9 @@ extern int yylex (void); */ YY_DECL { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; + yy_state_type yy_current_state; + char *yy_cp, *yy_bp; + int yy_act; if ( !(yy_init) ) { @@ -795,11 +815,11 @@ YY_DECL } { -#line 48 "otp-lexer.l" +#line 48 "../../../../texk/web2c/otps/otp-lexer.l" -#line 801 "otp-lexer.c" +#line 821 "../../../../texk/web2c/otps/otp-lexer.c" - while ( 1 ) /* loops until end-of-file is reached */ + while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); @@ -815,7 +835,7 @@ YY_DECL yy_match: do { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; + YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; @@ -862,24 +882,24 @@ do_action: /* This label is used only to access EOF actions. */ case 1: YY_RULE_SETUP -#line 49 "otp-lexer.l" +#line 49 "../../../../texk/web2c/otps/otp-lexer.l" {} YY_BREAK case 2: /* rule 2 can match eol */ YY_RULE_SETUP -#line 50 "otp-lexer.l" +#line 50 "../../../../texk/web2c/otps/otp-lexer.l" { line_number++;} YY_BREAK case 3: /* rule 3 can match eol */ YY_RULE_SETUP -#line 51 "otp-lexer.l" +#line 51 "../../../../texk/web2c/otps/otp-lexer.l" { line_number++;} YY_BREAK case 4: YY_RULE_SETUP -#line 52 "otp-lexer.l" +#line 52 "../../../../texk/web2c/otps/otp-lexer.l" { int i, j; yylval.yint=0; @@ -903,7 +923,7 @@ YY_RULE_SETUP YY_BREAK case 5: YY_RULE_SETUP -#line 72 "otp-lexer.l" +#line 72 "../../../../texk/web2c/otps/otp-lexer.l" { int i, j; yylval.yint=0; @@ -921,7 +941,7 @@ YY_RULE_SETUP YY_BREAK case 6: YY_RULE_SETUP -#line 86 "otp-lexer.l" +#line 86 "../../../../texk/web2c/otps/otp-lexer.l" { int i, j; yylval.yint=0; @@ -939,7 +959,7 @@ YY_RULE_SETUP YY_BREAK case 7: YY_RULE_SETUP -#line 100 "otp-lexer.l" +#line 100 "../../../../texk/web2c/otps/otp-lexer.l" { yylval.yint=yytext[1]; return(NUMBER); @@ -947,13 +967,13 @@ YY_RULE_SETUP YY_BREAK case 8: YY_RULE_SETUP -#line 104 "otp-lexer.l" +#line 104 "../../../../texk/web2c/otps/otp-lexer.l" { yylval.ystring=xstrdup(yytext); return(ID); } YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP -#line 105 "otp-lexer.l" +#line 105 "../../../../texk/web2c/otps/otp-lexer.l" { int i, j, last; char *newtext; @@ -973,85 +993,85 @@ YY_RULE_SETUP YY_BREAK case 10: YY_RULE_SETUP -#line 121 "otp-lexer.l" +#line 121 "../../../../texk/web2c/otps/otp-lexer.l" return(RIGHTARROW); YY_BREAK case 11: YY_RULE_SETUP -#line 122 "otp-lexer.l" +#line 122 "../../../../texk/web2c/otps/otp-lexer.l" return(LEFTARROW); YY_BREAK case 12: YY_RULE_SETUP -#line 123 "otp-lexer.l" +#line 123 "../../../../texk/web2c/otps/otp-lexer.l" return(INPUT); YY_BREAK case 13: YY_RULE_SETUP -#line 124 "otp-lexer.l" +#line 124 "../../../../texk/web2c/otps/otp-lexer.l" return(OUTPUT); YY_BREAK case 14: YY_RULE_SETUP -#line 125 "otp-lexer.l" +#line 125 "../../../../texk/web2c/otps/otp-lexer.l" return(ALIASES); YY_BREAK case 15: YY_RULE_SETUP -#line 126 "otp-lexer.l" +#line 126 "../../../../texk/web2c/otps/otp-lexer.l" return(STATES); YY_BREAK case 16: YY_RULE_SETUP -#line 127 "otp-lexer.l" +#line 127 "../../../../texk/web2c/otps/otp-lexer.l" return(TABLES); YY_BREAK case 17: YY_RULE_SETUP -#line 128 "otp-lexer.l" +#line 128 "../../../../texk/web2c/otps/otp-lexer.l" return(EXPRESSIONS); YY_BREAK case 18: YY_RULE_SETUP -#line 129 "otp-lexer.l" +#line 129 "../../../../texk/web2c/otps/otp-lexer.l" return(PUSH); YY_BREAK case 19: YY_RULE_SETUP -#line 130 "otp-lexer.l" +#line 130 "../../../../texk/web2c/otps/otp-lexer.l" return(POP); YY_BREAK case 20: YY_RULE_SETUP -#line 131 "otp-lexer.l" +#line 131 "../../../../texk/web2c/otps/otp-lexer.l" return(DIV); YY_BREAK case 21: YY_RULE_SETUP -#line 132 "otp-lexer.l" +#line 132 "../../../../texk/web2c/otps/otp-lexer.l" return(MOD); YY_BREAK case 22: YY_RULE_SETUP -#line 133 "otp-lexer.l" +#line 133 "../../../../texk/web2c/otps/otp-lexer.l" return(BEG); YY_BREAK case 23: YY_RULE_SETUP -#line 134 "otp-lexer.l" +#line 134 "../../../../texk/web2c/otps/otp-lexer.l" return(END); YY_BREAK case 24: YY_RULE_SETUP -#line 135 "otp-lexer.l" +#line 135 "../../../../texk/web2c/otps/otp-lexer.l" return(yytext[0]); YY_BREAK case 25: YY_RULE_SETUP -#line 137 "otp-lexer.l" +#line 137 "../../../../texk/web2c/otps/otp-lexer.l" ECHO; YY_BREAK -#line 1055 "otp-lexer.c" +#line 1075 "../../../../texk/web2c/otps/otp-lexer.c" case YY_STATE_EOF(INITIAL): yyterminate(); @@ -1195,9 +1215,9 @@ case YY_STATE_EOF(INITIAL): */ static int yy_get_next_buffer (void) { - register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; - register char *source = (yytext_ptr); - register int number_to_move, i; + char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + char *source = (yytext_ptr); + yy_size_t number_to_move, i; int ret_val; if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) @@ -1226,7 +1246,7 @@ static int yy_get_next_buffer (void) /* Try to read more data. */ /* First move last chars to start of buffer. */ - number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; + number_to_move = (yy_size_t) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); @@ -1329,14 +1349,14 @@ static int yy_get_next_buffer (void) static yy_state_type yy_get_previous_state (void) { - register yy_state_type yy_current_state; - register char *yy_cp; + yy_state_type yy_current_state; + char *yy_cp; yy_current_state = (yy_start); for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; @@ -1361,10 +1381,10 @@ static int yy_get_next_buffer (void) */ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) { - register int yy_is_jam; - register char *yy_cp = (yy_c_buf_p); + int yy_is_jam; + char *yy_cp = (yy_c_buf_p); - register YY_CHAR yy_c = 1; + YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; @@ -1382,9 +1402,11 @@ static int yy_get_next_buffer (void) return yy_is_jam ? 0 : yy_current_state; } - static void yyunput (int c, register char * yy_bp ) +#ifndef YY_NO_UNPUT + + static void yyunput (int c, char * yy_bp ) { - register char *yy_cp; + char *yy_cp; yy_cp = (yy_c_buf_p); @@ -1394,10 +1416,10 @@ static int yy_get_next_buffer (void) if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ - register yy_size_t number_to_move = (yy_n_chars) + 2; - register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ + yy_size_t number_to_move = (yy_n_chars) + 2; + char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; - register char *source = + char *source = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) @@ -1423,6 +1445,8 @@ static int yy_get_next_buffer (void) (yy_c_buf_p) = yy_cp; } +#endif + #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) @@ -1577,7 +1601,7 @@ static void yy_load_buffer_state (void) if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - b->yy_buf_size = size; + b->yy_buf_size = (yy_size_t)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. @@ -1732,7 +1756,7 @@ static void yyensure_buffer_stack (void) * 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; + num_to_alloc = 1; // After all that talk, this was set to 1 anyways... (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); @@ -1749,7 +1773,7 @@ static void yyensure_buffer_stack (void) if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ - int grow_size = 8 /* arbitrary grow size */; + yy_size_t grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc @@ -1857,7 +1881,7 @@ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len static void yy_fatal_error (yyconst char* msg ) { - (void) fprintf( stderr, "%s\n", msg ); + (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } @@ -1923,29 +1947,29 @@ char *yyget_text (void) } /** Set the current line number. - * @param line_number + * @param _line_number 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) @@ -1953,9 +1977,9 @@ 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) @@ -2018,7 +2042,8 @@ int yylex_destroy (void) #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { - register int i; + + int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } @@ -2027,7 +2052,7 @@ static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { - register int n; + int n; for ( n = 0; s[n]; ++n ) ; @@ -2037,11 +2062,12 @@ static int yy_flex_strlen (yyconst char * s ) 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 @@ -2054,12 +2080,12 @@ void *yyrealloc (void * ptr, yy_size_t size ) 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 137 "otp-lexer.l" +#line 137 "../../../../texk/web2c/otps/otp-lexer.l" diff --git a/Build/source/texk/web2c/web2c/web2c-lexer.c b/Build/source/texk/web2c/web2c/web2c-lexer.c index adeabdea0ee..3afc5091652 100644 --- a/Build/source/texk/web2c/web2c/web2c-lexer.c +++ b/Build/source/texk/web2c/web2c/web2c-lexer.c @@ -1,4 +1,4 @@ -#line 4 "web2c-lexer.l" +#line 4 "../../../../texk/web2c/web2c/web2c-lexer.l" /* web2c-lexer.l -- lexical analysis for Tangle output. Public domain. */ #include "web2c.h" @@ -6,7 +6,7 @@ -#line 10 "web2c-lexer.c" +#line 10 "../../../../texk/web2c/web2c/web2c-lexer.c" #define YY_INT_ALIGNED short int @@ -14,8 +14,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 @@ -148,7 +148,15 @@ typedef unsigned int flex_uint32_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 /* The state buf must be large enough to hold one state per character in the main buffer. @@ -375,6 +383,9 @@ extern char 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 @@ -433,7 +444,7 @@ static yyconst flex_int16_t yy_accept[278] = 0, 0, 0, 9, 0, 8, 0 } ; -static yyconst flex_int32_t yy_ec[256] = +static yyconst YY_CHAR yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, @@ -465,7 +476,7 @@ static yyconst flex_int32_t yy_ec[256] = 1, 1, 1, 1, 1 } ; -static yyconst flex_int32_t yy_meta[54] = +static yyconst YY_CHAR yy_meta[54] = { 0, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 1, 3, 3, 3, 2, 1, 1, @@ -475,7 +486,7 @@ static yyconst flex_int32_t yy_meta[54] = 4, 1, 1 } ; -static yyconst flex_int16_t yy_base[287] = +static yyconst flex_uint16_t yy_base[287] = { 0, 0, 0, 403, 404, 52, 55, 404, 396, 404, 404, 404, 404, 404, 404, 388, 404, 47, 379, 404, 44, @@ -545,7 +556,7 @@ static yyconst flex_int16_t yy_def[287] = 277, 277, 277, 277, 277, 277 } ; -static yyconst flex_int16_t yy_nxt[458] = +static yyconst flex_uint16_t yy_nxt[458] = { 0, 4, 5, 6, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 17, 17, 18, 19, 20, @@ -680,9 +691,9 @@ int yy_flex_debug = 0; char yytext[YYLMAX]; char *yytext_ptr; -#line 1 "web2c-lexer.l" +#line 1 "../../../../texk/web2c/web2c/web2c-lexer.l" -#line 11 "web2c-lexer.l" +#line 11 "../../../../texk/web2c/web2c/web2c-lexer.l" /* Hack to make it possible to compile the generated code with C++ Required if you use flex. */ #ifdef __cplusplus @@ -709,7 +720,7 @@ yywrap (void) return 1; } #define YY_SKIP_YYWRAP /* not that it matters */ -#line 713 "web2c-lexer.c" +#line 724 "../../../../texk/web2c/web2c/web2c-lexer.c" #define INITIAL 0 @@ -742,11 +753,11 @@ void yyset_extra (YY_EXTRA_TYPE user_defined ); 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 ); @@ -754,7 +765,7 @@ char *yyget_text (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. @@ -768,8 +779,12 @@ extern int yywrap (void ); #endif #endif +#ifndef YY_NO_UNPUT + static void yyunput (int c,char *buf_ptr ); +#endif + #ifndef yytext_ptr static void yy_flex_strncpy (char *,yyconst char *,int ); #endif @@ -790,7 +805,12 @@ static int input (void ); /* 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. */ @@ -877,7 +897,7 @@ extern int yylex (void); /* Code executed at the end of each rule. */ #ifndef YY_BREAK -#define YY_BREAK break; +#define YY_BREAK /*LINTED*/break; #endif #define YY_RULE_SETUP \ @@ -887,9 +907,9 @@ extern int yylex (void); */ YY_DECL { - register yy_state_type yy_current_state; - register char *yy_cp, *yy_bp; - register int yy_act; + yy_state_type yy_current_state; + char *yy_cp, *yy_bp; + int yy_act; if ( !(yy_init) ) { @@ -918,11 +938,11 @@ YY_DECL } { -#line 53 "web2c-lexer.l" +#line 53 "../../../../texk/web2c/web2c/web2c-lexer.l" -#line 924 "web2c-lexer.c" +#line 944 "../../../../texk/web2c/web2c/web2c-lexer.c" - while ( 1 ) /* loops until end-of-file is reached */ + while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); @@ -938,7 +958,7 @@ YY_DECL yy_match: do { - register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; + YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; @@ -986,17 +1006,17 @@ do_action: /* This label is used only to access EOF actions. */ case 1: /* rule 1 can match eol */ YY_RULE_SETUP -#line 54 "web2c-lexer.l" +#line 54 "../../../../texk/web2c/web2c/web2c-lexer.l" ; YY_BREAK case 2: YY_RULE_SETUP -#line 55 "web2c-lexer.l" +#line 55 "../../../../texk/web2c/web2c/web2c-lexer.l" { while (webinput() != '}'); } YY_BREAK case 3: YY_RULE_SETUP -#line 57 "web2c-lexer.l" +#line 57 "../../../../texk/web2c/web2c/web2c-lexer.l" { register int c; putc('#', out); @@ -1007,7 +1027,7 @@ YY_RULE_SETUP YY_BREAK case 4: YY_RULE_SETUP -#line 65 "web2c-lexer.l" +#line 65 "../../../../texk/web2c/web2c/web2c-lexer.l" {register int c; register char *cp=conditional; new_line(); @@ -1023,7 +1043,7 @@ YY_RULE_SETUP YY_BREAK case 5: YY_RULE_SETUP -#line 78 "web2c-lexer.l" +#line 78 "../../../../texk/web2c/web2c/web2c-lexer.l" {register int c; new_line(); fputs("#endif /* ", out); @@ -1038,7 +1058,7 @@ YY_RULE_SETUP YY_BREAK case 6: YY_RULE_SETUP -#line 90 "web2c-lexer.l" +#line 90 "../../../../texk/web2c/web2c/web2c-lexer.l" {register int c; register char *cp=conditional; new_line(); @@ -1054,7 +1074,7 @@ YY_RULE_SETUP YY_BREAK case 7: YY_RULE_SETUP -#line 103 "web2c-lexer.l" +#line 103 "../../../../texk/web2c/web2c/web2c-lexer.l" {register int c; new_line(); fputs("#endif /* not ", out); @@ -1070,205 +1090,205 @@ YY_RULE_SETUP case 8: /* rule 8 can match eol */ YY_RULE_SETUP -#line 116 "web2c-lexer.l" +#line 116 "../../../../texk/web2c/web2c/web2c-lexer.l" ; YY_BREAK case 9: /* rule 9 can match eol */ YY_RULE_SETUP -#line 118 "web2c-lexer.l" +#line 118 "../../../../texk/web2c/web2c/web2c-lexer.l" ; YY_BREAK case 10: YY_RULE_SETUP -#line 120 "web2c-lexer.l" +#line 120 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=define_tok; YY_BREAK case 11: YY_RULE_SETUP -#line 121 "web2c-lexer.l" +#line 121 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=field_tok; YY_BREAK case 12: YY_RULE_SETUP -#line 122 "web2c-lexer.l" +#line 122 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=and_tok; YY_BREAK case 13: YY_RULE_SETUP -#line 123 "web2c-lexer.l" +#line 123 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=array_tok; YY_BREAK case 14: YY_RULE_SETUP -#line 124 "web2c-lexer.l" +#line 124 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=begin_tok; YY_BREAK case 15: YY_RULE_SETUP -#line 125 "web2c-lexer.l" +#line 125 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=case_tok; YY_BREAK case 16: YY_RULE_SETUP -#line 126 "web2c-lexer.l" +#line 126 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=const_tok; YY_BREAK case 17: YY_RULE_SETUP -#line 127 "web2c-lexer.l" +#line 127 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=div_tok; YY_BREAK case 18: YY_RULE_SETUP -#line 128 "web2c-lexer.l" +#line 128 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=break_tok; YY_BREAK case 19: YY_RULE_SETUP -#line 129 "web2c-lexer.l" +#line 129 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=do_tok; YY_BREAK case 20: YY_RULE_SETUP -#line 130 "web2c-lexer.l" +#line 130 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=downto_tok; YY_BREAK case 21: YY_RULE_SETUP -#line 131 "web2c-lexer.l" +#line 131 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=else_tok; YY_BREAK case 22: YY_RULE_SETUP -#line 132 "web2c-lexer.l" +#line 132 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=end_tok; YY_BREAK case 23: YY_RULE_SETUP -#line 133 "web2c-lexer.l" +#line 133 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=file_tok; YY_BREAK case 24: YY_RULE_SETUP -#line 134 "web2c-lexer.l" +#line 134 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=for_tok; YY_BREAK case 25: YY_RULE_SETUP -#line 135 "web2c-lexer.l" +#line 135 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=function_tok; YY_BREAK case 26: YY_RULE_SETUP -#line 136 "web2c-lexer.l" +#line 136 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=goto_tok; YY_BREAK case 27: YY_RULE_SETUP -#line 137 "web2c-lexer.l" +#line 137 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=if_tok; YY_BREAK case 28: YY_RULE_SETUP -#line 138 "web2c-lexer.l" +#line 138 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=label_tok; YY_BREAK case 29: YY_RULE_SETUP -#line 139 "web2c-lexer.l" +#line 139 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=mod_tok; YY_BREAK case 30: YY_RULE_SETUP -#line 140 "web2c-lexer.l" +#line 140 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=noreturn_tok; YY_BREAK case 31: YY_RULE_SETUP -#line 141 "web2c-lexer.l" +#line 141 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=not_tok; YY_BREAK case 32: YY_RULE_SETUP -#line 142 "web2c-lexer.l" +#line 142 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=of_tok; YY_BREAK case 33: YY_RULE_SETUP -#line 143 "web2c-lexer.l" +#line 143 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=or_tok; YY_BREAK case 34: YY_RULE_SETUP -#line 144 "web2c-lexer.l" +#line 144 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=procedure_tok; YY_BREAK case 35: YY_RULE_SETUP -#line 145 "web2c-lexer.l" +#line 145 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=program_tok; YY_BREAK case 36: YY_RULE_SETUP -#line 146 "web2c-lexer.l" +#line 146 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=record_tok; YY_BREAK case 37: YY_RULE_SETUP -#line 147 "web2c-lexer.l" +#line 147 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=repeat_tok; YY_BREAK case 38: /* rule 38 can match eol */ YY_RULE_SETUP -#line 148 "web2c-lexer.l" +#line 148 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=hhb0_tok; YY_BREAK case 39: /* rule 39 can match eol */ YY_RULE_SETUP -#line 149 "web2c-lexer.l" +#line 149 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=hhb1_tok; YY_BREAK case 40: YY_RULE_SETUP -#line 150 "web2c-lexer.l" +#line 150 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=then_tok; YY_BREAK case 41: YY_RULE_SETUP -#line 151 "web2c-lexer.l" +#line 151 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=to_tok; YY_BREAK case 42: YY_RULE_SETUP -#line 152 "web2c-lexer.l" +#line 152 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=type_tok; YY_BREAK case 43: YY_RULE_SETUP -#line 153 "web2c-lexer.l" +#line 153 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=until_tok; YY_BREAK case 44: YY_RULE_SETUP -#line 154 "web2c-lexer.l" +#line 154 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=var_tok; YY_BREAK case 45: YY_RULE_SETUP -#line 155 "web2c-lexer.l" +#line 155 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=while_tok; YY_BREAK case 46: YY_RULE_SETUP -#line 156 "web2c-lexer.l" +#line 156 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=others_tok; YY_BREAK case 47: YY_RULE_SETUP -#line 158 "web2c-lexer.l" +#line 158 "../../../../texk/web2c/web2c/web2c-lexer.l" { sprintf (temp, "%s%s", negbuf, yytext); negbuf[0] = '\0'; @@ -1277,7 +1297,7 @@ YY_RULE_SETUP YY_BREAK case 48: YY_RULE_SETUP -#line 164 "web2c-lexer.l" +#line 164 "../../../../texk/web2c/web2c/web2c-lexer.l" { sprintf (temp, "%s%s", negbuf, yytext); negbuf[0] = '\0'; @@ -1287,18 +1307,18 @@ YY_RULE_SETUP case 49: /* rule 49 can match eol */ YY_RULE_SETUP -#line 170 "web2c-lexer.l" +#line 170 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=single_char_tok; YY_BREAK case 50: /* rule 50 can match eol */ YY_RULE_SETUP -#line 172 "web2c-lexer.l" +#line 172 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=string_literal_tok; YY_BREAK case 51: YY_RULE_SETUP -#line 174 "web2c-lexer.l" +#line 174 "../../../../texk/web2c/web2c/web2c-lexer.l" { if ((last_tok>=undef_id_tok && last_tok<=field_id_tok) || last_tok==i_num_tok || @@ -1310,7 +1330,7 @@ YY_RULE_SETUP YY_BREAK case 52: YY_RULE_SETUP -#line 183 "web2c-lexer.l" +#line 183 "../../../../texk/web2c/web2c/web2c-lexer.l" { if ((last_tok>=undef_id_tok && last_tok<=field_id_tok) || last_tok==i_num_tok || @@ -1331,102 +1351,102 @@ YY_RULE_SETUP YY_BREAK case 53: YY_RULE_SETUP -#line 201 "web2c-lexer.l" +#line 201 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok='*'; YY_BREAK case 54: YY_RULE_SETUP -#line 202 "web2c-lexer.l" +#line 202 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok='/'; YY_BREAK case 55: YY_RULE_SETUP -#line 203 "web2c-lexer.l" +#line 203 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok='='; YY_BREAK case 56: YY_RULE_SETUP -#line 204 "web2c-lexer.l" +#line 204 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=not_eq_tok; YY_BREAK case 57: YY_RULE_SETUP -#line 205 "web2c-lexer.l" +#line 205 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok='<'; YY_BREAK case 58: YY_RULE_SETUP -#line 206 "web2c-lexer.l" +#line 206 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok='>'; YY_BREAK case 59: YY_RULE_SETUP -#line 207 "web2c-lexer.l" +#line 207 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=less_eq_tok; YY_BREAK case 60: YY_RULE_SETUP -#line 208 "web2c-lexer.l" +#line 208 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=great_eq_tok; YY_BREAK case 61: YY_RULE_SETUP -#line 209 "web2c-lexer.l" +#line 209 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok='('; YY_BREAK case 62: YY_RULE_SETUP -#line 210 "web2c-lexer.l" +#line 210 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=')'; YY_BREAK case 63: YY_RULE_SETUP -#line 211 "web2c-lexer.l" +#line 211 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok='['; YY_BREAK case 64: YY_RULE_SETUP -#line 212 "web2c-lexer.l" +#line 212 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=']'; YY_BREAK case 65: YY_RULE_SETUP -#line 213 "web2c-lexer.l" +#line 213 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=assign_tok; YY_BREAK case 66: YY_RULE_SETUP -#line 214 "web2c-lexer.l" +#line 214 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=two_dots_tok; YY_BREAK case 67: YY_RULE_SETUP -#line 215 "web2c-lexer.l" +#line 215 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok='.'; YY_BREAK case 68: YY_RULE_SETUP -#line 216 "web2c-lexer.l" +#line 216 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=','; YY_BREAK case 69: YY_RULE_SETUP -#line 217 "web2c-lexer.l" +#line 217 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=';'; YY_BREAK case 70: YY_RULE_SETUP -#line 218 "web2c-lexer.l" +#line 218 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok=':'; YY_BREAK case 71: YY_RULE_SETUP -#line 219 "web2c-lexer.l" +#line 219 "../../../../texk/web2c/web2c/web2c-lexer.l" return last_tok='^'; YY_BREAK case 72: YY_RULE_SETUP -#line 221 "web2c-lexer.l" +#line 221 "../../../../texk/web2c/web2c/web2c-lexer.l" { strcpy (last_id, yytext); l_s = search_table (last_id); return @@ -1435,16 +1455,16 @@ YY_RULE_SETUP YY_BREAK case 73: YY_RULE_SETUP -#line 228 "web2c-lexer.l" +#line 228 "../../../../texk/web2c/web2c/web2c-lexer.l" { /* Any bizarre token will do. */ return last_tok = two_dots_tok; } YY_BREAK case 74: YY_RULE_SETUP -#line 230 "web2c-lexer.l" +#line 230 "../../../../texk/web2c/web2c/web2c-lexer.l" ECHO; YY_BREAK -#line 1448 "web2c-lexer.c" +#line 1468 "../../../../texk/web2c/web2c/web2c-lexer.c" case YY_STATE_EOF(INITIAL): yyterminate(); @@ -1588,9 +1608,9 @@ case YY_STATE_EOF(INITIAL): */ static int yy_get_next_buffer (void) { - register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; - register char *source = (yytext_ptr); - register int number_to_move, i; + char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; + char *source = (yytext_ptr); + yy_size_t number_to_move, i; int ret_val; if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) @@ -1619,7 +1639,7 @@ static int yy_get_next_buffer (void) /* Try to read more data. */ /* First move last chars to start of buffer. */ - number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; + number_to_move = (yy_size_t) ((yy_c_buf_p) - (yytext_ptr)) - 1; for ( i = 0; i < number_to_move; ++i ) *(dest++) = *(source++); @@ -1722,14 +1742,14 @@ static int yy_get_next_buffer (void) static yy_state_type yy_get_previous_state (void) { - register yy_state_type yy_current_state; - register char *yy_cp; + yy_state_type yy_current_state; + char *yy_cp; yy_current_state = (yy_start); for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) { - register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); + YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; @@ -1754,10 +1774,10 @@ static int yy_get_next_buffer (void) */ static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) { - register int yy_is_jam; - register char *yy_cp = (yy_c_buf_p); + int yy_is_jam; + char *yy_cp = (yy_c_buf_p); - register YY_CHAR yy_c = 1; + YY_CHAR yy_c = 1; if ( yy_accept[yy_current_state] ) { (yy_last_accepting_state) = yy_current_state; @@ -1775,9 +1795,11 @@ static int yy_get_next_buffer (void) return yy_is_jam ? 0 : yy_current_state; } - static void yyunput (int c, register char * yy_bp ) +#ifndef YY_NO_UNPUT + + static void yyunput (int c, char * yy_bp ) { - register char *yy_cp; + char *yy_cp; yy_cp = (yy_c_buf_p); @@ -1787,10 +1809,10 @@ static int yy_get_next_buffer (void) if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) { /* need to shift things up to make room */ /* +2 for EOB chars. */ - register yy_size_t number_to_move = (yy_n_chars) + 2; - register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ + yy_size_t number_to_move = (yy_n_chars) + 2; + char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; - register char *source = + char *source = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) @@ -1816,6 +1838,8 @@ static int yy_get_next_buffer (void) (yy_c_buf_p) = yy_cp; } +#endif + #ifndef YY_NO_INPUT #ifdef __cplusplus static int yyinput (void) @@ -1970,7 +1994,7 @@ static void yy_load_buffer_state (void) if ( ! b ) YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - b->yy_buf_size = size; + b->yy_buf_size = (yy_size_t)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. @@ -2125,7 +2149,7 @@ static void yyensure_buffer_stack (void) * 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; + num_to_alloc = 1; // After all that talk, this was set to 1 anyways... (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); @@ -2142,7 +2166,7 @@ static void yyensure_buffer_stack (void) if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ /* Increase the buffer to prepare for a possible push. */ - int grow_size = 8 /* arbitrary grow size */; + yy_size_t grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc @@ -2250,7 +2274,7 @@ YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len static void yy_fatal_error (yyconst char* msg ) { - (void) fprintf( stderr, "%s\n", msg ); + (void) fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } @@ -2316,29 +2340,29 @@ char *yyget_text (void) } /** Set the current line number. - * @param line_number + * @param _line_number 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) @@ -2346,9 +2370,9 @@ 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) @@ -2411,7 +2435,8 @@ int yylex_destroy (void) #ifndef yytext_ptr static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) { - register int i; + + int i; for ( i = 0; i < n; ++i ) s1[i] = s2[i]; } @@ -2420,7 +2445,7 @@ static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) #ifdef YY_NEED_STRLEN static int yy_flex_strlen (yyconst char * s ) { - register int n; + int n; for ( n = 0; s[n]; ++n ) ; @@ -2430,11 +2455,12 @@ static int yy_flex_strlen (yyconst char * s ) 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 @@ -2447,12 +2473,12 @@ void *yyrealloc (void * ptr, yy_size_t size ) 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 230 "web2c-lexer.l" +#line 230 "../../../../texk/web2c/web2c/web2c-lexer.l" /* Some helper routines. Defining these here means we don't have references |