Mercurial > mxe-octave
comparison src/build-flex-1-fixes.patch @ 4659:073464b5e319
build-flex: allow build to work on systems without flex
* build-flex-1-fixes.patch: Also patch generated scan.c file so that
build will succeed on systems that don't have flex installed.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 12 Apr 2018 17:37:58 -0400 |
parents | a0e30199373f |
children |
comparison
equal
deleted
inserted
replaced
4658:213da5688be0 | 4659:073464b5e319 |
---|---|
46 | 46 |
47 -#include "flexdef.h" | 47 -#include "flexdef.h" |
48 #include "parse.h" | 48 #include "parse.h" |
49 extern bool tablesverify, tablesext; | 49 extern bool tablesverify, tablesext; |
50 extern int trlcontxt; /* Set in parse.y for each rule. */ | 50 extern int trlcontxt; /* Set in parse.y for each rule. */ |
51 diff -uNr a/src/scan.c b/src/scan.c | |
52 --- a/src/scan.c 2017-05-06 16:38:20.000000000 -0400 | |
53 +++ b/src/scan.c 2018-04-12 17:33:27.946560616 -0400 | |
54 @@ -1,6 +1,11 @@ | |
55 -#line 1 "scan.c" | |
56 +#line 4 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
57 +/* flexdef.h includes config.h, which may contain macros that alter the API */ | |
58 +/* of libc functions. Must include first before any libc header. */ | |
59 +#include "flexdef.h" | |
60 + | |
61 | |
62 -#line 3 "scan.c" | |
63 + | |
64 +#line 9 "scan.c" | |
65 | |
66 #define YY_INT_ALIGNED short int | |
67 | |
68 @@ -8,8 +13,8 @@ | |
69 | |
70 #define FLEX_SCANNER | |
71 #define YY_FLEX_MAJOR_VERSION 2 | |
72 -#define YY_FLEX_MINOR_VERSION 6 | |
73 -#define YY_FLEX_SUBMINOR_VERSION 4 | |
74 +#define YY_FLEX_MINOR_VERSION 5 | |
75 +#define YY_FLEX_SUBMINOR_VERSION 39 | |
76 #if YY_FLEX_SUBMINOR_VERSION > 0 | |
77 #define FLEX_BETA | |
78 #endif | |
79 @@ -84,61 +89,65 @@ | |
80 #define UINT32_MAX (4294967295U) | |
81 #endif | |
82 | |
83 -#ifndef SIZE_MAX | |
84 -#define SIZE_MAX (~(size_t)0) | |
85 -#endif | |
86 - | |
87 #endif /* ! C99 */ | |
88 | |
89 #endif /* ! FLEXINT_H */ | |
90 | |
91 -/* begin standard C++ headers. */ | |
92 +#ifdef __cplusplus | |
93 | |
94 -/* TODO: this is always defined, so inline it */ | |
95 -#define yyconst const | |
96 +/* The "const" storage-class-modifier is valid. */ | |
97 +#define YY_USE_CONST | |
98 | |
99 -#if defined(__GNUC__) && __GNUC__ >= 3 | |
100 -#define yynoreturn __attribute__((__noreturn__)) | |
101 +#else /* ! __cplusplus */ | |
102 + | |
103 +/* C99 requires __STDC__ to be defined as 1. */ | |
104 +#if defined (__STDC__) | |
105 + | |
106 +#define YY_USE_CONST | |
107 + | |
108 +#endif /* defined (__STDC__) */ | |
109 +#endif /* ! __cplusplus */ | |
110 + | |
111 +#ifdef YY_USE_CONST | |
112 +#define yyconst const | |
113 #else | |
114 -#define yynoreturn | |
115 +#define yyconst | |
116 #endif | |
117 | |
118 /* Returned upon end-of-file. */ | |
119 #define YY_NULL 0 | |
120 | |
121 -/* Promotes a possibly negative, possibly signed char to an | |
122 - * integer in range [0..255] for use as an array index. | |
123 +/* Promotes a possibly negative, possibly signed char to an unsigned | |
124 + * integer for use as an array index. If the signed char is negative, | |
125 + * we want to instead treat it as an 8-bit unsigned char, hence the | |
126 + * double cast. | |
127 */ | |
128 -#define YY_SC_TO_UI(c) ((YY_CHAR) (c)) | |
129 +#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) | |
130 | |
131 /* Enter a start condition. This macro really ought to take a parameter, | |
132 * but we do it the disgusting crufty way forced on us by the ()-less | |
133 * definition of BEGIN. | |
134 */ | |
135 #define BEGIN (yy_start) = 1 + 2 * | |
136 + | |
137 /* Translate the current start state into a value that can be later handed | |
138 * to BEGIN to return to the state. The YYSTATE alias is for lex | |
139 * compatibility. | |
140 */ | |
141 #define YY_START (((yy_start) - 1) / 2) | |
142 #define YYSTATE YY_START | |
143 + | |
144 /* Action number for EOF rule of a given start state. */ | |
145 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) | |
146 + | |
147 /* Special action meaning "start processing a new file". */ | |
148 -#define YY_NEW_FILE yyrestart( yyin ) | |
149 +#define YY_NEW_FILE yyrestart(yyin ) | |
150 + | |
151 #define YY_END_OF_BUFFER_CHAR 0 | |
152 | |
153 /* Size of default input buffer. */ | |
154 #ifndef YY_BUF_SIZE | |
155 -#ifdef __ia64__ | |
156 -/* On IA-64, the buffer size is 16k, not 8k. | |
157 - * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. | |
158 - * Ditto for the __ia64__ case accordingly. | |
159 - */ | |
160 -#define YY_BUF_SIZE 32768 | |
161 -#else | |
162 #define YY_BUF_SIZE 16384 | |
163 -#endif /* __ia64__ */ | |
164 #endif | |
165 | |
166 /* The state buf must be large enough to hold one state per character in the main buffer. | |
167 @@ -155,14 +164,14 @@ | |
168 typedef size_t yy_size_t; | |
169 #endif | |
170 | |
171 -extern int yyleng; | |
172 +extern yy_size_t yyleng; | |
173 | |
174 extern FILE *yyin, *yyout; | |
175 | |
176 #define EOB_ACT_CONTINUE_SCAN 0 | |
177 #define EOB_ACT_END_OF_FILE 1 | |
178 #define EOB_ACT_LAST_MATCH 2 | |
179 - | |
180 + | |
181 #define YY_LESS_LINENO(n) | |
182 #define YY_LINENO_REWIND_TO(ptr) | |
183 | |
184 @@ -179,6 +188,7 @@ | |
185 YY_DO_BEFORE_ACTION; /* set up yytext again */ \ | |
186 } \ | |
187 while ( 0 ) | |
188 + | |
189 #define unput(c) yyunput( c, (yytext_ptr) ) | |
190 | |
191 #ifndef YY_STRUCT_YY_BUFFER_STATE | |
192 @@ -193,12 +203,12 @@ | |
193 /* Size of input buffer in bytes, not including room for EOB | |
194 * characters. | |
195 */ | |
196 - int yy_buf_size; | |
197 + yy_size_t yy_buf_size; | |
198 | |
199 /* Number of characters read into yy_ch_buf, not including EOB | |
200 * characters. | |
201 */ | |
202 - int yy_n_chars; | |
203 + yy_size_t yy_n_chars; | |
204 | |
205 /* Whether we "own" the buffer - i.e., we know we created it, | |
206 * and can realloc() it to grow it, and should free() it to | |
207 @@ -221,7 +231,7 @@ | |
208 | |
209 int yy_bs_lineno; /**< The line count. */ | |
210 int yy_bs_column; /**< The column count. */ | |
211 - | |
212 + | |
213 /* Whether to try to fill the input buffer when we reach the | |
214 * end of it. | |
215 */ | |
216 @@ -249,7 +259,7 @@ | |
217 /* Stack of input buffers. */ | |
218 static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ | |
219 static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ | |
220 -static YY_BUFFER_STATE * yy_buffer_stack = NULL; /**< Stack as an array. */ | |
221 +static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ | |
222 | |
223 /* We provide macros for accessing buffer states in case in the | |
224 * future we want to put the buffer states in a more general | |
225 @@ -260,6 +270,7 @@ | |
226 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ | |
227 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ | |
228 : NULL) | |
229 + | |
230 /* Same as previous macro, but useful when we know that the buffer stack is not | |
231 * NULL or when we need an lvalue. For internal use only. | |
232 */ | |
233 @@ -267,11 +278,11 @@ | |
234 | |
235 /* yy_hold_char holds the character lost when yytext is formed. */ | |
236 static char yy_hold_char; | |
237 -static int yy_n_chars; /* number of characters read into yy_ch_buf */ | |
238 -int yyleng; | |
239 +static yy_size_t yy_n_chars; /* number of characters read into yy_ch_buf */ | |
240 +yy_size_t yyleng; | |
241 | |
242 /* Points to current character in buffer. */ | |
243 -static char *yy_c_buf_p = NULL; | |
244 +static char *yy_c_buf_p = (char *) 0; | |
245 static int yy_init = 0; /* whether we need to initialize */ | |
246 static int yy_start = 0; /* start state number */ | |
247 | |
248 @@ -280,78 +291,83 @@ | |
249 */ | |
250 static int yy_did_buffer_switch_on_eof; | |
251 | |
252 -void yyrestart ( FILE *input_file ); | |
253 -void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer ); | |
254 -YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size ); | |
255 -void yy_delete_buffer ( YY_BUFFER_STATE b ); | |
256 -void yy_flush_buffer ( YY_BUFFER_STATE b ); | |
257 -void yypush_buffer_state ( YY_BUFFER_STATE new_buffer ); | |
258 -void yypop_buffer_state ( void ); | |
259 - | |
260 -static void yyensure_buffer_stack ( void ); | |
261 -static void yy_load_buffer_state ( void ); | |
262 -static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file ); | |
263 -#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) | |
264 - | |
265 -YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size ); | |
266 -YY_BUFFER_STATE yy_scan_string ( const char *yy_str ); | |
267 -YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len ); | |
268 - | |
269 -void *yyalloc ( yy_size_t ); | |
270 -void *yyrealloc ( void *, yy_size_t ); | |
271 -void yyfree ( void * ); | |
272 +void yyrestart (FILE *input_file ); | |
273 +void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); | |
274 +YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); | |
275 +void yy_delete_buffer (YY_BUFFER_STATE b ); | |
276 +void yy_flush_buffer (YY_BUFFER_STATE b ); | |
277 +void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); | |
278 +void yypop_buffer_state (void ); | |
279 + | |
280 +static void yyensure_buffer_stack (void ); | |
281 +static void yy_load_buffer_state (void ); | |
282 +static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); | |
283 + | |
284 +#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) | |
285 + | |
286 +YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); | |
287 +YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); | |
288 +YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,yy_size_t len ); | |
289 + | |
290 +void *yyalloc (yy_size_t ); | |
291 +void *yyrealloc (void *,yy_size_t ); | |
292 +void yyfree (void * ); | |
293 | |
294 #define yy_new_buffer yy_create_buffer | |
295 + | |
296 #define yy_set_interactive(is_interactive) \ | |
297 { \ | |
298 if ( ! YY_CURRENT_BUFFER ){ \ | |
299 yyensure_buffer_stack (); \ | |
300 YY_CURRENT_BUFFER_LVALUE = \ | |
301 - yy_create_buffer( yyin, YY_BUF_SIZE ); \ | |
302 + yy_create_buffer(yyin,YY_BUF_SIZE ); \ | |
303 } \ | |
304 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ | |
305 } | |
306 + | |
307 #define yy_set_bol(at_bol) \ | |
308 { \ | |
309 if ( ! YY_CURRENT_BUFFER ){\ | |
310 yyensure_buffer_stack (); \ | |
311 YY_CURRENT_BUFFER_LVALUE = \ | |
312 - yy_create_buffer( yyin, YY_BUF_SIZE ); \ | |
313 + yy_create_buffer(yyin,YY_BUF_SIZE ); \ | |
314 } \ | |
315 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ | |
316 } | |
317 + | |
318 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) | |
319 | |
320 /* Begin user sect3 */ | |
321 -typedef flex_uint8_t YY_CHAR; | |
322 | |
323 -FILE *yyin = NULL, *yyout = NULL; | |
324 +typedef unsigned char YY_CHAR; | |
325 + | |
326 +FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; | |
327 | |
328 typedef int yy_state_type; | |
329 | |
330 extern int yylineno; | |
331 + | |
332 int yylineno = 1; | |
333 | |
334 extern char *yytext; | |
335 -#ifdef yytext_ptr | |
336 -#undef yytext_ptr | |
337 -#endif | |
338 #define yytext_ptr yytext | |
339 | |
340 -static yy_state_type yy_get_previous_state ( void ); | |
341 -static yy_state_type yy_try_NUL_trans ( yy_state_type current_state ); | |
342 -static int yy_get_next_buffer ( void ); | |
343 -static void yynoreturn yy_fatal_error ( const char* msg ); | |
344 +static yy_state_type yy_get_previous_state (void ); | |
345 +static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); | |
346 +static int yy_get_next_buffer (void ); | |
347 +static void yy_fatal_error (yyconst char msg[] ); | |
348 | |
349 /* Done after the current pattern has been matched and before the | |
350 * corresponding action - sets up yytext. | |
351 */ | |
352 #define YY_DO_BEFORE_ACTION \ | |
353 (yytext_ptr) = yy_bp; \ | |
354 - yyleng = (int) (yy_cp - yy_bp); \ | |
355 + (yytext_ptr) -= (yy_more_len); \ | |
356 + yyleng = (size_t) (yy_cp - (yytext_ptr)); \ | |
357 (yy_hold_char) = *yy_cp; \ | |
358 *yy_cp = '\0'; \ | |
359 (yy_c_buf_p) = yy_cp; | |
360 + | |
361 #define YY_NUM_RULES 253 | |
362 #define YY_END_OF_BUFFER 254 | |
363 /* This struct is not used in this scanner, | |
364 @@ -361,7 +377,7 @@ | |
365 flex_int32_t yy_verify; | |
366 flex_int32_t yy_nxt; | |
367 }; | |
368 -static const flex_int16_t yy_accept[1114] = | |
369 +static yyconst flex_int16_t yy_accept[1114] = | |
370 { 0, | |
371 0, 0, 0, 0, 0, 0, 246, 246, 40, 40, | |
372 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, | |
373 @@ -488,7 +504,7 @@ | |
374 80, 59, 0 | |
375 } ; | |
376 | |
377 -static const YY_CHAR yy_ec[256] = | |
378 +static yyconst flex_int32_t yy_ec[256] = | |
379 { 0, | |
380 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, | |
381 4, 4, 5, 1, 1, 1, 1, 1, 1, 1, | |
382 @@ -520,7 +536,7 @@ | |
383 1, 1, 1, 1, 1 | |
384 } ; | |
385 | |
386 -static const YY_CHAR yy_meta[85] = | |
387 +static yyconst flex_int32_t yy_meta[85] = | |
388 { 0, | |
389 1, 1, 2, 1, 3, 4, 1, 1, 5, 6, | |
390 1, 7, 8, 9, 1, 10, 1, 11, 12, 12, | |
391 @@ -533,7 +549,7 @@ | |
392 15, 20, 1, 21 | |
393 } ; | |
394 | |
395 -static const flex_int16_t yy_base[1221] = | |
396 +static yyconst flex_int16_t yy_base[1221] = | |
397 { 0, | |
398 0, 84, 167, 250, 171, 184, 135, 142, 220, 231, | |
399 196, 200, 334, 0, 3627, 3625, 211, 416, 203, 212, | |
400 @@ -671,7 +687,7 @@ | |
401 4346, 4367, 3028, 4379, 4398, 4419, 4432, 4447, 4468, 4489 | |
402 } ; | |
403 | |
404 -static const flex_int16_t yy_def[1221] = | |
405 +static yyconst flex_int16_t yy_def[1221] = | |
406 { 0, | |
407 1113, 1113, 1114, 1114, 1115, 1116, 1117, 1117, 1118, 1118, | |
408 1119, 1119, 1113, 13, 1120, 1120, 1121, 1121, 1122, 1122, | |
409 @@ -809,7 +825,7 @@ | |
410 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113, 1113 | |
411 } ; | |
412 | |
413 -static const flex_int16_t yy_nxt[4596] = | |
414 +static yyconst flex_int16_t yy_nxt[4596] = | |
415 { 0, | |
416 56, 57, 58, 56, 59, 56, 56, 56, 56, 56, | |
417 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, | |
418 @@ -1319,7 +1335,7 @@ | |
419 | |
420 } ; | |
421 | |
422 -static const flex_int16_t yy_chk[4596] = | |
423 +static yyconst flex_int16_t yy_chk[4596] = | |
424 { 0, | |
425 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | |
426 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, | |
427 @@ -1839,13 +1855,16 @@ | |
428 * any uses of REJECT which flex missed. | |
429 */ | |
430 #define REJECT reject_used_but_not_detected | |
431 -#define yymore() yymore_used_but_not_detected | |
432 -#define YY_MORE_ADJ 0 | |
433 +static int yy_more_flag = 0; | |
434 +static int yy_more_len = 0; | |
435 +#define yymore() ((yy_more_flag) = 1) | |
436 +#define YY_MORE_ADJ (yy_more_len) | |
437 #define YY_RESTORE_YY_MORE_OFFSET | |
438 char *yytext; | |
439 -#line 1 "scan.l" | |
440 +#line 1 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
441 /* scan.l - scanner for flex input -*-C-*- */ | |
442 -#line 4 "scan.l" | |
443 + | |
444 +#line 10 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
445 /* Copyright (c) 1990 The Regents of the University of California. */ | |
446 /* All rights reserved. */ | |
447 | |
448 @@ -1877,7 +1896,6 @@ | |
449 /* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */ | |
450 /* PURPOSE. */ | |
451 | |
452 -#include "flexdef.h" | |
453 #include "parse.h" | |
454 extern bool tablesverify, tablesext; | |
455 extern int trlcontxt; /* Set in parse.y for each rule. */ | |
456 @@ -1963,9 +1981,16 @@ | |
457 if (!indented_code) line_directive_out(NULL, 0);\ | |
458 } while (0) | |
459 | |
460 -#line 1966 "scan.c" | |
461 | |
462 -#line 1968 "scan.c" | |
463 + | |
464 + | |
465 + | |
466 + | |
467 + | |
468 + | |
469 + | |
470 + | |
471 +#line 1994 "scan.c" | |
472 | |
473 #define INITIAL 0 | |
474 #define SECT2 1 | |
475 @@ -2007,36 +2032,36 @@ | |
476 #define YY_EXTRA_TYPE void * | |
477 #endif | |
478 | |
479 -static int yy_init_globals ( void ); | |
480 +static int yy_init_globals (void ); | |
481 | |
482 /* Accessor methods to globals. | |
483 These are made visible to non-reentrant scanners for convenience. */ | |
484 | |
485 -int yylex_destroy ( void ); | |
486 +int yylex_destroy (void ); | |
487 | |
488 -int yyget_debug ( void ); | |
489 +int yyget_debug (void ); | |
490 | |
491 -void yyset_debug ( int debug_flag ); | |
492 +void yyset_debug (int debug_flag ); | |
493 | |
494 -YY_EXTRA_TYPE yyget_extra ( void ); | |
495 +YY_EXTRA_TYPE yyget_extra (void ); | |
496 | |
497 -void yyset_extra ( YY_EXTRA_TYPE user_defined ); | |
498 +void yyset_extra (YY_EXTRA_TYPE user_defined ); | |
499 | |
500 -FILE *yyget_in ( void ); | |
501 +FILE *yyget_in (void ); | |
502 | |
503 -void yyset_in ( FILE * _in_str ); | |
504 +void yyset_in (FILE * in_str ); | |
505 | |
506 -FILE *yyget_out ( void ); | |
507 +FILE *yyget_out (void ); | |
508 | |
509 -void yyset_out ( FILE * _out_str ); | |
510 +void yyset_out (FILE * out_str ); | |
511 | |
512 - int yyget_leng ( void ); | |
513 +yy_size_t yyget_leng (void ); | |
514 | |
515 -char *yyget_text ( void ); | |
516 +char *yyget_text (void ); | |
517 | |
518 -int yyget_lineno ( void ); | |
519 +int yyget_lineno (void ); | |
520 | |
521 -void yyset_lineno ( int _line_number ); | |
522 +void yyset_lineno (int line_number ); | |
523 | |
524 /* Macros after this point can all be overridden by user definitions in | |
525 * section 1. | |
526 @@ -2044,31 +2069,28 @@ | |
527 | |
528 #ifndef YY_SKIP_YYWRAP | |
529 #ifdef __cplusplus | |
530 -extern "C" int yywrap ( void ); | |
531 +extern "C" int yywrap (void ); | |
532 #else | |
533 -extern int yywrap ( void ); | |
534 +extern int yywrap (void ); | |
535 #endif | |
536 #endif | |
537 | |
538 -#ifndef YY_NO_UNPUT | |
539 - | |
540 - static void yyunput ( int c, char *buf_ptr ); | |
541 + static void yyunput (int c,char *buf_ptr ); | |
542 | |
543 -#endif | |
544 - | |
545 #ifndef yytext_ptr | |
546 -static void yy_flex_strncpy ( char *, const char *, int ); | |
547 +static void yy_flex_strncpy (char *,yyconst char *,int ); | |
548 #endif | |
549 | |
550 #ifdef YY_NEED_STRLEN | |
551 -static int yy_flex_strlen ( const char * ); | |
552 +static int yy_flex_strlen (yyconst char * ); | |
553 #endif | |
554 | |
555 #ifndef YY_NO_INPUT | |
556 + | |
557 #ifdef __cplusplus | |
558 -static int yyinput ( void ); | |
559 +static int yyinput (void ); | |
560 #else | |
561 -static int input ( void ); | |
562 +static int input (void ); | |
563 #endif | |
564 | |
565 #endif | |
566 @@ -2077,18 +2099,13 @@ | |
567 static int yy_start_stack_depth = 0; | |
568 static int *yy_start_stack = NULL; | |
569 | |
570 - static void yy_push_state ( int _new_state ); | |
571 + static void yy_push_state (int new_state ); | |
572 | |
573 - static void yy_pop_state ( void ); | |
574 + static void yy_pop_state (void ); | |
575 | |
576 /* Amount of stuff to slurp up with each read. */ | |
577 #ifndef YY_READ_BUF_SIZE | |
578 -#ifdef __ia64__ | |
579 -/* On IA-64, the buffer size is 16k, not 8k */ | |
580 -#define YY_READ_BUF_SIZE 16384 | |
581 -#else | |
582 #define YY_READ_BUF_SIZE 8192 | |
583 -#endif /* __ia64__ */ | |
584 #endif | |
585 | |
586 /* Copy whatever the last rule matched to the standard output. */ | |
587 @@ -2096,7 +2113,7 @@ | |
588 /* This used to be an fputs(), but since the string might contain NUL's, | |
589 * we now use fwrite(). | |
590 */ | |
591 -#define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) | |
592 +#define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) | |
593 #endif | |
594 | |
595 /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, | |
596 @@ -2107,7 +2124,7 @@ | |
597 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ | |
598 { \ | |
599 int c = '*'; \ | |
600 - int n; \ | |
601 + size_t n; \ | |
602 for ( n = 0; n < max_size && \ | |
603 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ | |
604 buf[n] = (char) c; \ | |
605 @@ -2120,7 +2137,7 @@ | |
606 else \ | |
607 { \ | |
608 errno=0; \ | |
609 - while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ | |
610 + while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ | |
611 { \ | |
612 if( errno != EINTR) \ | |
613 { \ | |
614 @@ -2175,7 +2192,7 @@ | |
615 | |
616 /* Code executed at the end of each rule. */ | |
617 #ifndef YY_BREAK | |
618 -#define YY_BREAK /*LINTED*/break; | |
619 +#define YY_BREAK break; | |
620 #endif | |
621 | |
622 #define YY_RULE_SETUP \ | |
623 @@ -2188,9 +2205,9 @@ | |
624 */ | |
625 YY_DECL | |
626 { | |
627 - yy_state_type yy_current_state; | |
628 - char *yy_cp, *yy_bp; | |
629 - int yy_act; | |
630 + register yy_state_type yy_current_state; | |
631 + register char *yy_cp, *yy_bp; | |
632 + register int yy_act; | |
633 | |
634 if ( !(yy_init) ) | |
635 { | |
636 @@ -2212,16 +2229,15 @@ | |
637 if ( ! YY_CURRENT_BUFFER ) { | |
638 yyensure_buffer_stack (); | |
639 YY_CURRENT_BUFFER_LVALUE = | |
640 - yy_create_buffer( yyin, YY_BUF_SIZE ); | |
641 + yy_create_buffer(yyin,YY_BUF_SIZE ); | |
642 } | |
643 | |
644 - yy_load_buffer_state( ); | |
645 + yy_load_buffer_state( ); | |
646 } | |
647 | |
648 { | |
649 -#line 158 "scan.l" | |
650 +#line 163 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
651 | |
652 -#line 160 "scan.l" | |
653 static int bracelevel, didadef, indented_code; | |
654 static int doing_rule_action = false; | |
655 static int option_sense; | |
656 @@ -2231,10 +2247,16 @@ | |
657 char nmdef[MAXLINE]; | |
658 | |
659 | |
660 -#line 2234 "scan.c" | |
661 +#line 2251 "scan.c" | |
662 | |
663 - while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ | |
664 + while ( 1 ) /* loops until end-of-file is reached */ | |
665 { | |
666 + (yy_more_len) = 0; | |
667 + if ( (yy_more_flag) ) | |
668 + { | |
669 + (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); | |
670 + (yy_more_flag) = 0; | |
671 + } | |
672 yy_cp = (yy_c_buf_p); | |
673 | |
674 /* Support of yytext. */ | |
675 @@ -2250,7 +2272,7 @@ | |
676 yy_match: | |
677 do | |
678 { | |
679 - YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; | |
680 + register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)] ; | |
681 if ( yy_accept[yy_current_state] ) | |
682 { | |
683 (yy_last_accepting_state) = yy_current_state; | |
684 @@ -2260,9 +2282,9 @@ | |
685 { | |
686 yy_current_state = (int) yy_def[yy_current_state]; | |
687 if ( yy_current_state >= 1114 ) | |
688 - yy_c = yy_meta[yy_c]; | |
689 + yy_c = yy_meta[(unsigned int) yy_c]; | |
690 } | |
691 - yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | |
692 + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | |
693 ++yy_cp; | |
694 } | |
695 while ( yy_base[yy_current_state] != 4511 ); | |
696 @@ -2291,39 +2313,39 @@ | |
697 | |
698 case 1: | |
699 YY_RULE_SETUP | |
700 -#line 170 "scan.l" | |
701 +#line 174 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
702 START_CODEBLOCK(true); | |
703 YY_BREAK | |
704 case 2: | |
705 YY_RULE_SETUP | |
706 -#line 171 "scan.l" | |
707 +#line 175 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
708 add_action("/*[""["); yy_push_state( COMMENT ); | |
709 YY_BREAK | |
710 case 3: | |
711 YY_RULE_SETUP | |
712 -#line 172 "scan.l" | |
713 +#line 176 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
714 yy_push_state( LINEDIR ); | |
715 YY_BREAK | |
716 case 4: | |
717 YY_RULE_SETUP | |
718 -#line 173 "scan.l" | |
719 +#line 177 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
720 return SCDECL; | |
721 YY_BREAK | |
722 case 5: | |
723 YY_RULE_SETUP | |
724 -#line 174 "scan.l" | |
725 +#line 178 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
726 return XSCDECL; | |
727 YY_BREAK | |
728 case 6: | |
729 /* rule 6 can match eol */ | |
730 YY_RULE_SETUP | |
731 -#line 175 "scan.l" | |
732 +#line 179 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
733 START_CODEBLOCK(false); | |
734 YY_BREAK | |
735 case 7: | |
736 /* rule 7 can match eol */ | |
737 YY_RULE_SETUP | |
738 -#line 176 "scan.l" | |
739 +#line 180 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
740 { | |
741 brace_start_line = linenum; | |
742 ++linenum; | |
743 @@ -2334,17 +2356,17 @@ | |
744 YY_BREAK | |
745 case 8: | |
746 YY_RULE_SETUP | |
747 -#line 184 "scan.l" | |
748 +#line 188 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
749 synerr( _("malformed '%top' directive") ); | |
750 YY_BREAK | |
751 case 9: | |
752 YY_RULE_SETUP | |
753 -#line 186 "scan.l" | |
754 +#line 190 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
755 /* discard */ | |
756 YY_BREAK | |
757 case 10: | |
758 YY_RULE_SETUP | |
759 -#line 188 "scan.l" | |
760 +#line 192 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
761 { | |
762 sectnum = 2; | |
763 bracelevel = 0; | |
764 @@ -2357,42 +2379,42 @@ | |
765 case 11: | |
766 /* rule 11 can match eol */ | |
767 YY_RULE_SETUP | |
768 -#line 197 "scan.l" | |
769 +#line 201 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
770 yytext_is_array = false; ++linenum; | |
771 YY_BREAK | |
772 case 12: | |
773 /* rule 12 can match eol */ | |
774 YY_RULE_SETUP | |
775 -#line 198 "scan.l" | |
776 +#line 202 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
777 yytext_is_array = true; ++linenum; | |
778 YY_BREAK | |
779 case 13: | |
780 YY_RULE_SETUP | |
781 -#line 200 "scan.l" | |
782 +#line 204 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
783 BEGIN(OPTION); return TOK_OPTION; | |
784 YY_BREAK | |
785 case 14: | |
786 /* rule 14 can match eol */ | |
787 YY_RULE_SETUP | |
788 -#line 202 "scan.l" | |
789 +#line 206 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
790 ++linenum; /* ignore */ | |
791 YY_BREAK | |
792 case 15: | |
793 /* rule 15 can match eol */ | |
794 YY_RULE_SETUP | |
795 -#line 203 "scan.l" | |
796 +#line 207 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
797 ++linenum; /* ignore */ | |
798 YY_BREAK | |
799 /* xgettext: no-c-format */ | |
800 case 16: | |
801 /* rule 16 can match eol */ | |
802 YY_RULE_SETUP | |
803 -#line 206 "scan.l" | |
804 +#line 210 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
805 synerr( _( "unrecognized '%' directive" ) ); | |
806 YY_BREAK | |
807 case 17: | |
808 YY_RULE_SETUP | |
809 -#line 208 "scan.l" | |
810 +#line 212 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
811 { | |
812 if(yyleng < MAXLINE) | |
813 { | |
814 @@ -2410,51 +2432,51 @@ | |
815 YY_BREAK | |
816 case 18: | |
817 YY_RULE_SETUP | |
818 -#line 223 "scan.l" | |
819 +#line 227 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
820 RETURNNAME; | |
821 YY_BREAK | |
822 case 19: | |
823 /* rule 19 can match eol */ | |
824 YY_RULE_SETUP | |
825 -#line 224 "scan.l" | |
826 +#line 228 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
827 ++linenum; /* allows blank lines in section 1 */ | |
828 YY_BREAK | |
829 case 20: | |
830 /* rule 20 can match eol */ | |
831 YY_RULE_SETUP | |
832 -#line 225 "scan.l" | |
833 +#line 229 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
834 ACTION_ECHO; ++linenum; /* maybe end of comment line */ | |
835 YY_BREAK | |
836 | |
837 /* */ | |
838 case 21: | |
839 YY_RULE_SETUP | |
840 -#line 230 "scan.l" | |
841 +#line 234 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
842 ACTION_ECHO; | |
843 YY_BREAK | |
844 case 22: | |
845 YY_RULE_SETUP | |
846 -#line 231 "scan.l" | |
847 +#line 235 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
848 ACTION_ECHO; | |
849 YY_BREAK | |
850 case 23: | |
851 /* rule 23 can match eol */ | |
852 YY_RULE_SETUP | |
853 -#line 233 "scan.l" | |
854 +#line 237 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
855 ++linenum; ACTION_ECHO; | |
856 YY_BREAK | |
857 | |
858 | |
859 case 24: | |
860 YY_RULE_SETUP | |
861 -#line 236 "scan.l" | |
862 +#line 240 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
863 add_action("*/]""]"); yy_pop_state(); | |
864 YY_BREAK | |
865 | |
866 | |
867 case 25: | |
868 YY_RULE_SETUP | |
869 -#line 239 "scan.l" | |
870 +#line 243 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
871 ACTION_ECHO; yy_pop_state(); | |
872 YY_BREAK | |
873 | |
874 @@ -2462,41 +2484,41 @@ | |
875 /* This is the same as COMMENT, but is discarded rather than output. */ | |
876 case 26: | |
877 YY_RULE_SETUP | |
878 -#line 244 "scan.l" | |
879 +#line 248 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
880 yy_pop_state(); | |
881 YY_BREAK | |
882 case 27: | |
883 YY_RULE_SETUP | |
884 -#line 245 "scan.l" | |
885 +#line 249 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
886 ; | |
887 YY_BREAK | |
888 case 28: | |
889 YY_RULE_SETUP | |
890 -#line 246 "scan.l" | |
891 +#line 250 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
892 ; | |
893 YY_BREAK | |
894 case 29: | |
895 /* rule 29 can match eol */ | |
896 YY_RULE_SETUP | |
897 -#line 247 "scan.l" | |
898 +#line 251 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
899 ++linenum; | |
900 YY_BREAK | |
901 | |
902 | |
903 case 30: | |
904 YY_RULE_SETUP | |
905 -#line 251 "scan.l" | |
906 +#line 255 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
907 yy_pop_state(); | |
908 YY_BREAK | |
909 case 31: | |
910 YY_RULE_SETUP | |
911 -#line 252 "scan.l" | |
912 +#line 256 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
913 ; | |
914 YY_BREAK | |
915 case 32: | |
916 /* rule 32 can match eol */ | |
917 YY_RULE_SETUP | |
918 -#line 253 "scan.l" | |
919 +#line 257 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
920 ++linenum; | |
921 YY_BREAK | |
922 | |
923 @@ -2504,17 +2526,17 @@ | |
924 case 33: | |
925 /* rule 33 can match eol */ | |
926 YY_RULE_SETUP | |
927 -#line 257 "scan.l" | |
928 +#line 261 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
929 yy_pop_state(); | |
930 YY_BREAK | |
931 case 34: | |
932 YY_RULE_SETUP | |
933 -#line 258 "scan.l" | |
934 +#line 262 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
935 linenum = myctoi( yytext ); | |
936 YY_BREAK | |
937 case 35: | |
938 YY_RULE_SETUP | |
939 -#line 260 "scan.l" | |
940 +#line 264 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
941 { | |
942 free(infilename); | |
943 infilename = xstrdup(yytext + 1); | |
944 @@ -2523,19 +2545,19 @@ | |
945 YY_BREAK | |
946 case 36: | |
947 YY_RULE_SETUP | |
948 -#line 265 "scan.l" | |
949 +#line 269 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
950 /* ignore spurious characters */ | |
951 YY_BREAK | |
952 | |
953 | |
954 case 37: | |
955 YY_RULE_SETUP | |
956 -#line 268 "scan.l" | |
957 +#line 272 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
958 ACTION_ECHO_QSTART; | |
959 YY_BREAK | |
960 case 38: | |
961 YY_RULE_SETUP | |
962 -#line 269 "scan.l" | |
963 +#line 273 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
964 ACTION_ECHO_QEND; | |
965 YY_BREAK | |
966 | |
967 @@ -2543,23 +2565,23 @@ | |
968 case 39: | |
969 /* rule 39 can match eol */ | |
970 YY_RULE_SETUP | |
971 -#line 273 "scan.l" | |
972 +#line 277 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
973 ++linenum; END_CODEBLOCK; | |
974 YY_BREAK | |
975 case 40: | |
976 YY_RULE_SETUP | |
977 -#line 274 "scan.l" | |
978 +#line 278 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
979 ACTION_ECHO; | |
980 YY_BREAK | |
981 case 41: | |
982 YY_RULE_SETUP | |
983 -#line 275 "scan.l" | |
984 +#line 279 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
985 ACTION_ECHO; | |
986 YY_BREAK | |
987 case 42: | |
988 /* rule 42 can match eol */ | |
989 YY_RULE_SETUP | |
990 -#line 276 "scan.l" | |
991 +#line 280 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
992 { | |
993 ++linenum; | |
994 ACTION_ECHO; | |
995 @@ -2570,7 +2592,7 @@ | |
996 | |
997 case 43: | |
998 YY_RULE_SETUP | |
999 -#line 284 "scan.l" | |
1000 +#line 288 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1001 { | |
1002 if( --brace_depth == 0){ | |
1003 /* TODO: Matched. */ | |
1004 @@ -2581,7 +2603,7 @@ | |
1005 YY_BREAK | |
1006 case 44: | |
1007 YY_RULE_SETUP | |
1008 -#line 292 "scan.l" | |
1009 +#line 296 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1010 { | |
1011 brace_depth++; | |
1012 buf_strnappend(&top_buf, yytext, yyleng); | |
1013 @@ -2590,7 +2612,7 @@ | |
1014 case 45: | |
1015 /* rule 45 can match eol */ | |
1016 YY_RULE_SETUP | |
1017 -#line 297 "scan.l" | |
1018 +#line 301 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1019 { | |
1020 ++linenum; | |
1021 buf_strnappend(&top_buf, yytext, yyleng); | |
1022 @@ -2598,23 +2620,23 @@ | |
1023 YY_BREAK | |
1024 case 46: | |
1025 YY_RULE_SETUP | |
1026 -#line 302 "scan.l" | |
1027 +#line 306 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1028 buf_strnappend(&top_buf, escaped_qstart, (int) strlen(escaped_qstart)); | |
1029 YY_BREAK | |
1030 case 47: | |
1031 YY_RULE_SETUP | |
1032 -#line 303 "scan.l" | |
1033 +#line 307 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1034 buf_strnappend(&top_buf, escaped_qend, (int) strlen(escaped_qend)); | |
1035 YY_BREAK | |
1036 case 48: | |
1037 YY_RULE_SETUP | |
1038 -#line 304 "scan.l" | |
1039 +#line 308 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1040 { | |
1041 buf_strnappend(&top_buf, yytext, yyleng); | |
1042 } | |
1043 YY_BREAK | |
1044 case YY_STATE_EOF(CODEBLOCK_MATCH_BRACE): | |
1045 -#line 308 "scan.l" | |
1046 +#line 312 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1047 { | |
1048 linenum = brace_start_line; | |
1049 synerr(_("Unmatched '{'")); | |
1050 @@ -2625,12 +2647,12 @@ | |
1051 | |
1052 case 49: | |
1053 YY_RULE_SETUP | |
1054 -#line 317 "scan.l" | |
1055 +#line 321 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1056 /* separates name and definition */ | |
1057 YY_BREAK | |
1058 case 50: | |
1059 YY_RULE_SETUP | |
1060 -#line 319 "scan.l" | |
1061 +#line 323 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1062 { | |
1063 if(yyleng < MAXLINE) | |
1064 { | |
1065 @@ -2656,7 +2678,7 @@ | |
1066 case 51: | |
1067 /* rule 51 can match eol */ | |
1068 YY_RULE_SETUP | |
1069 -#line 341 "scan.l" | |
1070 +#line 345 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1071 { | |
1072 if ( ! didadef ) | |
1073 synerr( _( "incomplete name definition" ) ); | |
1074 @@ -2669,42 +2691,42 @@ | |
1075 case 52: | |
1076 /* rule 52 can match eol */ | |
1077 YY_RULE_SETUP | |
1078 -#line 351 "scan.l" | |
1079 +#line 355 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1080 ++linenum; BEGIN(INITIAL); | |
1081 YY_BREAK | |
1082 case 53: | |
1083 YY_RULE_SETUP | |
1084 -#line 352 "scan.l" | |
1085 +#line 356 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1086 option_sense = true; | |
1087 YY_BREAK | |
1088 case 54: | |
1089 YY_RULE_SETUP | |
1090 -#line 354 "scan.l" | |
1091 +#line 358 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1092 return '='; | |
1093 YY_BREAK | |
1094 case 55: | |
1095 YY_RULE_SETUP | |
1096 -#line 356 "scan.l" | |
1097 +#line 360 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1098 option_sense = ! option_sense; | |
1099 YY_BREAK | |
1100 case 56: | |
1101 YY_RULE_SETUP | |
1102 -#line 358 "scan.l" | |
1103 +#line 362 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1104 csize = option_sense ? 128 : 256; | |
1105 YY_BREAK | |
1106 case 57: | |
1107 YY_RULE_SETUP | |
1108 -#line 359 "scan.l" | |
1109 +#line 363 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1110 csize = option_sense ? 256 : 128; | |
1111 YY_BREAK | |
1112 case 58: | |
1113 YY_RULE_SETUP | |
1114 -#line 361 "scan.l" | |
1115 +#line 365 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1116 long_align = option_sense; | |
1117 YY_BREAK | |
1118 case 59: | |
1119 YY_RULE_SETUP | |
1120 -#line 362 "scan.l" | |
1121 +#line 366 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1122 { | |
1123 ACTION_M4_IFDEF( "M4""_YY_ALWAYS_INTERACTIVE", option_sense ); | |
1124 interactive = option_sense; | |
1125 @@ -2712,64 +2734,64 @@ | |
1126 YY_BREAK | |
1127 case 60: | |
1128 YY_RULE_SETUP | |
1129 -#line 366 "scan.l" | |
1130 +#line 370 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1131 yytext_is_array = option_sense; | |
1132 YY_BREAK | |
1133 case 61: | |
1134 YY_RULE_SETUP | |
1135 -#line 367 "scan.l" | |
1136 +#line 371 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1137 backing_up_report = option_sense; | |
1138 YY_BREAK | |
1139 case 62: | |
1140 YY_RULE_SETUP | |
1141 -#line 368 "scan.l" | |
1142 +#line 372 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1143 interactive = ! option_sense; | |
1144 YY_BREAK | |
1145 case 63: | |
1146 YY_RULE_SETUP | |
1147 -#line 369 "scan.l" | |
1148 +#line 373 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1149 bison_bridge_lval = option_sense; | |
1150 YY_BREAK | |
1151 case 64: | |
1152 YY_RULE_SETUP | |
1153 -#line 370 "scan.l" | |
1154 +#line 374 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1155 { if((bison_bridge_lloc = option_sense)) | |
1156 bison_bridge_lval = true; | |
1157 } | |
1158 YY_BREAK | |
1159 case 65: | |
1160 YY_RULE_SETUP | |
1161 -#line 373 "scan.l" | |
1162 +#line 377 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1163 C_plus_plus = option_sense; | |
1164 YY_BREAK | |
1165 case 66: | |
1166 YY_RULE_SETUP | |
1167 -#line 374 "scan.l" | |
1168 +#line 378 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1169 sf_set_case_ins(!option_sense); | |
1170 YY_BREAK | |
1171 case 67: | |
1172 YY_RULE_SETUP | |
1173 -#line 375 "scan.l" | |
1174 +#line 379 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1175 sf_set_case_ins(option_sense); | |
1176 YY_BREAK | |
1177 case 68: | |
1178 YY_RULE_SETUP | |
1179 -#line 376 "scan.l" | |
1180 +#line 380 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1181 ddebug = option_sense; | |
1182 YY_BREAK | |
1183 case 69: | |
1184 YY_RULE_SETUP | |
1185 -#line 377 "scan.l" | |
1186 +#line 381 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1187 spprdflt = ! option_sense; | |
1188 YY_BREAK | |
1189 case 70: | |
1190 YY_RULE_SETUP | |
1191 -#line 378 "scan.l" | |
1192 +#line 382 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1193 useecs = option_sense; | |
1194 YY_BREAK | |
1195 case 71: | |
1196 YY_RULE_SETUP | |
1197 -#line 379 "scan.l" | |
1198 +#line 383 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1199 { | |
1200 useecs = usemecs = false; | |
1201 use_read = fullspd = true; | |
1202 @@ -2777,7 +2799,7 @@ | |
1203 YY_BREAK | |
1204 case 72: | |
1205 YY_RULE_SETUP | |
1206 -#line 383 "scan.l" | |
1207 +#line 387 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1208 { | |
1209 useecs = usemecs = false; | |
1210 use_read = fulltbl = true; | |
1211 @@ -2785,32 +2807,32 @@ | |
1212 YY_BREAK | |
1213 case 73: | |
1214 YY_RULE_SETUP | |
1215 -#line 387 "scan.l" | |
1216 +#line 391 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1217 ACTION_IFDEF("YY_NO_INPUT", ! option_sense); | |
1218 YY_BREAK | |
1219 case 74: | |
1220 YY_RULE_SETUP | |
1221 -#line 388 "scan.l" | |
1222 +#line 392 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1223 interactive = option_sense; | |
1224 YY_BREAK | |
1225 case 75: | |
1226 YY_RULE_SETUP | |
1227 -#line 389 "scan.l" | |
1228 +#line 393 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1229 lex_compat = option_sense; | |
1230 YY_BREAK | |
1231 case 76: | |
1232 YY_RULE_SETUP | |
1233 -#line 390 "scan.l" | |
1234 +#line 394 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1235 posix_compat = option_sense; | |
1236 YY_BREAK | |
1237 case 77: | |
1238 YY_RULE_SETUP | |
1239 -#line 391 "scan.l" | |
1240 +#line 395 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1241 gen_line_dirs = option_sense; | |
1242 YY_BREAK | |
1243 case 78: | |
1244 YY_RULE_SETUP | |
1245 -#line 392 "scan.l" | |
1246 +#line 396 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1247 { | |
1248 ACTION_M4_IFDEF( "M4""_YY_MAIN", option_sense); | |
1249 /* Override yywrap */ | |
1250 @@ -2820,12 +2842,12 @@ | |
1251 YY_BREAK | |
1252 case 79: | |
1253 YY_RULE_SETUP | |
1254 -#line 398 "scan.l" | |
1255 +#line 402 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1256 usemecs = option_sense; | |
1257 YY_BREAK | |
1258 case 80: | |
1259 YY_RULE_SETUP | |
1260 -#line 399 "scan.l" | |
1261 +#line 403 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1262 { | |
1263 ACTION_M4_IFDEF( "M4""_YY_NEVER_INTERACTIVE", option_sense ); | |
1264 interactive = !option_sense; | |
1265 @@ -2833,237 +2855,237 @@ | |
1266 YY_BREAK | |
1267 case 81: | |
1268 YY_RULE_SETUP | |
1269 -#line 403 "scan.l" | |
1270 +#line 407 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1271 performance_report += option_sense ? 1 : -1; | |
1272 YY_BREAK | |
1273 case 82: | |
1274 YY_RULE_SETUP | |
1275 -#line 404 "scan.l" | |
1276 +#line 408 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1277 yytext_is_array = ! option_sense; | |
1278 YY_BREAK | |
1279 case 83: | |
1280 YY_RULE_SETUP | |
1281 -#line 405 "scan.l" | |
1282 +#line 409 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1283 use_read = option_sense; | |
1284 YY_BREAK | |
1285 case 84: | |
1286 YY_RULE_SETUP | |
1287 -#line 406 "scan.l" | |
1288 +#line 410 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1289 reentrant = option_sense; | |
1290 YY_BREAK | |
1291 case 85: | |
1292 YY_RULE_SETUP | |
1293 -#line 407 "scan.l" | |
1294 +#line 411 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1295 reject_really_used = option_sense; | |
1296 YY_BREAK | |
1297 case 86: | |
1298 YY_RULE_SETUP | |
1299 -#line 408 "scan.l" | |
1300 +#line 412 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1301 ACTION_M4_IFDEF( "M4""_YY_STACK_USED", option_sense ); | |
1302 YY_BREAK | |
1303 case 87: | |
1304 YY_RULE_SETUP | |
1305 -#line 409 "scan.l" | |
1306 +#line 413 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1307 do_stdinit = option_sense; | |
1308 YY_BREAK | |
1309 case 88: | |
1310 YY_RULE_SETUP | |
1311 -#line 410 "scan.l" | |
1312 +#line 414 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1313 use_stdout = option_sense; | |
1314 YY_BREAK | |
1315 case 89: | |
1316 YY_RULE_SETUP | |
1317 -#line 411 "scan.l" | |
1318 +#line 415 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1319 ACTION_IFDEF("YY_NO_UNISTD_H", ! option_sense); | |
1320 YY_BREAK | |
1321 case 90: | |
1322 YY_RULE_SETUP | |
1323 -#line 412 "scan.l" | |
1324 +#line 416 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1325 ACTION_M4_IFDEF("M4""_YY_NO_UNPUT", ! option_sense); | |
1326 YY_BREAK | |
1327 case 91: | |
1328 YY_RULE_SETUP | |
1329 -#line 413 "scan.l" | |
1330 +#line 417 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1331 printstats = option_sense; | |
1332 YY_BREAK | |
1333 case 92: | |
1334 YY_RULE_SETUP | |
1335 -#line 414 "scan.l" | |
1336 +#line 418 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1337 nowarn = ! option_sense; | |
1338 YY_BREAK | |
1339 case 93: | |
1340 YY_RULE_SETUP | |
1341 -#line 415 "scan.l" | |
1342 +#line 419 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1343 do_yylineno = option_sense; ACTION_M4_IFDEF("M4""_YY_USE_LINENO", option_sense); | |
1344 YY_BREAK | |
1345 case 94: | |
1346 YY_RULE_SETUP | |
1347 -#line 416 "scan.l" | |
1348 +#line 420 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1349 yymore_really_used = option_sense; | |
1350 YY_BREAK | |
1351 case 95: | |
1352 YY_RULE_SETUP | |
1353 -#line 417 "scan.l" | |
1354 +#line 421 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1355 do_yywrap = option_sense; | |
1356 YY_BREAK | |
1357 case 96: | |
1358 YY_RULE_SETUP | |
1359 -#line 419 "scan.l" | |
1360 +#line 423 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1361 ACTION_M4_IFDEF("M4""_YY_NO_PUSH_STATE", ! option_sense); | |
1362 YY_BREAK | |
1363 case 97: | |
1364 YY_RULE_SETUP | |
1365 -#line 420 "scan.l" | |
1366 +#line 424 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1367 ACTION_M4_IFDEF("M4""_YY_NO_POP_STATE", ! option_sense); | |
1368 YY_BREAK | |
1369 case 98: | |
1370 YY_RULE_SETUP | |
1371 -#line 421 "scan.l" | |
1372 +#line 425 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1373 ACTION_M4_IFDEF("M4""_YY_NO_TOP_STATE", ! option_sense); | |
1374 YY_BREAK | |
1375 case 99: | |
1376 YY_RULE_SETUP | |
1377 -#line 423 "scan.l" | |
1378 +#line 427 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1379 ACTION_M4_IFDEF("M4""_YY_NO_SCAN_BUFFER", ! option_sense); | |
1380 YY_BREAK | |
1381 case 100: | |
1382 YY_RULE_SETUP | |
1383 -#line 424 "scan.l" | |
1384 +#line 428 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1385 ACTION_M4_IFDEF("M4""_YY_NO_SCAN_BYTES", ! option_sense); | |
1386 YY_BREAK | |
1387 case 101: | |
1388 YY_RULE_SETUP | |
1389 -#line 425 "scan.l" | |
1390 +#line 429 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1391 ACTION_M4_IFDEF("M4""_YY_NO_SCAN_STRING", ! option_sense); | |
1392 YY_BREAK | |
1393 case 102: | |
1394 YY_RULE_SETUP | |
1395 -#line 427 "scan.l" | |
1396 +#line 431 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1397 ACTION_M4_IFDEF("M4""_YY_NO_FLEX_ALLOC", ! option_sense); | |
1398 YY_BREAK | |
1399 case 103: | |
1400 YY_RULE_SETUP | |
1401 -#line 428 "scan.l" | |
1402 +#line 432 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1403 ACTION_M4_IFDEF("M4""_YY_NO_FLEX_REALLOC", ! option_sense); | |
1404 YY_BREAK | |
1405 case 104: | |
1406 YY_RULE_SETUP | |
1407 -#line 429 "scan.l" | |
1408 +#line 433 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1409 ACTION_M4_IFDEF("M4""_YY_NO_FLEX_FREE", ! option_sense); | |
1410 YY_BREAK | |
1411 case 105: | |
1412 YY_RULE_SETUP | |
1413 -#line 431 "scan.l" | |
1414 +#line 435 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1415 ACTION_M4_IFDEF("M4""_YY_NO_GET_DEBUG", ! option_sense); | |
1416 YY_BREAK | |
1417 case 106: | |
1418 YY_RULE_SETUP | |
1419 -#line 432 "scan.l" | |
1420 +#line 436 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1421 ACTION_M4_IFDEF("M4""_YY_NO_SET_DEBUG", ! option_sense); | |
1422 YY_BREAK | |
1423 case 107: | |
1424 YY_RULE_SETUP | |
1425 -#line 433 "scan.l" | |
1426 +#line 437 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1427 ACTION_M4_IFDEF("M4""_YY_NO_GET_EXTRA", ! option_sense); | |
1428 YY_BREAK | |
1429 case 108: | |
1430 YY_RULE_SETUP | |
1431 -#line 434 "scan.l" | |
1432 +#line 438 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1433 ACTION_M4_IFDEF("M4""_YY_NO_SET_EXTRA", ! option_sense); | |
1434 YY_BREAK | |
1435 case 109: | |
1436 YY_RULE_SETUP | |
1437 -#line 435 "scan.l" | |
1438 +#line 439 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1439 ACTION_M4_IFDEF("M4""_YY_NO_GET_LENG", ! option_sense); | |
1440 YY_BREAK | |
1441 case 110: | |
1442 YY_RULE_SETUP | |
1443 -#line 436 "scan.l" | |
1444 +#line 440 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1445 ACTION_M4_IFDEF("M4""_YY_NO_GET_TEXT", ! option_sense); | |
1446 YY_BREAK | |
1447 case 111: | |
1448 YY_RULE_SETUP | |
1449 -#line 437 "scan.l" | |
1450 +#line 441 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1451 ACTION_M4_IFDEF("M4""_YY_NO_GET_LINENO", ! option_sense); | |
1452 YY_BREAK | |
1453 case 112: | |
1454 YY_RULE_SETUP | |
1455 -#line 438 "scan.l" | |
1456 +#line 442 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1457 ACTION_M4_IFDEF("M4""_YY_NO_SET_LINENO", ! option_sense); | |
1458 YY_BREAK | |
1459 case 113: | |
1460 YY_RULE_SETUP | |
1461 -#line 439 "scan.l" | |
1462 +#line 443 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1463 ACTION_M4_IFDEF("M4""_YY_NO_GET_IN", ! option_sense); | |
1464 YY_BREAK | |
1465 case 114: | |
1466 YY_RULE_SETUP | |
1467 -#line 440 "scan.l" | |
1468 +#line 444 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1469 ACTION_M4_IFDEF("M4""_YY_NO_SET_IN", ! option_sense); | |
1470 YY_BREAK | |
1471 case 115: | |
1472 YY_RULE_SETUP | |
1473 -#line 441 "scan.l" | |
1474 +#line 445 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1475 ACTION_M4_IFDEF("M4""_YY_NO_GET_OUT", ! option_sense); | |
1476 YY_BREAK | |
1477 case 116: | |
1478 YY_RULE_SETUP | |
1479 -#line 442 "scan.l" | |
1480 +#line 446 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1481 ACTION_M4_IFDEF("M4""_YY_NO_SET_OUT", ! option_sense); | |
1482 YY_BREAK | |
1483 case 117: | |
1484 YY_RULE_SETUP | |
1485 -#line 443 "scan.l" | |
1486 +#line 447 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1487 ACTION_M4_IFDEF("M4""_YY_NO_GET_LVAL", ! option_sense); | |
1488 YY_BREAK | |
1489 case 118: | |
1490 YY_RULE_SETUP | |
1491 -#line 444 "scan.l" | |
1492 +#line 448 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1493 ACTION_M4_IFDEF("M4""_YY_NO_SET_LVAL", ! option_sense); | |
1494 YY_BREAK | |
1495 case 119: | |
1496 YY_RULE_SETUP | |
1497 -#line 445 "scan.l" | |
1498 +#line 449 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1499 ACTION_M4_IFDEF("M4""_YY_NO_GET_LLOC", ! option_sense); | |
1500 YY_BREAK | |
1501 case 120: | |
1502 YY_RULE_SETUP | |
1503 -#line 446 "scan.l" | |
1504 +#line 450 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1505 ACTION_M4_IFDEF("M4""_YY_NO_SET_LLOC", ! option_sense); | |
1506 YY_BREAK | |
1507 case 121: | |
1508 YY_RULE_SETUP | |
1509 -#line 448 "scan.l" | |
1510 +#line 452 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1511 return TOK_EXTRA_TYPE; | |
1512 YY_BREAK | |
1513 case 122: | |
1514 YY_RULE_SETUP | |
1515 -#line 449 "scan.l" | |
1516 +#line 453 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1517 return TOK_OUTFILE; | |
1518 YY_BREAK | |
1519 case 123: | |
1520 YY_RULE_SETUP | |
1521 -#line 450 "scan.l" | |
1522 +#line 454 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1523 return TOK_PREFIX; | |
1524 YY_BREAK | |
1525 case 124: | |
1526 YY_RULE_SETUP | |
1527 -#line 451 "scan.l" | |
1528 +#line 455 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1529 return TOK_YYCLASS; | |
1530 YY_BREAK | |
1531 case 125: | |
1532 YY_RULE_SETUP | |
1533 -#line 452 "scan.l" | |
1534 +#line 456 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1535 return TOK_HEADER_FILE; | |
1536 YY_BREAK | |
1537 case 126: | |
1538 YY_RULE_SETUP | |
1539 -#line 453 "scan.l" | |
1540 +#line 457 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1541 return TOK_TABLES_FILE; | |
1542 YY_BREAK | |
1543 case 127: | |
1544 YY_RULE_SETUP | |
1545 -#line 454 "scan.l" | |
1546 +#line 458 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1547 { | |
1548 tablesverify = option_sense; | |
1549 if(!tablesext && option_sense) | |
1550 @@ -3072,7 +3094,7 @@ | |
1551 YY_BREAK | |
1552 case 128: | |
1553 YY_RULE_SETUP | |
1554 -#line 461 "scan.l" | |
1555 +#line 465 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1556 { | |
1557 if(yyleng-1 < MAXLINE) | |
1558 { | |
1559 @@ -3089,7 +3111,7 @@ | |
1560 YY_BREAK | |
1561 case 129: | |
1562 YY_RULE_SETUP | |
1563 -#line 475 "scan.l" | |
1564 +#line 479 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1565 { | |
1566 format_synerr( _( "unrecognized %%option: %s" ), | |
1567 yytext ); | |
1568 @@ -3100,28 +3122,28 @@ | |
1569 case 130: | |
1570 /* rule 130 can match eol */ | |
1571 YY_RULE_SETUP | |
1572 -#line 482 "scan.l" | |
1573 +#line 486 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1574 ++linenum; BEGIN(INITIAL); | |
1575 YY_BREAK | |
1576 | |
1577 case 131: | |
1578 YY_RULE_SETUP | |
1579 -#line 486 "scan.l" | |
1580 +#line 490 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1581 ++bracelevel; yyless( 2 ); /* eat only %{ */ | |
1582 YY_BREAK | |
1583 case 132: | |
1584 YY_RULE_SETUP | |
1585 -#line 487 "scan.l" | |
1586 +#line 491 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1587 --bracelevel; yyless( 2 ); /* eat only %} */ | |
1588 YY_BREAK | |
1589 case 133: | |
1590 YY_RULE_SETUP | |
1591 -#line 489 "scan.l" | |
1592 +#line 493 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1593 START_CODEBLOCK(true); /* indented code in prolog */ | |
1594 YY_BREAK | |
1595 case 134: | |
1596 YY_RULE_SETUP | |
1597 -#line 491 "scan.l" | |
1598 +#line 495 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1599 { | |
1600 /* non-indented code */ | |
1601 if ( bracelevel <= 0 ) { | |
1602 @@ -3137,17 +3159,17 @@ | |
1603 YY_BREAK | |
1604 case 135: | |
1605 YY_RULE_SETUP | |
1606 -#line 504 "scan.l" | |
1607 +#line 508 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1608 ACTION_ECHO; | |
1609 YY_BREAK | |
1610 case 136: | |
1611 /* rule 136 can match eol */ | |
1612 YY_RULE_SETUP | |
1613 -#line 505 "scan.l" | |
1614 +#line 509 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1615 ++linenum; ACTION_ECHO; | |
1616 YY_BREAK | |
1617 case YY_STATE_EOF(SECT2PROLOG): | |
1618 -#line 507 "scan.l" | |
1619 +#line 511 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1620 { | |
1621 mark_prolog(); | |
1622 sectnum = 0; | |
1623 @@ -3159,12 +3181,12 @@ | |
1624 case 137: | |
1625 /* rule 137 can match eol */ | |
1626 YY_RULE_SETUP | |
1627 -#line 515 "scan.l" | |
1628 +#line 519 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1629 ++linenum; /* allow blank lines in section 2 */ | |
1630 YY_BREAK | |
1631 case 138: | |
1632 YY_RULE_SETUP | |
1633 -#line 517 "scan.l" | |
1634 +#line 521 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1635 { | |
1636 indented_code = false; | |
1637 doing_codeblock = true; | |
1638 @@ -3174,7 +3196,7 @@ | |
1639 YY_BREAK | |
1640 case 139: | |
1641 YY_RULE_SETUP | |
1642 -#line 524 "scan.l" | |
1643 +#line 528 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1644 { | |
1645 /* Allow "<" to appear in (?x) patterns. */ | |
1646 if (!sf_skip_ws()) | |
1647 @@ -3184,12 +3206,12 @@ | |
1648 YY_BREAK | |
1649 case 140: | |
1650 YY_RULE_SETUP | |
1651 -#line 530 "scan.l" | |
1652 +#line 534 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1653 return '^'; | |
1654 YY_BREAK | |
1655 case 141: | |
1656 YY_RULE_SETUP | |
1657 -#line 531 "scan.l" | |
1658 +#line 535 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1659 BEGIN(QUOTE); return '"'; | |
1660 YY_BREAK | |
1661 case 142: | |
1662 @@ -3197,7 +3219,7 @@ | |
1663 (yy_c_buf_p) = yy_cp = yy_bp + 1; | |
1664 YY_DO_BEFORE_ACTION; /* set up yytext again */ | |
1665 YY_RULE_SETUP | |
1666 -#line 532 "scan.l" | |
1667 +#line 536 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1668 { | |
1669 BEGIN(NUM); | |
1670 if ( lex_compat || posix_compat ) | |
1671 @@ -3213,12 +3235,12 @@ | |
1672 (yy_c_buf_p) = yy_cp = yy_bp + 1; | |
1673 YY_DO_BEFORE_ACTION; /* set up yytext again */ | |
1674 YY_RULE_SETUP | |
1675 -#line 539 "scan.l" | |
1676 +#line 543 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1677 return '$'; | |
1678 YY_BREAK | |
1679 case 144: | |
1680 YY_RULE_SETUP | |
1681 -#line 541 "scan.l" | |
1682 +#line 545 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1683 { | |
1684 bracelevel = 1; | |
1685 BEGIN(PERCENT_BRACE_ACTION); | |
1686 @@ -3234,7 +3256,7 @@ | |
1687 case 145: | |
1688 /* rule 145 can match eol */ | |
1689 YY_RULE_SETUP | |
1690 -#line 552 "scan.l" | |
1691 +#line 556 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1692 { | |
1693 if (sf_skip_ws()){ | |
1694 /* We're in the middle of a (?x: ) pattern. */ | |
1695 @@ -3252,7 +3274,7 @@ | |
1696 YY_BREAK | |
1697 case 146: | |
1698 YY_RULE_SETUP | |
1699 -#line 567 "scan.l" | |
1700 +#line 571 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1701 { | |
1702 | |
1703 if (sf_skip_ws()){ | |
1704 @@ -3269,12 +3291,12 @@ | |
1705 YY_BREAK | |
1706 case 147: | |
1707 YY_RULE_SETUP | |
1708 -#line 581 "scan.l" | |
1709 +#line 585 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1710 /* allow indented rules */ ; | |
1711 YY_BREAK | |
1712 case 148: | |
1713 YY_RULE_SETUP | |
1714 -#line 583 "scan.l" | |
1715 +#line 587 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1716 { | |
1717 if (sf_skip_ws()){ | |
1718 /* We're in the middle of a (?x: ) pattern. */ | |
1719 @@ -3300,7 +3322,7 @@ | |
1720 case 149: | |
1721 /* rule 149 can match eol */ | |
1722 YY_RULE_SETUP | |
1723 -#line 605 "scan.l" | |
1724 +#line 609 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1725 { | |
1726 if (sf_skip_ws()){ | |
1727 /* We're in the middle of a (?x: ) pattern. */ | |
1728 @@ -3322,15 +3344,15 @@ | |
1729 } | |
1730 YY_BREAK | |
1731 case 150: | |
1732 -#line 626 "scan.l" | |
1733 +#line 630 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1734 case 151: | |
1735 YY_RULE_SETUP | |
1736 -#line 626 "scan.l" | |
1737 +#line 630 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1738 return EOF_OP; | |
1739 YY_BREAK | |
1740 case 152: | |
1741 YY_RULE_SETUP | |
1742 -#line 628 "scan.l" | |
1743 +#line 632 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1744 { | |
1745 sectnum = 3; | |
1746 BEGIN(no_section3_escape ? SECT3_NOESCAPE : SECT3); | |
1747 @@ -3341,7 +3363,7 @@ | |
1748 YY_BREAK | |
1749 case 153: | |
1750 YY_RULE_SETUP | |
1751 -#line 636 "scan.l" | |
1752 +#line 640 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1753 { | |
1754 int cclval; | |
1755 | |
1756 @@ -3391,12 +3413,12 @@ | |
1757 YY_BREAK | |
1758 case 154: | |
1759 YY_RULE_SETUP | |
1760 -#line 682 "scan.l" | |
1761 +#line 686 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1762 return CCL_OP_DIFF; | |
1763 YY_BREAK | |
1764 case 155: | |
1765 YY_RULE_SETUP | |
1766 -#line 683 "scan.l" | |
1767 +#line 687 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1768 return CCL_OP_UNION; | |
1769 YY_BREAK | |
1770 /* Check for :space: at the end of the rule so we don't | |
1771 @@ -3406,7 +3428,7 @@ | |
1772 case 156: | |
1773 /* rule 156 can match eol */ | |
1774 YY_RULE_SETUP | |
1775 -#line 690 "scan.l" | |
1776 +#line 694 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1777 { | |
1778 char *nmdefptr; | |
1779 int end_is_ws, end_ch; | |
1780 @@ -3457,7 +3479,7 @@ | |
1781 YY_BREAK | |
1782 case 157: | |
1783 YY_RULE_SETUP | |
1784 -#line 738 "scan.l" | |
1785 +#line 742 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1786 { | |
1787 if (sf_skip_ws()) | |
1788 yy_push_state(COMMENT_DISCARD); | |
1789 @@ -3470,7 +3492,7 @@ | |
1790 YY_BREAK | |
1791 case 158: | |
1792 YY_RULE_SETUP | |
1793 -#line 748 "scan.l" | |
1794 +#line 752 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1795 { | |
1796 if (lex_compat || posix_compat){ | |
1797 /* Push back the "?#" and treat it like a normal parens. */ | |
1798 @@ -3484,7 +3506,7 @@ | |
1799 YY_BREAK | |
1800 case 159: | |
1801 YY_RULE_SETUP | |
1802 -#line 758 "scan.l" | |
1803 +#line 762 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1804 { | |
1805 sf_push(); | |
1806 if (lex_compat || posix_compat) | |
1807 @@ -3497,12 +3519,12 @@ | |
1808 YY_BREAK | |
1809 case 160: | |
1810 YY_RULE_SETUP | |
1811 -#line 767 "scan.l" | |
1812 +#line 771 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1813 sf_push(); return '('; | |
1814 YY_BREAK | |
1815 case 161: | |
1816 YY_RULE_SETUP | |
1817 -#line 768 "scan.l" | |
1818 +#line 772 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1819 { | |
1820 if (_sf_top_ix > 0) { | |
1821 sf_pop(); | |
1822 @@ -3513,12 +3535,12 @@ | |
1823 YY_BREAK | |
1824 case 162: | |
1825 YY_RULE_SETUP | |
1826 -#line 776 "scan.l" | |
1827 +#line 780 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1828 return (unsigned char) yytext[0]; | |
1829 YY_BREAK | |
1830 case 163: | |
1831 YY_RULE_SETUP | |
1832 -#line 777 "scan.l" | |
1833 +#line 781 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1834 RETURNCHAR; | |
1835 YY_BREAK | |
1836 | |
1837 @@ -3526,17 +3548,17 @@ | |
1838 case 164: | |
1839 /* rule 164 can match eol */ | |
1840 YY_RULE_SETUP | |
1841 -#line 782 "scan.l" | |
1842 +#line 786 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1843 ++linenum; /* Allow blank lines & continuations */ | |
1844 YY_BREAK | |
1845 case 165: | |
1846 YY_RULE_SETUP | |
1847 -#line 783 "scan.l" | |
1848 +#line 787 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1849 return (unsigned char) yytext[0]; | |
1850 YY_BREAK | |
1851 case 166: | |
1852 YY_RULE_SETUP | |
1853 -#line 784 "scan.l" | |
1854 +#line 788 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1855 BEGIN(SECT2); return '>'; | |
1856 YY_BREAK | |
1857 case 167: | |
1858 @@ -3544,17 +3566,17 @@ | |
1859 (yy_c_buf_p) = yy_cp = yy_bp + 1; | |
1860 YY_DO_BEFORE_ACTION; /* set up yytext again */ | |
1861 YY_RULE_SETUP | |
1862 -#line 785 "scan.l" | |
1863 +#line 789 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1864 BEGIN(CARETISBOL); return '>'; | |
1865 YY_BREAK | |
1866 case 168: | |
1867 YY_RULE_SETUP | |
1868 -#line 786 "scan.l" | |
1869 +#line 790 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1870 RETURNNAME; | |
1871 YY_BREAK | |
1872 case 169: | |
1873 YY_RULE_SETUP | |
1874 -#line 787 "scan.l" | |
1875 +#line 791 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1876 { | |
1877 format_synerr( _( "bad <start condition>: %s" ), | |
1878 yytext ); | |
1879 @@ -3563,24 +3585,24 @@ | |
1880 | |
1881 case 170: | |
1882 YY_RULE_SETUP | |
1883 -#line 793 "scan.l" | |
1884 +#line 797 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1885 BEGIN(SECT2); return '^'; | |
1886 YY_BREAK | |
1887 | |
1888 case 171: | |
1889 YY_RULE_SETUP | |
1890 -#line 797 "scan.l" | |
1891 +#line 801 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1892 RETURNCHAR; | |
1893 YY_BREAK | |
1894 case 172: | |
1895 YY_RULE_SETUP | |
1896 -#line 798 "scan.l" | |
1897 +#line 802 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1898 BEGIN(SECT2); return '"'; | |
1899 YY_BREAK | |
1900 case 173: | |
1901 /* rule 173 can match eol */ | |
1902 YY_RULE_SETUP | |
1903 -#line 800 "scan.l" | |
1904 +#line 804 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1905 { | |
1906 synerr( _( "missing quote" ) ); | |
1907 BEGIN(SECT2); | |
1908 @@ -3592,49 +3614,49 @@ | |
1909 | |
1910 case 174: | |
1911 YY_RULE_SETUP | |
1912 -#line 809 "scan.l" | |
1913 +#line 813 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1914 BEGIN(SECT2); | |
1915 YY_BREAK | |
1916 case 175: | |
1917 YY_RULE_SETUP | |
1918 -#line 810 "scan.l" | |
1919 +#line 814 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1920 BEGIN(GROUP_MINUS_PARAMS); | |
1921 YY_BREAK | |
1922 case 176: | |
1923 YY_RULE_SETUP | |
1924 -#line 811 "scan.l" | |
1925 +#line 815 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1926 sf_set_case_ins(1); | |
1927 YY_BREAK | |
1928 case 177: | |
1929 YY_RULE_SETUP | |
1930 -#line 812 "scan.l" | |
1931 +#line 816 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1932 sf_set_dot_all(1); | |
1933 YY_BREAK | |
1934 case 178: | |
1935 YY_RULE_SETUP | |
1936 -#line 813 "scan.l" | |
1937 +#line 817 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1938 sf_set_skip_ws(1); | |
1939 YY_BREAK | |
1940 | |
1941 | |
1942 case 179: | |
1943 YY_RULE_SETUP | |
1944 -#line 816 "scan.l" | |
1945 +#line 820 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1946 BEGIN(SECT2); | |
1947 YY_BREAK | |
1948 case 180: | |
1949 YY_RULE_SETUP | |
1950 -#line 817 "scan.l" | |
1951 +#line 821 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1952 sf_set_case_ins(0); | |
1953 YY_BREAK | |
1954 case 181: | |
1955 YY_RULE_SETUP | |
1956 -#line 818 "scan.l" | |
1957 +#line 822 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1958 sf_set_dot_all(0); | |
1959 YY_BREAK | |
1960 case 182: | |
1961 YY_RULE_SETUP | |
1962 -#line 819 "scan.l" | |
1963 +#line 823 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1964 sf_set_skip_ws(0); | |
1965 YY_BREAK | |
1966 | |
1967 @@ -3644,7 +3666,7 @@ | |
1968 (yy_c_buf_p) = yy_cp = yy_bp + 1; | |
1969 YY_DO_BEFORE_ACTION; /* set up yytext again */ | |
1970 YY_RULE_SETUP | |
1971 -#line 823 "scan.l" | |
1972 +#line 827 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1973 BEGIN(CCL); return '^'; | |
1974 YY_BREAK | |
1975 case 184: | |
1976 @@ -3652,12 +3674,12 @@ | |
1977 (yy_c_buf_p) = yy_cp = yy_bp + 1; | |
1978 YY_DO_BEFORE_ACTION; /* set up yytext again */ | |
1979 YY_RULE_SETUP | |
1980 -#line 824 "scan.l" | |
1981 +#line 828 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1982 return '^'; | |
1983 YY_BREAK | |
1984 case 185: | |
1985 YY_RULE_SETUP | |
1986 -#line 825 "scan.l" | |
1987 +#line 829 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1988 BEGIN(CCL); RETURNCHAR; | |
1989 YY_BREAK | |
1990 | |
1991 @@ -3667,23 +3689,23 @@ | |
1992 (yy_c_buf_p) = yy_cp = yy_bp + 1; | |
1993 YY_DO_BEFORE_ACTION; /* set up yytext again */ | |
1994 YY_RULE_SETUP | |
1995 -#line 829 "scan.l" | |
1996 +#line 833 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
1997 return '-'; | |
1998 YY_BREAK | |
1999 case 187: | |
2000 YY_RULE_SETUP | |
2001 -#line 830 "scan.l" | |
2002 +#line 834 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2003 RETURNCHAR; | |
2004 YY_BREAK | |
2005 case 188: | |
2006 YY_RULE_SETUP | |
2007 -#line 831 "scan.l" | |
2008 +#line 835 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2009 BEGIN(SECT2); return ']'; | |
2010 YY_BREAK | |
2011 case 189: | |
2012 /* rule 189 can match eol */ | |
2013 YY_RULE_SETUP | |
2014 -#line 832 "scan.l" | |
2015 +#line 836 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2016 { | |
2017 synerr( _( "bad character class" ) ); | |
2018 BEGIN(SECT2); | |
2019 @@ -3694,127 +3716,127 @@ | |
2020 | |
2021 case 190: | |
2022 YY_RULE_SETUP | |
2023 -#line 840 "scan.l" | |
2024 +#line 844 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2025 BEGIN(CCL); return CCE_ALNUM; | |
2026 YY_BREAK | |
2027 case 191: | |
2028 YY_RULE_SETUP | |
2029 -#line 841 "scan.l" | |
2030 +#line 845 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2031 BEGIN(CCL); return CCE_ALPHA; | |
2032 YY_BREAK | |
2033 case 192: | |
2034 YY_RULE_SETUP | |
2035 -#line 842 "scan.l" | |
2036 +#line 846 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2037 BEGIN(CCL); return CCE_BLANK; | |
2038 YY_BREAK | |
2039 case 193: | |
2040 YY_RULE_SETUP | |
2041 -#line 843 "scan.l" | |
2042 +#line 847 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2043 BEGIN(CCL); return CCE_CNTRL; | |
2044 YY_BREAK | |
2045 case 194: | |
2046 YY_RULE_SETUP | |
2047 -#line 844 "scan.l" | |
2048 +#line 848 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2049 BEGIN(CCL); return CCE_DIGIT; | |
2050 YY_BREAK | |
2051 case 195: | |
2052 YY_RULE_SETUP | |
2053 -#line 845 "scan.l" | |
2054 +#line 849 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2055 BEGIN(CCL); return CCE_GRAPH; | |
2056 YY_BREAK | |
2057 case 196: | |
2058 YY_RULE_SETUP | |
2059 -#line 846 "scan.l" | |
2060 +#line 850 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2061 BEGIN(CCL); return CCE_LOWER; | |
2062 YY_BREAK | |
2063 case 197: | |
2064 YY_RULE_SETUP | |
2065 -#line 847 "scan.l" | |
2066 +#line 851 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2067 BEGIN(CCL); return CCE_PRINT; | |
2068 YY_BREAK | |
2069 case 198: | |
2070 YY_RULE_SETUP | |
2071 -#line 848 "scan.l" | |
2072 +#line 852 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2073 BEGIN(CCL); return CCE_PUNCT; | |
2074 YY_BREAK | |
2075 case 199: | |
2076 YY_RULE_SETUP | |
2077 -#line 849 "scan.l" | |
2078 +#line 853 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2079 BEGIN(CCL); return CCE_SPACE; | |
2080 YY_BREAK | |
2081 case 200: | |
2082 YY_RULE_SETUP | |
2083 -#line 850 "scan.l" | |
2084 +#line 854 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2085 BEGIN(CCL); return CCE_UPPER; | |
2086 YY_BREAK | |
2087 case 201: | |
2088 YY_RULE_SETUP | |
2089 -#line 851 "scan.l" | |
2090 +#line 855 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2091 BEGIN(CCL); return CCE_XDIGIT; | |
2092 YY_BREAK | |
2093 case 202: | |
2094 YY_RULE_SETUP | |
2095 -#line 853 "scan.l" | |
2096 +#line 857 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2097 BEGIN(CCL); return CCE_NEG_ALNUM; | |
2098 YY_BREAK | |
2099 case 203: | |
2100 YY_RULE_SETUP | |
2101 -#line 854 "scan.l" | |
2102 +#line 858 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2103 BEGIN(CCL); return CCE_NEG_ALPHA; | |
2104 YY_BREAK | |
2105 case 204: | |
2106 YY_RULE_SETUP | |
2107 -#line 855 "scan.l" | |
2108 +#line 859 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2109 BEGIN(CCL); return CCE_NEG_BLANK; | |
2110 YY_BREAK | |
2111 case 205: | |
2112 YY_RULE_SETUP | |
2113 -#line 856 "scan.l" | |
2114 +#line 860 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2115 BEGIN(CCL); return CCE_NEG_CNTRL; | |
2116 YY_BREAK | |
2117 case 206: | |
2118 YY_RULE_SETUP | |
2119 -#line 857 "scan.l" | |
2120 +#line 861 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2121 BEGIN(CCL); return CCE_NEG_DIGIT; | |
2122 YY_BREAK | |
2123 case 207: | |
2124 YY_RULE_SETUP | |
2125 -#line 858 "scan.l" | |
2126 +#line 862 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2127 BEGIN(CCL); return CCE_NEG_GRAPH; | |
2128 YY_BREAK | |
2129 case 208: | |
2130 YY_RULE_SETUP | |
2131 -#line 859 "scan.l" | |
2132 +#line 863 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2133 BEGIN(CCL); return CCE_NEG_LOWER; | |
2134 YY_BREAK | |
2135 case 209: | |
2136 YY_RULE_SETUP | |
2137 -#line 860 "scan.l" | |
2138 +#line 864 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2139 BEGIN(CCL); return CCE_NEG_PRINT; | |
2140 YY_BREAK | |
2141 case 210: | |
2142 YY_RULE_SETUP | |
2143 -#line 861 "scan.l" | |
2144 +#line 865 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2145 BEGIN(CCL); return CCE_NEG_PUNCT; | |
2146 YY_BREAK | |
2147 case 211: | |
2148 YY_RULE_SETUP | |
2149 -#line 862 "scan.l" | |
2150 +#line 866 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2151 BEGIN(CCL); return CCE_NEG_SPACE; | |
2152 YY_BREAK | |
2153 case 212: | |
2154 YY_RULE_SETUP | |
2155 -#line 863 "scan.l" | |
2156 +#line 867 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2157 BEGIN(CCL); return CCE_NEG_UPPER; | |
2158 YY_BREAK | |
2159 case 213: | |
2160 YY_RULE_SETUP | |
2161 -#line 864 "scan.l" | |
2162 +#line 868 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2163 BEGIN(CCL); return CCE_NEG_XDIGIT; | |
2164 YY_BREAK | |
2165 case 214: | |
2166 YY_RULE_SETUP | |
2167 -#line 865 "scan.l" | |
2168 +#line 869 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2169 { | |
2170 format_synerr( | |
2171 _( "bad character class expression: %s" ), | |
2172 @@ -3826,7 +3848,7 @@ | |
2173 | |
2174 case 215: | |
2175 YY_RULE_SETUP | |
2176 -#line 874 "scan.l" | |
2177 +#line 878 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2178 { | |
2179 yylval = myctoi( yytext ); | |
2180 return NUMBER; | |
2181 @@ -3834,12 +3856,12 @@ | |
2182 YY_BREAK | |
2183 case 216: | |
2184 YY_RULE_SETUP | |
2185 -#line 879 "scan.l" | |
2186 +#line 883 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2187 return ','; | |
2188 YY_BREAK | |
2189 case 217: | |
2190 YY_RULE_SETUP | |
2191 -#line 880 "scan.l" | |
2192 +#line 884 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2193 { | |
2194 BEGIN(SECT2); | |
2195 if ( lex_compat || posix_compat ) | |
2196 @@ -3850,7 +3872,7 @@ | |
2197 YY_BREAK | |
2198 case 218: | |
2199 YY_RULE_SETUP | |
2200 -#line 888 "scan.l" | |
2201 +#line 892 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2202 { | |
2203 synerr( _( "bad character inside {}'s" ) ); | |
2204 BEGIN(SECT2); | |
2205 @@ -3860,7 +3882,7 @@ | |
2206 case 219: | |
2207 /* rule 219 can match eol */ | |
2208 YY_RULE_SETUP | |
2209 -#line 894 "scan.l" | |
2210 +#line 898 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2211 { | |
2212 synerr( _( "missing }" ) ); | |
2213 BEGIN(SECT2); | |
2214 @@ -3872,18 +3894,18 @@ | |
2215 | |
2216 case 220: | |
2217 YY_RULE_SETUP | |
2218 -#line 904 "scan.l" | |
2219 +#line 908 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2220 bracelevel = 0; | |
2221 YY_BREAK | |
2222 case 221: | |
2223 YY_RULE_SETUP | |
2224 -#line 906 "scan.l" | |
2225 +#line 910 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2226 ACTION_ECHO; yy_push_state( CODE_COMMENT ); | |
2227 YY_BREAK | |
2228 | |
2229 case 222: | |
2230 YY_RULE_SETUP | |
2231 -#line 909 "scan.l" | |
2232 +#line 913 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2233 { | |
2234 ACTION_ECHO; | |
2235 CHECK_REJECT(yytext); | |
2236 @@ -3891,7 +3913,7 @@ | |
2237 YY_BREAK | |
2238 case 223: | |
2239 YY_RULE_SETUP | |
2240 -#line 913 "scan.l" | |
2241 +#line 917 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2242 { | |
2243 ACTION_ECHO; | |
2244 CHECK_YYMORE(yytext); | |
2245 @@ -3900,13 +3922,13 @@ | |
2246 | |
2247 case 224: | |
2248 YY_RULE_SETUP | |
2249 -#line 919 "scan.l" | |
2250 +#line 923 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2251 ACTION_ECHO; | |
2252 YY_BREAK | |
2253 case 225: | |
2254 /* rule 225 can match eol */ | |
2255 YY_RULE_SETUP | |
2256 -#line 920 "scan.l" | |
2257 +#line 924 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2258 { | |
2259 ++linenum; | |
2260 ACTION_ECHO; | |
2261 @@ -3924,43 +3946,43 @@ | |
2262 | |
2263 case 226: | |
2264 YY_RULE_SETUP | |
2265 -#line 936 "scan.l" | |
2266 +#line 940 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2267 ACTION_ECHO; ++bracelevel; | |
2268 YY_BREAK | |
2269 case 227: | |
2270 YY_RULE_SETUP | |
2271 -#line 937 "scan.l" | |
2272 +#line 941 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2273 ACTION_ECHO; --bracelevel; | |
2274 YY_BREAK | |
2275 case 228: | |
2276 YY_RULE_SETUP | |
2277 -#line 938 "scan.l" | |
2278 +#line 942 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2279 ACTION_ECHO; | |
2280 YY_BREAK | |
2281 case 229: | |
2282 YY_RULE_SETUP | |
2283 -#line 939 "scan.l" | |
2284 +#line 943 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2285 ACTION_ECHO; | |
2286 YY_BREAK | |
2287 case 230: | |
2288 YY_RULE_SETUP | |
2289 -#line 940 "scan.l" | |
2290 +#line 944 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2291 ACTION_ECHO; /* character constant */ | |
2292 YY_BREAK | |
2293 case 231: | |
2294 YY_RULE_SETUP | |
2295 -#line 941 "scan.l" | |
2296 +#line 945 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2297 ACTION_ECHO; BEGIN(CHARACTER_CONSTANT); | |
2298 YY_BREAK | |
2299 case 232: | |
2300 YY_RULE_SETUP | |
2301 -#line 942 "scan.l" | |
2302 +#line 946 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2303 ACTION_ECHO; BEGIN(ACTION_STRING); | |
2304 YY_BREAK | |
2305 case 233: | |
2306 /* rule 233 can match eol */ | |
2307 YY_RULE_SETUP | |
2308 -#line 943 "scan.l" | |
2309 +#line 947 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2310 { | |
2311 ++linenum; | |
2312 ACTION_ECHO; | |
2313 @@ -3975,31 +3997,31 @@ | |
2314 YY_BREAK | |
2315 case 234: | |
2316 YY_RULE_SETUP | |
2317 -#line 954 "scan.l" | |
2318 +#line 958 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2319 ACTION_ECHO; | |
2320 YY_BREAK | |
2321 | |
2322 | |
2323 case 235: | |
2324 YY_RULE_SETUP | |
2325 -#line 958 "scan.l" | |
2326 +#line 962 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2327 ACTION_ECHO; | |
2328 YY_BREAK | |
2329 case 236: | |
2330 YY_RULE_SETUP | |
2331 -#line 959 "scan.l" | |
2332 +#line 963 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2333 ACTION_ECHO; BEGIN(ACTION); | |
2334 YY_BREAK | |
2335 | |
2336 | |
2337 case 237: | |
2338 YY_RULE_SETUP | |
2339 -#line 962 "scan.l" | |
2340 +#line 966 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2341 ACTION_ECHO; | |
2342 YY_BREAK | |
2343 case 238: | |
2344 YY_RULE_SETUP | |
2345 -#line 963 "scan.l" | |
2346 +#line 967 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2347 ACTION_ECHO; BEGIN(ACTION); | |
2348 YY_BREAK | |
2349 | |
2350 @@ -4007,24 +4029,24 @@ | |
2351 case 239: | |
2352 /* rule 239 can match eol */ | |
2353 YY_RULE_SETUP | |
2354 -#line 966 "scan.l" | |
2355 +#line 970 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2356 ACTION_ECHO; | |
2357 YY_BREAK | |
2358 case 240: | |
2359 /* rule 240 can match eol */ | |
2360 YY_RULE_SETUP | |
2361 -#line 967 "scan.l" | |
2362 +#line 971 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2363 ACTION_ECHO; | |
2364 YY_BREAK | |
2365 case 241: | |
2366 /* rule 241 can match eol */ | |
2367 YY_RULE_SETUP | |
2368 -#line 968 "scan.l" | |
2369 +#line 972 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2370 ++linenum; ACTION_ECHO; if (bracelevel <= 0) { BEGIN(SECT2); } else { BEGIN(ACTION); } | |
2371 YY_BREAK | |
2372 case 242: | |
2373 YY_RULE_SETUP | |
2374 -#line 969 "scan.l" | |
2375 +#line 973 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2376 ACTION_ECHO; | |
2377 YY_BREAK | |
2378 | |
2379 @@ -4034,7 +4056,7 @@ | |
2380 case YY_STATE_EOF(ACTION): | |
2381 case YY_STATE_EOF(ACTION_STRING): | |
2382 case YY_STATE_EOF(CHARACTER_CONSTANT): | |
2383 -#line 972 "scan.l" | |
2384 +#line 976 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2385 { | |
2386 synerr( _( "EOF encountered inside an action" ) ); | |
2387 yyterminate(); | |
2388 @@ -4043,7 +4065,7 @@ | |
2389 case YY_STATE_EOF(EXTENDED_COMMENT): | |
2390 case YY_STATE_EOF(GROUP_WITH_PARAMS): | |
2391 case YY_STATE_EOF(GROUP_MINUS_PARAMS): | |
2392 -#line 977 "scan.l" | |
2393 +#line 981 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2394 { | |
2395 synerr( _( "EOF encountered inside pattern" ) ); | |
2396 yyterminate(); | |
2397 @@ -4051,7 +4073,7 @@ | |
2398 YY_BREAK | |
2399 case 243: | |
2400 YY_RULE_SETUP | |
2401 -#line 982 "scan.l" | |
2402 +#line 986 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2403 { | |
2404 yylval = myesc( (unsigned char *) yytext ); | |
2405 | |
2406 @@ -4064,27 +4086,27 @@ | |
2407 | |
2408 case 244: | |
2409 YY_RULE_SETUP | |
2410 -#line 992 "scan.l" | |
2411 +#line 996 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2412 fputs(escaped_qstart, yyout); | |
2413 YY_BREAK | |
2414 case 245: | |
2415 YY_RULE_SETUP | |
2416 -#line 993 "scan.l" | |
2417 +#line 997 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2418 fputs(escaped_qend, yyout); | |
2419 YY_BREAK | |
2420 case 246: | |
2421 /* rule 246 can match eol */ | |
2422 YY_RULE_SETUP | |
2423 -#line 994 "scan.l" | |
2424 +#line 998 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2425 ECHO; | |
2426 YY_BREAK | |
2427 case 247: | |
2428 YY_RULE_SETUP | |
2429 -#line 995 "scan.l" | |
2430 +#line 999 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2431 ECHO; | |
2432 YY_BREAK | |
2433 case YY_STATE_EOF(SECT3): | |
2434 -#line 996 "scan.l" | |
2435 +#line 1000 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2436 { | |
2437 sectnum = 0; | |
2438 yyterminate(); | |
2439 @@ -4094,27 +4116,27 @@ | |
2440 | |
2441 case 248: | |
2442 YY_RULE_SETUP | |
2443 -#line 1002 "scan.l" | |
2444 +#line 1006 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2445 fprintf(yyout, "[""[%s]""]", escaped_qstart); | |
2446 YY_BREAK | |
2447 case 249: | |
2448 YY_RULE_SETUP | |
2449 -#line 1003 "scan.l" | |
2450 +#line 1007 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2451 fprintf(yyout, "[""[%s]""]", escaped_qend); | |
2452 YY_BREAK | |
2453 case 250: | |
2454 /* rule 250 can match eol */ | |
2455 YY_RULE_SETUP | |
2456 -#line 1004 "scan.l" | |
2457 +#line 1008 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2458 ECHO; | |
2459 YY_BREAK | |
2460 case 251: | |
2461 YY_RULE_SETUP | |
2462 -#line 1005 "scan.l" | |
2463 +#line 1009 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2464 ECHO; | |
2465 YY_BREAK | |
2466 case YY_STATE_EOF(SECT3_NOESCAPE): | |
2467 -#line 1006 "scan.l" | |
2468 +#line 1010 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2469 { | |
2470 sectnum = 0; | |
2471 yyterminate(); | |
2472 @@ -4124,15 +4146,15 @@ | |
2473 case 252: | |
2474 /* rule 252 can match eol */ | |
2475 YY_RULE_SETUP | |
2476 -#line 1011 "scan.l" | |
2477 +#line 1015 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2478 format_synerr( _( "bad character: %s" ), yytext ); | |
2479 YY_BREAK | |
2480 case 253: | |
2481 YY_RULE_SETUP | |
2482 -#line 1013 "scan.l" | |
2483 +#line 1017 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
2484 YY_FATAL_ERROR( "flex scanner jammed" ); | |
2485 YY_BREAK | |
2486 -#line 4135 "scan.c" | |
2487 +#line 4158 "scan.c" | |
2488 case YY_STATE_EOF(INITIAL): | |
2489 case YY_STATE_EOF(SECT2): | |
2490 case YY_STATE_EOF(CODEBLOCK): | |
2491 @@ -4223,7 +4245,7 @@ | |
2492 { | |
2493 (yy_did_buffer_switch_on_eof) = 0; | |
2494 | |
2495 - if ( yywrap( ) ) | |
2496 + if ( yywrap( ) ) | |
2497 { | |
2498 /* Note: because we've taken care in | |
2499 * yy_get_next_buffer() to have set up | |
2500 @@ -4288,9 +4310,9 @@ | |
2501 */ | |
2502 static int yy_get_next_buffer (void) | |
2503 { | |
2504 - char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; | |
2505 - char *source = (yytext_ptr); | |
2506 - int number_to_move, i; | |
2507 + register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; | |
2508 + register char *source = (yytext_ptr); | |
2509 + register int number_to_move, i; | |
2510 int ret_val; | |
2511 | |
2512 if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) | |
2513 @@ -4319,7 +4341,7 @@ | |
2514 /* Try to read more data. */ | |
2515 | |
2516 /* First move last chars to start of buffer. */ | |
2517 - number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr) - 1); | |
2518 + number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; | |
2519 | |
2520 for ( i = 0; i < number_to_move; ++i ) | |
2521 *(dest++) = *(source++); | |
2522 @@ -4332,7 +4354,7 @@ | |
2523 | |
2524 else | |
2525 { | |
2526 - int num_to_read = | |
2527 + yy_size_t num_to_read = | |
2528 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; | |
2529 | |
2530 while ( num_to_read <= 0 ) | |
2531 @@ -4346,7 +4368,7 @@ | |
2532 | |
2533 if ( b->yy_is_our_buffer ) | |
2534 { | |
2535 - int new_size = b->yy_buf_size * 2; | |
2536 + yy_size_t new_size = b->yy_buf_size * 2; | |
2537 | |
2538 if ( new_size <= 0 ) | |
2539 b->yy_buf_size += b->yy_buf_size / 8; | |
2540 @@ -4355,12 +4377,11 @@ | |
2541 | |
2542 b->yy_ch_buf = (char *) | |
2543 /* Include room in for 2 EOB chars. */ | |
2544 - yyrealloc( (void *) b->yy_ch_buf, | |
2545 - (yy_size_t) (b->yy_buf_size + 2) ); | |
2546 + yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); | |
2547 } | |
2548 else | |
2549 /* Can't grow it, we don't own it. */ | |
2550 - b->yy_ch_buf = NULL; | |
2551 + b->yy_ch_buf = 0; | |
2552 | |
2553 if ( ! b->yy_ch_buf ) | |
2554 YY_FATAL_ERROR( | |
2555 @@ -4388,7 +4409,7 @@ | |
2556 if ( number_to_move == YY_MORE_ADJ ) | |
2557 { | |
2558 ret_val = EOB_ACT_END_OF_FILE; | |
2559 - yyrestart( yyin ); | |
2560 + yyrestart(yyin ); | |
2561 } | |
2562 | |
2563 else | |
2564 @@ -4402,15 +4423,12 @@ | |
2565 else | |
2566 ret_val = EOB_ACT_CONTINUE_SCAN; | |
2567 | |
2568 - if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | |
2569 + if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { | |
2570 /* Extend the array by 50%, plus the number we really need. */ | |
2571 - int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); | |
2572 - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc( | |
2573 - (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size ); | |
2574 + yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); | |
2575 + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); | |
2576 if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | |
2577 YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); | |
2578 - /* "- 2" to take care of EOB's */ | |
2579 - YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); | |
2580 } | |
2581 | |
2582 (yy_n_chars) += number_to_move; | |
2583 @@ -4426,15 +4444,15 @@ | |
2584 | |
2585 static yy_state_type yy_get_previous_state (void) | |
2586 { | |
2587 - yy_state_type yy_current_state; | |
2588 - char *yy_cp; | |
2589 + register yy_state_type yy_current_state; | |
2590 + register char *yy_cp; | |
2591 | |
2592 yy_current_state = (yy_start); | |
2593 yy_current_state += YY_AT_BOL(); | |
2594 | |
2595 for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) | |
2596 { | |
2597 - YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); | |
2598 + register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); | |
2599 if ( yy_accept[yy_current_state] ) | |
2600 { | |
2601 (yy_last_accepting_state) = yy_current_state; | |
2602 @@ -4444,9 +4462,9 @@ | |
2603 { | |
2604 yy_current_state = (int) yy_def[yy_current_state]; | |
2605 if ( yy_current_state >= 1114 ) | |
2606 - yy_c = yy_meta[yy_c]; | |
2607 + yy_c = yy_meta[(unsigned int) yy_c]; | |
2608 } | |
2609 - yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | |
2610 + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | |
2611 } | |
2612 | |
2613 return yy_current_state; | |
2614 @@ -4459,10 +4477,10 @@ | |
2615 */ | |
2616 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) | |
2617 { | |
2618 - int yy_is_jam; | |
2619 - char *yy_cp = (yy_c_buf_p); | |
2620 + register int yy_is_jam; | |
2621 + register char *yy_cp = (yy_c_buf_p); | |
2622 | |
2623 - YY_CHAR yy_c = 1; | |
2624 + register YY_CHAR yy_c = 1; | |
2625 if ( yy_accept[yy_current_state] ) | |
2626 { | |
2627 (yy_last_accepting_state) = yy_current_state; | |
2628 @@ -4472,19 +4490,17 @@ | |
2629 { | |
2630 yy_current_state = (int) yy_def[yy_current_state]; | |
2631 if ( yy_current_state >= 1114 ) | |
2632 - yy_c = yy_meta[yy_c]; | |
2633 + yy_c = yy_meta[(unsigned int) yy_c]; | |
2634 } | |
2635 - yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; | |
2636 + yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; | |
2637 yy_is_jam = (yy_current_state == 1113); | |
2638 | |
2639 return yy_is_jam ? 0 : yy_current_state; | |
2640 } | |
2641 | |
2642 -#ifndef YY_NO_UNPUT | |
2643 - | |
2644 - static void yyunput (int c, char * yy_bp ) | |
2645 + static void yyunput (int c, register char * yy_bp ) | |
2646 { | |
2647 - char *yy_cp; | |
2648 + register char *yy_cp; | |
2649 | |
2650 yy_cp = (yy_c_buf_p); | |
2651 | |
2652 @@ -4494,10 +4510,10 @@ | |
2653 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | |
2654 { /* need to shift things up to make room */ | |
2655 /* +2 for EOB chars. */ | |
2656 - int number_to_move = (yy_n_chars) + 2; | |
2657 - char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ | |
2658 + register yy_size_t number_to_move = (yy_n_chars) + 2; | |
2659 + register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ | |
2660 YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; | |
2661 - char *source = | |
2662 + register char *source = | |
2663 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; | |
2664 | |
2665 while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) | |
2666 @@ -4506,7 +4522,7 @@ | |
2667 yy_cp += (int) (dest - source); | |
2668 yy_bp += (int) (dest - source); | |
2669 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = | |
2670 - (yy_n_chars) = (int) YY_CURRENT_BUFFER_LVALUE->yy_buf_size; | |
2671 + (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; | |
2672 | |
2673 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) | |
2674 YY_FATAL_ERROR( "flex scanner push-back overflow" ); | |
2675 @@ -4519,8 +4535,6 @@ | |
2676 (yy_c_buf_p) = yy_cp; | |
2677 } | |
2678 | |
2679 -#endif | |
2680 - | |
2681 #ifndef YY_NO_INPUT | |
2682 #ifdef __cplusplus | |
2683 static int yyinput (void) | |
2684 @@ -4545,7 +4559,7 @@ | |
2685 | |
2686 else | |
2687 { /* need more input */ | |
2688 - int offset = (int) ((yy_c_buf_p) - (yytext_ptr)); | |
2689 + yy_size_t offset = (yy_c_buf_p) - (yytext_ptr); | |
2690 ++(yy_c_buf_p); | |
2691 | |
2692 switch ( yy_get_next_buffer( ) ) | |
2693 @@ -4562,14 +4576,14 @@ | |
2694 */ | |
2695 | |
2696 /* Reset buffer status. */ | |
2697 - yyrestart( yyin ); | |
2698 + yyrestart(yyin ); | |
2699 | |
2700 /*FALLTHROUGH*/ | |
2701 | |
2702 case EOB_ACT_END_OF_FILE: | |
2703 { | |
2704 - if ( yywrap( ) ) | |
2705 - return 0; | |
2706 + if ( yywrap( ) ) | |
2707 + return EOF; | |
2708 | |
2709 if ( ! (yy_did_buffer_switch_on_eof) ) | |
2710 YY_NEW_FILE; | |
2711 @@ -4608,11 +4622,11 @@ | |
2712 if ( ! YY_CURRENT_BUFFER ){ | |
2713 yyensure_buffer_stack (); | |
2714 YY_CURRENT_BUFFER_LVALUE = | |
2715 - yy_create_buffer( yyin, YY_BUF_SIZE ); | |
2716 + yy_create_buffer(yyin,YY_BUF_SIZE ); | |
2717 } | |
2718 | |
2719 - yy_init_buffer( YY_CURRENT_BUFFER, input_file ); | |
2720 - yy_load_buffer_state( ); | |
2721 + yy_init_buffer(YY_CURRENT_BUFFER,input_file ); | |
2722 + yy_load_buffer_state( ); | |
2723 } | |
2724 | |
2725 /** Switch to a different input buffer. | |
2726 @@ -4640,7 +4654,7 @@ | |
2727 } | |
2728 | |
2729 YY_CURRENT_BUFFER_LVALUE = new_buffer; | |
2730 - yy_load_buffer_state( ); | |
2731 + yy_load_buffer_state( ); | |
2732 | |
2733 /* We don't actually know whether we did this switch during | |
2734 * EOF (yywrap()) processing, but the only time this flag | |
2735 @@ -4668,7 +4682,7 @@ | |
2736 { | |
2737 YY_BUFFER_STATE b; | |
2738 | |
2739 - b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); | |
2740 + b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); | |
2741 if ( ! b ) | |
2742 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | |
2743 | |
2744 @@ -4677,13 +4691,13 @@ | |
2745 /* yy_ch_buf has to be 2 characters longer than the size given because | |
2746 * we need to put in 2 end-of-buffer characters. | |
2747 */ | |
2748 - b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) ); | |
2749 + b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); | |
2750 if ( ! b->yy_ch_buf ) | |
2751 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); | |
2752 | |
2753 b->yy_is_our_buffer = 1; | |
2754 | |
2755 - yy_init_buffer( b, file ); | |
2756 + yy_init_buffer(b,file ); | |
2757 | |
2758 return b; | |
2759 } | |
2760 @@ -4702,9 +4716,9 @@ | |
2761 YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; | |
2762 | |
2763 if ( b->yy_is_our_buffer ) | |
2764 - yyfree( (void *) b->yy_ch_buf ); | |
2765 + yyfree((void *) b->yy_ch_buf ); | |
2766 | |
2767 - yyfree( (void *) b ); | |
2768 + yyfree((void *) b ); | |
2769 } | |
2770 | |
2771 /* Initializes or reinitializes a buffer. | |
2772 @@ -4716,7 +4730,7 @@ | |
2773 { | |
2774 int oerrno = errno; | |
2775 | |
2776 - yy_flush_buffer( b ); | |
2777 + yy_flush_buffer(b ); | |
2778 | |
2779 b->yy_input_file = file; | |
2780 b->yy_fill_buffer = 1; | |
2781 @@ -4759,7 +4773,7 @@ | |
2782 b->yy_buffer_status = YY_BUFFER_NEW; | |
2783 | |
2784 if ( b == YY_CURRENT_BUFFER ) | |
2785 - yy_load_buffer_state( ); | |
2786 + yy_load_buffer_state( ); | |
2787 } | |
2788 | |
2789 /** Pushes the new state onto the stack. The new state becomes | |
2790 @@ -4790,7 +4804,7 @@ | |
2791 YY_CURRENT_BUFFER_LVALUE = new_buffer; | |
2792 | |
2793 /* copied from yy_switch_to_buffer. */ | |
2794 - yy_load_buffer_state( ); | |
2795 + yy_load_buffer_state( ); | |
2796 (yy_did_buffer_switch_on_eof) = 1; | |
2797 } | |
2798 | |
2799 @@ -4809,7 +4823,7 @@ | |
2800 --(yy_buffer_stack_top); | |
2801 | |
2802 if (YY_CURRENT_BUFFER) { | |
2803 - yy_load_buffer_state( ); | |
2804 + yy_load_buffer_state( ); | |
2805 (yy_did_buffer_switch_on_eof) = 1; | |
2806 } | |
2807 } | |
2808 @@ -4827,15 +4841,15 @@ | |
2809 * scanner will even need a stack. We use 2 instead of 1 to avoid an | |
2810 * immediate realloc on the next call. | |
2811 */ | |
2812 - num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ | |
2813 + num_to_alloc = 1; | |
2814 (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc | |
2815 (num_to_alloc * sizeof(struct yy_buffer_state*) | |
2816 ); | |
2817 if ( ! (yy_buffer_stack) ) | |
2818 YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); | |
2819 - | |
2820 + | |
2821 memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); | |
2822 - | |
2823 + | |
2824 (yy_buffer_stack_max) = num_to_alloc; | |
2825 (yy_buffer_stack_top) = 0; | |
2826 return; | |
2827 @@ -4844,7 +4858,7 @@ | |
2828 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ | |
2829 | |
2830 /* Increase the buffer to prepare for a possible push. */ | |
2831 - yy_size_t grow_size = 8 /* arbitrary grow size */; | |
2832 + int grow_size = 8 /* arbitrary grow size */; | |
2833 | |
2834 num_to_alloc = (yy_buffer_stack_max) + grow_size; | |
2835 (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc | |
2836 @@ -4864,7 +4878,7 @@ | |
2837 * @param base the character buffer | |
2838 * @param size the size in bytes of the character buffer | |
2839 * | |
2840 - * @return the newly allocated buffer state object. | |
2841 + * @return the newly allocated buffer state object. | |
2842 */ | |
2843 YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) | |
2844 { | |
2845 @@ -4874,23 +4888,23 @@ | |
2846 base[size-2] != YY_END_OF_BUFFER_CHAR || | |
2847 base[size-1] != YY_END_OF_BUFFER_CHAR ) | |
2848 /* They forgot to leave room for the EOB's. */ | |
2849 - return NULL; | |
2850 + return 0; | |
2851 | |
2852 - b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); | |
2853 + b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); | |
2854 if ( ! b ) | |
2855 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); | |
2856 | |
2857 - b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ | |
2858 + b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ | |
2859 b->yy_buf_pos = b->yy_ch_buf = base; | |
2860 b->yy_is_our_buffer = 0; | |
2861 - b->yy_input_file = NULL; | |
2862 + b->yy_input_file = 0; | |
2863 b->yy_n_chars = b->yy_buf_size; | |
2864 b->yy_is_interactive = 0; | |
2865 b->yy_at_bol = 1; | |
2866 b->yy_fill_buffer = 0; | |
2867 b->yy_buffer_status = YY_BUFFER_NEW; | |
2868 | |
2869 - yy_switch_to_buffer( b ); | |
2870 + yy_switch_to_buffer(b ); | |
2871 | |
2872 return b; | |
2873 } | |
2874 @@ -4903,10 +4917,10 @@ | |
2875 * @note If you want to scan bytes that may contain NUL values, then use | |
2876 * yy_scan_bytes() instead. | |
2877 */ | |
2878 -YY_BUFFER_STATE yy_scan_string (const char * yystr ) | |
2879 +YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) | |
2880 { | |
2881 | |
2882 - return yy_scan_bytes( yystr, (int) strlen(yystr) ); | |
2883 + return yy_scan_bytes(yystr,strlen(yystr) ); | |
2884 } | |
2885 | |
2886 /** Setup the input buffer state to scan the given bytes. The next call to yylex() will | |
2887 @@ -4916,16 +4930,16 @@ | |
2888 * | |
2889 * @return the newly allocated buffer state object. | |
2890 */ | |
2891 -YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len ) | |
2892 +YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, yy_size_t _yybytes_len ) | |
2893 { | |
2894 YY_BUFFER_STATE b; | |
2895 char *buf; | |
2896 yy_size_t n; | |
2897 - int i; | |
2898 + yy_size_t i; | |
2899 | |
2900 /* Get memory for full buffer, including space for trailing EOB's. */ | |
2901 - n = (yy_size_t) (_yybytes_len + 2); | |
2902 - buf = (char *) yyalloc( n ); | |
2903 + n = _yybytes_len + 2; | |
2904 + buf = (char *) yyalloc(n ); | |
2905 if ( ! buf ) | |
2906 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); | |
2907 | |
2908 @@ -4934,7 +4948,7 @@ | |
2909 | |
2910 buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; | |
2911 | |
2912 - b = yy_scan_buffer( buf, n ); | |
2913 + b = yy_scan_buffer(buf,n ); | |
2914 if ( ! b ) | |
2915 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); | |
2916 | |
2917 @@ -4946,21 +4960,20 @@ | |
2918 return b; | |
2919 } | |
2920 | |
2921 - static void yy_push_state (int _new_state ) | |
2922 + static void yy_push_state (int new_state ) | |
2923 { | |
2924 if ( (yy_start_stack_ptr) >= (yy_start_stack_depth) ) | |
2925 { | |
2926 yy_size_t new_size; | |
2927 | |
2928 (yy_start_stack_depth) += YY_START_STACK_INCR; | |
2929 - new_size = (yy_size_t) (yy_start_stack_depth) * sizeof( int ); | |
2930 + new_size = (yy_start_stack_depth) * sizeof( int ); | |
2931 | |
2932 if ( ! (yy_start_stack) ) | |
2933 - (yy_start_stack) = (int *) yyalloc( new_size ); | |
2934 + (yy_start_stack) = (int *) yyalloc(new_size ); | |
2935 | |
2936 else | |
2937 - (yy_start_stack) = (int *) yyrealloc( | |
2938 - (void *) (yy_start_stack), new_size ); | |
2939 + (yy_start_stack) = (int *) yyrealloc((void *) (yy_start_stack),new_size ); | |
2940 | |
2941 if ( ! (yy_start_stack) ) | |
2942 YY_FATAL_ERROR( "out of memory expanding start-condition stack" ); | |
2943 @@ -4968,7 +4981,7 @@ | |
2944 | |
2945 (yy_start_stack)[(yy_start_stack_ptr)++] = YY_START; | |
2946 | |
2947 - BEGIN(_new_state); | |
2948 + BEGIN(new_state); | |
2949 } | |
2950 | |
2951 static void yy_pop_state (void) | |
2952 @@ -4983,9 +4996,9 @@ | |
2953 #define YY_EXIT_FAILURE 2 | |
2954 #endif | |
2955 | |
2956 -static void yynoreturn yy_fatal_error (const char* msg ) | |
2957 +static void yy_fatal_error (yyconst char* msg ) | |
2958 { | |
2959 - fprintf( stderr, "%s\n", msg ); | |
2960 + (void) fprintf( stderr, "%s\n", msg ); | |
2961 exit( YY_EXIT_FAILURE ); | |
2962 } | |
2963 | |
2964 @@ -5013,7 +5026,7 @@ | |
2965 */ | |
2966 int yyget_lineno (void) | |
2967 { | |
2968 - | |
2969 + | |
2970 return yylineno; | |
2971 } | |
2972 | |
2973 @@ -5036,7 +5049,7 @@ | |
2974 /** Get the length of the current token. | |
2975 * | |
2976 */ | |
2977 -int yyget_leng (void) | |
2978 +yy_size_t yyget_leng (void) | |
2979 { | |
2980 return yyleng; | |
2981 } | |
2982 @@ -5051,29 +5064,29 @@ | |
2983 } | |
2984 | |
2985 /** Set the current line number. | |
2986 - * @param _line_number line number | |
2987 + * @param line_number | |
2988 * | |
2989 */ | |
2990 -void yyset_lineno (int _line_number ) | |
2991 +void yyset_lineno (int line_number ) | |
2992 { | |
2993 | |
2994 - yylineno = _line_number; | |
2995 + yylineno = line_number; | |
2996 } | |
2997 | |
2998 /** Set the input stream. This does not discard the current | |
2999 * input buffer. | |
3000 - * @param _in_str A readable stream. | |
3001 + * @param in_str A readable stream. | |
3002 * | |
3003 * @see yy_switch_to_buffer | |
3004 */ | |
3005 -void yyset_in (FILE * _in_str ) | |
3006 +void yyset_in (FILE * in_str ) | |
3007 { | |
3008 - yyin = _in_str ; | |
3009 + yyin = in_str ; | |
3010 } | |
3011 | |
3012 -void yyset_out (FILE * _out_str ) | |
3013 +void yyset_out (FILE * out_str ) | |
3014 { | |
3015 - yyout = _out_str ; | |
3016 + yyout = out_str ; | |
3017 } | |
3018 | |
3019 int yyget_debug (void) | |
3020 @@ -5081,9 +5094,9 @@ | |
3021 return yy_flex_debug; | |
3022 } | |
3023 | |
3024 -void yyset_debug (int _bdebug ) | |
3025 +void yyset_debug (int bdebug ) | |
3026 { | |
3027 - yy_flex_debug = _bdebug ; | |
3028 + yy_flex_debug = bdebug ; | |
3029 } | |
3030 | |
3031 static int yy_init_globals (void) | |
3032 @@ -5092,10 +5105,10 @@ | |
3033 * This function is called from yylex_destroy(), so don't allocate here. | |
3034 */ | |
3035 | |
3036 - (yy_buffer_stack) = NULL; | |
3037 + (yy_buffer_stack) = 0; | |
3038 (yy_buffer_stack_top) = 0; | |
3039 (yy_buffer_stack_max) = 0; | |
3040 - (yy_c_buf_p) = NULL; | |
3041 + (yy_c_buf_p) = (char *) 0; | |
3042 (yy_init) = 0; | |
3043 (yy_start) = 0; | |
3044 | |
3045 @@ -5108,8 +5121,8 @@ | |
3046 yyin = stdin; | |
3047 yyout = stdout; | |
3048 #else | |
3049 - yyin = NULL; | |
3050 - yyout = NULL; | |
3051 + yyin = (FILE *) 0; | |
3052 + yyout = (FILE *) 0; | |
3053 #endif | |
3054 | |
3055 /* For future reference: Set errno on error, since we are called by | |
3056 @@ -5124,7 +5137,7 @@ | |
3057 | |
3058 /* Pop the buffer stack, destroying each element. */ | |
3059 while(YY_CURRENT_BUFFER){ | |
3060 - yy_delete_buffer( YY_CURRENT_BUFFER ); | |
3061 + yy_delete_buffer(YY_CURRENT_BUFFER ); | |
3062 YY_CURRENT_BUFFER_LVALUE = NULL; | |
3063 yypop_buffer_state(); | |
3064 } | |
3065 @@ -5134,7 +5147,7 @@ | |
3066 (yy_buffer_stack) = NULL; | |
3067 | |
3068 /* Destroy the start condition stack. */ | |
3069 - yyfree( (yy_start_stack) ); | |
3070 + yyfree((yy_start_stack) ); | |
3071 (yy_start_stack) = NULL; | |
3072 | |
3073 /* Reset the globals. This is important in a non-reentrant scanner so the next time | |
3074 @@ -5149,19 +5162,18 @@ | |
3075 */ | |
3076 | |
3077 #ifndef yytext_ptr | |
3078 -static void yy_flex_strncpy (char* s1, const char * s2, int n ) | |
3079 +static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) | |
3080 { | |
3081 - | |
3082 - int i; | |
3083 + register int i; | |
3084 for ( i = 0; i < n; ++i ) | |
3085 s1[i] = s2[i]; | |
3086 } | |
3087 #endif | |
3088 | |
3089 #ifdef YY_NEED_STRLEN | |
3090 -static int yy_flex_strlen (const char * s ) | |
3091 +static int yy_flex_strlen (yyconst char * s ) | |
3092 { | |
3093 - int n; | |
3094 + register int n; | |
3095 for ( n = 0; s[n]; ++n ) | |
3096 ; | |
3097 | |
3098 @@ -5171,12 +5183,11 @@ | |
3099 | |
3100 void *yyalloc (yy_size_t size ) | |
3101 { | |
3102 - return malloc(size); | |
3103 + return (void *) malloc( size ); | |
3104 } | |
3105 | |
3106 void *yyrealloc (void * ptr, yy_size_t size ) | |
3107 { | |
3108 - | |
3109 /* The cast to (char *) in the following accommodates both | |
3110 * implementations that use char* generic pointers, and those | |
3111 * that use void* generic pointers. It works with the latter | |
3112 @@ -5184,17 +5195,18 @@ | |
3113 * any pointer type to void*, and deal with argument conversions | |
3114 * as though doing an assignment. | |
3115 */ | |
3116 - return realloc(ptr, size); | |
3117 + return (void *) realloc( (char *) ptr, size ); | |
3118 } | |
3119 | |
3120 void yyfree (void * ptr ) | |
3121 { | |
3122 - free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ | |
3123 + free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ | |
3124 } | |
3125 | |
3126 #define YYTABLES_NAME "yytables" | |
3127 | |
3128 -#line 1013 "scan.l" | |
3129 +#line 1017 "/scratch/jwe/build/mxe-octave-all-native/tmp-build-flex/flex-2.6.4/src/scan.l" | |
3130 + | |
3131 | |
3132 | |
3133 |