Module Name: src
Committed By: christos
Date: Sat Jan 7 15:43:27 UTC 2017
Modified Files:
src/external/bsd/flex/dist/src: initparse.c initscan.c
Log Message:
Regen without #line directives
- nbyacc -l -d -o initparse.c parse.y
- nblex -L -t -p scan.l > initscan.c
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/flex/dist/src/initparse.c
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/flex/dist/src/initscan.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/flex/dist/src/initparse.c
diff -u src/external/bsd/flex/dist/src/initparse.c:1.3 src/external/bsd/flex/dist/src/initparse.c:1.4
--- src/external/bsd/flex/dist/src/initparse.c:1.3 Mon Jan 2 12:45:27 2017
+++ src/external/bsd/flex/dist/src/initparse.c Sat Jan 7 10:43:27 2017
@@ -19,7 +19,6 @@
#define YYPURE 0
-#line 37 "/usr/src/external/bsd/flex/dist/src/parse.y"
/* Copyright (c) 1990 The Regents of the University of California. */
/* All rights reserved. */
@@ -51,7 +50,7 @@
/* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */
/* PURPOSE. */
#include "flexdef.h"
-__RCSID("$NetBSD: initparse.c,v 1.3 2017/01/02 17:45:27 christos Exp $");
+__RCSID("$NetBSD: initparse.c,v 1.4 2017/01/07 15:43:27 christos Exp $");
#include "tables.h"
@@ -101,7 +100,6 @@ int previous_continued_action; /* whethe
*/
#define YYSTYPE int
-#line 105 "parse.c"
#if ! defined(YYSTYPE) && ! defined(YYSTYPE_IS_DECLARED)
/* Default: YYSTYPE is the semantic value type. */
@@ -606,7 +604,6 @@ typedef struct {
} YYSTACKDATA;
/* variables for the parser stack */
static YYSTACKDATA yystack;
-#line 953 "/usr/src/external/bsd/flex/dist/src/parse.y"
/* build_eof_action - build the "<<EOF>>" action for the active start
@@ -740,7 +737,6 @@ void yyerror( const char *msg )
{
(void)msg;
}
-#line 744 "parse.c"
#if YYDEBUG
#include <stdio.h> /* needed for printf */
@@ -943,7 +939,6 @@ yyreduce:
switch (yyn)
{
case 1:
-#line 122 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ /* add default rule */
int def_rule;
@@ -972,7 +967,6 @@ case 1:
}
break;
case 2:
-#line 151 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ /* initialize for processing rules */
/* Create default DFA start condition. */
@@ -980,11 +974,9 @@ case 2:
}
break;
case 6:
-#line 162 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ synerr( _("unknown error processing section 1") ); }
break;
case 7:
-#line 166 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
check_options();
scon_stk = allocate_integer_array( lastsc + 1 );
@@ -992,64 +984,50 @@ case 7:
}
break;
case 8:
-#line 174 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ xcluflg = false; }
break;
case 9:
-#line 177 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ xcluflg = true; }
break;
case 10:
-#line 181 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ scinstal( nmstr, xcluflg ); }
break;
case 11:
-#line 184 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ scinstal( nmstr, xcluflg ); }
break;
case 12:
-#line 187 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ synerr( _("bad start condition list") ); }
break;
case 16:
-#line 198 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
outfilename = xstrdup(nmstr);
did_outfilename = 1;
}
break;
case 17:
-#line 203 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ extra_type = xstrdup(nmstr); }
break;
case 18:
-#line 205 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ prefix = xstrdup(nmstr);
if (strchr(prefix, '[') || strchr(prefix, ']'))
flexerror(_("Prefix must not contain [ or ]")); }
break;
case 19:
-#line 209 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ yyclass = xstrdup(nmstr); }
break;
case 20:
-#line 211 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ headerfilename = xstrdup(nmstr); }
break;
case 21:
-#line 213 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ tablesext = true; tablesfilename = xstrdup(nmstr); }
break;
case 22:
-#line 217 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ scon_stk_ptr = yystack.l_mark[-3]; }
break;
case 23:
-#line 219 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ scon_stk_ptr = yystack.l_mark[-3]; }
break;
case 25:
-#line 224 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
/* Initialize for a parse of one rule. */
trlcontxt = variable_trail_rule = varlength = false;
@@ -1062,7 +1040,6 @@ case 25:
}
break;
case 26:
-#line 237 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
pat = yystack.l_mark[0];
finish_rule( pat, variable_trail_rule,
@@ -1099,7 +1076,6 @@ case 26:
}
break;
case 27:
-#line 273 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
pat = yystack.l_mark[0];
finish_rule( pat, variable_trail_rule,
@@ -1124,7 +1100,6 @@ case 27:
}
break;
case 28:
-#line 297 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
if ( scon_stk_ptr > 0 )
build_eof_action();
@@ -1148,19 +1123,15 @@ case 28:
}
break;
case 29:
-#line 320 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ synerr( _("unrecognized rule") ); }
break;
case 30:
-#line 324 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ yyval = scon_stk_ptr; }
break;
case 31:
-#line 328 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ yyval = yystack.l_mark[-2]; }
break;
case 32:
-#line 331 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
yyval = scon_stk_ptr;
@@ -1178,15 +1149,12 @@ case 32:
}
break;
case 33:
-#line 348 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ yyval = scon_stk_ptr; }
break;
case 36:
-#line 356 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ synerr( _("bad start condition list") ); }
break;
case 37:
-#line 360 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
if ( (scnum = sclookup( nmstr )) == 0 )
format_pinpoint_message(
@@ -1209,7 +1177,6 @@ case 37:
}
break;
case 38:
-#line 383 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
if ( transchar[lastst[yystack.l_mark[0]]] != SYM_EPSILON )
/* Provide final transition \now/ so it
@@ -1266,11 +1233,9 @@ case 38:
}
break;
case 39:
-#line 439 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ synerr( _("trailing context used twice") ); }
break;
case 40:
-#line 442 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
headcnt = 0;
trailcnt = 1;
@@ -1314,7 +1279,6 @@ case 40:
}
break;
case 41:
-#line 485 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
yyval = yystack.l_mark[0];
@@ -1331,18 +1295,15 @@ case 41:
}
break;
case 42:
-#line 503 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
varlength = true;
yyval = mkor( yystack.l_mark[-2], yystack.l_mark[0] );
}
break;
case 43:
-#line 509 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ yyval = yystack.l_mark[0]; }
break;
case 44:
-#line 514 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
/* This rule is written separately so the
* reduction will occur before the trailing
@@ -1369,7 +1330,6 @@ case 44:
}
break;
case 45:
-#line 541 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
/* This is where concatenation of adjacent patterns
* gets done.
@@ -1378,11 +1338,9 @@ case 45:
}
break;
case 46:
-#line 549 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ yyval = yystack.l_mark[0]; }
break;
case 47:
-#line 552 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
varlength = true;
@@ -1411,7 +1369,6 @@ case 47:
}
break;
case 48:
-#line 580 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
varlength = true;
@@ -1426,7 +1383,6 @@ case 48:
}
break;
case 49:
-#line 594 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
/* The series could be something like "(foo)",
* in which case we have no idea what its length
@@ -1447,7 +1403,6 @@ case 49:
}
break;
case 50:
-#line 616 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
varlength = true;
@@ -1455,21 +1410,18 @@ case 50:
}
break;
case 51:
-#line 623 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
varlength = true;
yyval = mkposcl( yystack.l_mark[-1] );
}
break;
case 52:
-#line 629 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
varlength = true;
yyval = mkopt( yystack.l_mark[-1] );
}
break;
case 53:
-#line 635 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
varlength = true;
@@ -1498,7 +1450,6 @@ case 53:
}
break;
case 54:
-#line 663 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
varlength = true;
@@ -1513,7 +1464,6 @@ case 54:
}
break;
case 55:
-#line 677 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
/* The singleton could be something like "(foo)",
* in which case we have no idea what its length
@@ -1533,7 +1483,6 @@ case 55:
}
break;
case 56:
-#line 696 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
if ( ! madeany )
{
@@ -1568,7 +1517,6 @@ case 56:
}
break;
case 57:
-#line 730 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
/* Sort characters for fast searching.
*/
@@ -1587,7 +1535,6 @@ case 57:
}
break;
case 58:
-#line 748 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
++rulelen;
@@ -1598,15 +1545,12 @@ case 58:
}
break;
case 59:
-#line 758 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ yyval = yystack.l_mark[-1]; }
break;
case 60:
-#line 761 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ yyval = yystack.l_mark[-1]; }
break;
case 61:
-#line 764 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
++rulelen;
@@ -1621,26 +1565,21 @@ case 61:
}
break;
case 62:
-#line 778 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ yyval = ccl_set_diff (yystack.l_mark[-2], yystack.l_mark[0]); }
break;
case 63:
-#line 779 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ yyval = ccl_set_union (yystack.l_mark[-2], yystack.l_mark[0]); }
break;
case 65:
-#line 785 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ yyval = yystack.l_mark[-1]; }
break;
case 66:
-#line 788 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
cclnegate( yystack.l_mark[-1] );
yyval = yystack.l_mark[-1];
}
break;
case 67:
-#line 795 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
if (sf_case_ins())
@@ -1701,7 +1640,6 @@ case 67:
}
break;
case 68:
-#line 855 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
ccladd( yystack.l_mark[-1], yystack.l_mark[0] );
cclsorted = cclsorted && (yystack.l_mark[0] > lastchar);
@@ -1720,7 +1658,6 @@ case 68:
}
break;
case 69:
-#line 873 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
/* Too hard to properly maintain cclsorted. */
cclsorted = false;
@@ -1728,7 +1665,6 @@ case 69:
}
break;
case 70:
-#line 880 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
cclsorted = true;
lastchar = 0;
@@ -1736,31 +1672,24 @@ case 70:
}
break;
case 71:
-#line 888 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_EXPR(isalnum); }
break;
case 72:
-#line 889 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_EXPR(isalpha); }
break;
case 73:
-#line 890 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_EXPR(IS_BLANK); }
break;
case 74:
-#line 891 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_EXPR(iscntrl); }
break;
case 75:
-#line 892 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_EXPR(isdigit); }
break;
case 76:
-#line 893 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_EXPR(isgraph); }
break;
case 77:
-#line 894 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
CCL_EXPR(islower);
if (sf_case_ins())
@@ -1768,23 +1697,18 @@ case 77:
}
break;
case 78:
-#line 899 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_EXPR(isprint); }
break;
case 79:
-#line 900 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_EXPR(ispunct); }
break;
case 80:
-#line 901 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_EXPR(isspace); }
break;
case 81:
-#line 902 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_EXPR(isxdigit); }
break;
case 82:
-#line 903 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
CCL_EXPR(isupper);
if (sf_case_ins())
@@ -1792,47 +1716,36 @@ case 82:
}
break;
case 83:
-#line 909 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_NEG_EXPR(isalnum); }
break;
case 84:
-#line 910 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_NEG_EXPR(isalpha); }
break;
case 85:
-#line 911 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_NEG_EXPR(IS_BLANK); }
break;
case 86:
-#line 912 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_NEG_EXPR(iscntrl); }
break;
case 87:
-#line 913 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_NEG_EXPR(isdigit); }
break;
case 88:
-#line 914 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_NEG_EXPR(isgraph); }
break;
case 89:
-#line 915 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_NEG_EXPR(isprint); }
break;
case 90:
-#line 916 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_NEG_EXPR(ispunct); }
break;
case 91:
-#line 917 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_NEG_EXPR(isspace); }
break;
case 92:
-#line 918 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ CCL_NEG_EXPR(isxdigit); }
break;
case 93:
-#line 919 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
if ( sf_case_ins() )
lwarn(_("[:^lower:] is ambiguous in case insensitive scanner"));
@@ -1841,7 +1754,6 @@ case 93:
}
break;
case 94:
-#line 925 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
if ( sf_case_ins() )
lwarn(_("[:^upper:] ambiguous in case insensitive scanner"));
@@ -1850,7 +1762,6 @@ case 94:
}
break;
case 95:
-#line 934 "/usr/src/external/bsd/flex/dist/src/parse.y"
{
if ( yystack.l_mark[0] == nlch )
rule_has_nl[num_rules] = true;
@@ -1866,10 +1777,8 @@ case 95:
}
break;
case 96:
-#line 949 "/usr/src/external/bsd/flex/dist/src/parse.y"
{ yyval = mkstate( SYM_EPSILON ); }
break;
-#line 1873 "parse.c"
}
yystack.s_mark -= yym;
yystate = *yystack.s_mark;
Index: src/external/bsd/flex/dist/src/initscan.c
diff -u src/external/bsd/flex/dist/src/initscan.c:1.7 src/external/bsd/flex/dist/src/initscan.c:1.8
--- src/external/bsd/flex/dist/src/initscan.c:1.7 Mon Jan 2 18:21:14 2017
+++ src/external/bsd/flex/dist/src/initscan.c Sat Jan 7 10:43:27 2017
@@ -1,6 +1,4 @@
-#line 2 "<stdout>"
-
#define YY_INT_ALIGNED short int
/* A lexical scanner generated by flex */
@@ -13,84 +11,6 @@
#define FLEX_BETA
#endif
- #define yy_create_buffer yy_create_buffer
-
- #define yy_delete_buffer yy_delete_buffer
-
- #define yy_scan_buffer yy_scan_buffer
-
- #define yy_scan_string yy_scan_string
-
- #define yy_scan_bytes yy_scan_bytes
-
- #define yy_init_buffer yy_init_buffer
-
- #define yy_flush_buffer yy_flush_buffer
-
- #define yy_load_buffer_state yy_load_buffer_state
-
- #define yy_switch_to_buffer yy_switch_to_buffer
-
- #define yypush_buffer_state yypush_buffer_state
-
- #define yypop_buffer_state yypop_buffer_state
-
- #define yyensure_buffer_stack yyensure_buffer_stack
-
- #define yylex yylex
-
- #define yyrestart yyrestart
-
- #define yylex_init yylex_init
-
- #define yylex_init_extra yylex_init_extra
-
- #define yylex_destroy yylex_destroy
-
- #define yyget_debug yyget_debug
-
- #define yyset_debug yyset_debug
-
- #define yyget_extra yyget_extra
-
- #define yyset_extra yyset_extra
-
- #define yyget_in yyget_in
-
- #define yyset_in yyset_in
-
- #define yyget_out yyget_out
-
- #define yyset_out yyset_out
-
- #define yyget_leng yyget_leng
-
- #define yyget_text yyget_text
-
- #define yyget_lineno yyget_lineno
-
- #define yyset_lineno yyset_lineno
-
- #define yywrap yywrap
-
- #define yyalloc yyalloc
-
- #define yyrealloc yyrealloc
-
- #define yyfree yyfree
-
- #define yytext yytext
-
- #define yyleng yyleng
-
- #define yyin yyin
-
- #define yyout yyout
-
- #define yy_flex_debug yy_flex_debug
-
- #define yylineno yylineno
-
/* First, we deal with platform-specific or compiler-specific issues. */
/* begin standard C headers. */
@@ -104,7 +24,7 @@
/* end standard C headers. */
-/* $NetBSD: initscan.c,v 1.7 2017/01/02 23:21:14 christos Exp $ */
+/* $NetBSD: initscan.c,v 1.8 2017/01/07 15:43:27 christos Exp $ */
/* flex integer type definitions */
@@ -203,7 +123,7 @@ typedef unsigned int flex_uint32_t;
/* Action number for EOF rule of a given start state. */
#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
/* Special action meaning "start processing a new file". */
-#define YY_NEW_FILE yyrestart(yyin )
+#define YY_NEW_FILE yyrestart( yyin )
#define YY_END_OF_BUFFER_CHAR 0
/* Size of default input buffer. */
@@ -232,10 +152,6 @@ typedef struct yy_buffer_state *YY_BUFFE
#define YY_TYPEDEF_YY_SIZE_T
typedef size_t yy_size_t;
#endif
-#ifndef YY_TYPEDEF_YY_SSIZE_T
-#define YY_TYPEDEF_YY_SSIZE_T
-typedef ssize_t yy_ssize_t;
-#endif
extern yy_size_t yyleng;
@@ -364,7 +280,7 @@ static int yy_did_buffer_switch_on_eof;
void yyrestart ( FILE *input_file );
void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer );
-YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size );
+YY_BUFFER_STATE yy_create_buffer ( FILE *file, yy_size_t size );
void yy_delete_buffer ( YY_BUFFER_STATE b );
void yy_flush_buffer ( YY_BUFFER_STATE b );
void yypush_buffer_state ( YY_BUFFER_STATE new_buffer );
@@ -373,7 +289,7 @@ void yypop_buffer_state ( void );
static void yyensure_buffer_stack ( void );
static void yy_load_buffer_state ( void );
static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file );
-#define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER )
+#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size );
YY_BUFFER_STATE yy_scan_string ( const char *yy_str );
@@ -389,7 +305,7 @@ void yyfree ( void * );
if ( ! YY_CURRENT_BUFFER ){ \
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
- yy_create_buffer(yyin,YY_BUF_SIZE ); \
+ yy_create_buffer( yyin, YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
}
@@ -398,7 +314,7 @@ void yyfree ( void * );
if ( ! YY_CURRENT_BUFFER ){\
yyensure_buffer_stack (); \
YY_CURRENT_BUFFER_LVALUE = \
- yy_create_buffer(yyin,YY_BUF_SIZE ); \
+ yy_create_buffer( yyin, YY_BUF_SIZE ); \
} \
YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
}
@@ -430,7 +346,7 @@ static void yynoreturn yy_fatal_error (
*/
#define YY_DO_BEFORE_ACTION \
(yytext_ptr) = yy_bp; \
- yyleng = (int) (yy_cp - yy_bp); \
+ yyleng = (yy_size_t)(yy_cp - yy_bp); \
(yy_hold_char) = *yy_cp; \
*yy_cp = '\0'; \
(yy_c_buf_p) = yy_cp;
@@ -1925,10 +1841,8 @@ int yy_flex_debug = 0;
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
-#line 1 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
-/* $NetBSD: initscan.c,v 1.7 2017/01/02 23:21:14 christos Exp $ */
+/* $NetBSD: initscan.c,v 1.8 2017/01/07 15:43:27 christos Exp $ */
/* scan.l - scanner for flex input -*-C-*- */
-#line 6 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
/* Copyright (c) 1990 The Regents of the University of California. */
/* All rights reserved. */
@@ -1960,7 +1874,7 @@ char *yytext;
/* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR */
/* PURPOSE. */
#include "flexdef.h"
-__RCSID("$NetBSD: initscan.c,v 1.7 2017/01/02 23:21:14 christos Exp $");
+__RCSID("$NetBSD: initscan.c,v 1.8 2017/01/07 15:43:27 christos Exp $");
#include "parse.h"
extern bool tablesverify, tablesext;
@@ -2048,10 +1962,6 @@ extern int yylval; /* XXX: for bootstrap
if (!indented_code) line_directive_out(NULL, 0);\
} while (0)
-#line 2051 "<stdout>"
-
-#line 2053 "<stdout>"
-
#define INITIAL 0
#define SECT2 1
#define SECT2PROLOG 2
@@ -2192,7 +2102,7 @@ static int input ( void );
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
- int n; \
+ yy_size_t n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
@@ -2205,7 +2115,7 @@ static int input ( void );
else \
{ \
errno=0; \
- while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
+ while ( (result = fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
{ \
if( errno != EINTR) \
{ \
@@ -2297,16 +2207,14 @@ YY_DECL
if ( ! YY_CURRENT_BUFFER ) {
yyensure_buffer_stack ();
YY_CURRENT_BUFFER_LVALUE =
- yy_create_buffer(yyin,YY_BUF_SIZE );
+ yy_create_buffer( yyin, YY_BUF_SIZE );
}
- yy_load_buffer_state( );
+ yy_load_buffer_state( );
}
{
-#line 162 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
-#line 164 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
static int bracelevel, didadef, indented_code;
static int doing_rule_action = false;
static int option_sense;
@@ -2315,9 +2223,6 @@ YY_DECL
int brace_depth=0, brace_start_line=0;
char nmdef[MAXLINE];
-
-#line 2319 "<stdout>"
-
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
{
yy_cp = (yy_c_buf_p);
@@ -2376,39 +2281,32 @@ do_action: /* This label is used only to
case 1:
YY_RULE_SETUP
-#line 174 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
START_CODEBLOCK(true);
YY_BREAK
case 2:
YY_RULE_SETUP
-#line 175 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
add_action("/*[""["); yy_push_state( COMMENT );
YY_BREAK
case 3:
YY_RULE_SETUP
-#line 176 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
yy_push_state( LINEDIR );
YY_BREAK
case 4:
YY_RULE_SETUP
-#line 177 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return SCDECL;
YY_BREAK
case 5:
YY_RULE_SETUP
-#line 178 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return XSCDECL;
YY_BREAK
case 6:
/* rule 6 can match eol */
YY_RULE_SETUP
-#line 179 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
START_CODEBLOCK(false);
YY_BREAK
case 7:
/* rule 7 can match eol */
YY_RULE_SETUP
-#line 180 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
brace_start_line = linenum;
++linenum;
@@ -2419,17 +2317,14 @@ YY_RULE_SETUP
YY_BREAK
case 8:
YY_RULE_SETUP
-#line 188 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
synerr( _("malformed '%top' directive") );
YY_BREAK
case 9:
YY_RULE_SETUP
-#line 190 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
/* discard */
YY_BREAK
case 10:
YY_RULE_SETUP
-#line 192 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
sectnum = 2;
bracelevel = 0;
@@ -2442,42 +2337,35 @@ YY_RULE_SETUP
case 11:
/* rule 11 can match eol */
YY_RULE_SETUP
-#line 201 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
yytext_is_array = false; ++linenum;
YY_BREAK
case 12:
/* rule 12 can match eol */
YY_RULE_SETUP
-#line 202 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
yytext_is_array = true; ++linenum;
YY_BREAK
case 13:
YY_RULE_SETUP
-#line 204 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(OPTION); return TOK_OPTION;
YY_BREAK
case 14:
/* rule 14 can match eol */
YY_RULE_SETUP
-#line 206 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
++linenum; /* ignore */
YY_BREAK
case 15:
/* rule 15 can match eol */
YY_RULE_SETUP
-#line 207 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
++linenum; /* ignore */
YY_BREAK
/* xgettext: no-c-format */
case 16:
/* rule 16 can match eol */
YY_RULE_SETUP
-#line 210 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
synerr( _( "unrecognized '%' directive" ) );
YY_BREAK
case 17:
YY_RULE_SETUP
-#line 212 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
if(yyleng < MAXLINE)
{
@@ -2495,111 +2383,88 @@ YY_RULE_SETUP
YY_BREAK
case 18:
YY_RULE_SETUP
-#line 227 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
RETURNNAME;
YY_BREAK
case 19:
/* rule 19 can match eol */
YY_RULE_SETUP
-#line 228 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
++linenum; /* allows blank lines in section 1 */
YY_BREAK
case 20:
/* rule 20 can match eol */
YY_RULE_SETUP
-#line 229 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO; ++linenum; /* maybe end of comment line */
YY_BREAK
/* */
case 21:
YY_RULE_SETUP
-#line 234 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO;
YY_BREAK
case 22:
YY_RULE_SETUP
-#line 235 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO;
YY_BREAK
case 23:
/* rule 23 can match eol */
YY_RULE_SETUP
-#line 237 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
++linenum; ACTION_ECHO;
YY_BREAK
-
case 24:
YY_RULE_SETUP
-#line 240 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
add_action("*/]""]"); yy_pop_state();
YY_BREAK
-
case 25:
YY_RULE_SETUP
-#line 243 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO; yy_pop_state();
YY_BREAK
-
/* This is the same as COMMENT, but is discarded rather than output. */
case 26:
YY_RULE_SETUP
-#line 248 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
yy_pop_state();
YY_BREAK
case 27:
YY_RULE_SETUP
-#line 249 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
;
YY_BREAK
case 28:
YY_RULE_SETUP
-#line 250 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
;
YY_BREAK
case 29:
/* rule 29 can match eol */
YY_RULE_SETUP
-#line 251 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
++linenum;
YY_BREAK
-
case 30:
YY_RULE_SETUP
-#line 255 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
yy_pop_state();
YY_BREAK
case 31:
YY_RULE_SETUP
-#line 256 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
;
YY_BREAK
case 32:
/* rule 32 can match eol */
YY_RULE_SETUP
-#line 257 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
++linenum;
YY_BREAK
-
case 33:
/* rule 33 can match eol */
YY_RULE_SETUP
-#line 261 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
yy_pop_state();
YY_BREAK
case 34:
YY_RULE_SETUP
-#line 262 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
linenum = myctoi( yytext );
YY_BREAK
case 35:
YY_RULE_SETUP
-#line 264 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
free(infilename);
infilename = xstrdup(yytext + 1);
@@ -2608,43 +2473,34 @@ YY_RULE_SETUP
YY_BREAK
case 36:
YY_RULE_SETUP
-#line 269 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
/* ignore spurious characters */
YY_BREAK
-
case 37:
YY_RULE_SETUP
-#line 273 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO_QSTART;
YY_BREAK
case 38:
YY_RULE_SETUP
-#line 274 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO_QEND;
YY_BREAK
-
case 39:
/* rule 39 can match eol */
YY_RULE_SETUP
-#line 278 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
++linenum; END_CODEBLOCK;
YY_BREAK
case 40:
YY_RULE_SETUP
-#line 279 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO;
YY_BREAK
case 41:
YY_RULE_SETUP
-#line 280 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO;
YY_BREAK
case 42:
/* rule 42 can match eol */
YY_RULE_SETUP
-#line 281 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
++linenum;
ACTION_ECHO;
@@ -2652,10 +2508,8 @@ YY_RULE_SETUP
}
YY_BREAK
-
case 43:
YY_RULE_SETUP
-#line 289 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
if( --brace_depth == 0){
/* TODO: Matched. */
@@ -2666,7 +2520,6 @@ YY_RULE_SETUP
YY_BREAK
case 44:
YY_RULE_SETUP
-#line 297 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
brace_depth++;
buf_strnappend(&top_buf, yytext, yyleng);
@@ -2675,7 +2528,6 @@ YY_RULE_SETUP
case 45:
/* rule 45 can match eol */
YY_RULE_SETUP
-#line 302 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
++linenum;
buf_strnappend(&top_buf, yytext, yyleng);
@@ -2683,23 +2535,19 @@ YY_RULE_SETUP
YY_BREAK
case 46:
YY_RULE_SETUP
-#line 307 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
buf_strnappend(&top_buf, escaped_qstart, (int) strlen(escaped_qstart));
YY_BREAK
case 47:
YY_RULE_SETUP
-#line 308 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
buf_strnappend(&top_buf, escaped_qend, (int) strlen(escaped_qend));
YY_BREAK
case 48:
YY_RULE_SETUP
-#line 309 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
buf_strnappend(&top_buf, yytext, yyleng);
}
YY_BREAK
case YY_STATE_EOF(CODEBLOCK_MATCH_BRACE):
-#line 313 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
linenum = brace_start_line;
synerr(_("Unmatched '{'"));
@@ -2707,15 +2555,12 @@ case YY_STATE_EOF(CODEBLOCK_MATCH_BRACE)
}
YY_BREAK
-
case 49:
YY_RULE_SETUP
-#line 322 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
/* separates name and definition */
YY_BREAK
case 50:
YY_RULE_SETUP
-#line 324 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
if(yyleng < MAXLINE)
{
@@ -2741,7 +2586,6 @@ YY_RULE_SETUP
case 51:
/* rule 51 can match eol */
YY_RULE_SETUP
-#line 346 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
if ( ! didadef )
synerr( _( "incomplete name definition" ) );
@@ -2750,46 +2594,37 @@ YY_RULE_SETUP
}
YY_BREAK
-
case 52:
/* rule 52 can match eol */
YY_RULE_SETUP
-#line 356 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
++linenum; BEGIN(INITIAL);
YY_BREAK
case 53:
YY_RULE_SETUP
-#line 357 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
option_sense = true;
YY_BREAK
case 54:
YY_RULE_SETUP
-#line 359 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return '=';
YY_BREAK
case 55:
YY_RULE_SETUP
-#line 361 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
option_sense = ! option_sense;
YY_BREAK
case 56:
YY_RULE_SETUP
-#line 363 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
csize = option_sense ? 128 : 256;
YY_BREAK
case 57:
YY_RULE_SETUP
-#line 364 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
csize = option_sense ? 256 : 128;
YY_BREAK
case 58:
YY_RULE_SETUP
-#line 366 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
long_align = option_sense;
YY_BREAK
case 59:
YY_RULE_SETUP
-#line 367 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
ACTION_M4_IFDEF( "M4""_YY_ALWAYS_INTERACTIVE", option_sense );
interactive = option_sense;
@@ -2797,64 +2632,52 @@ YY_RULE_SETUP
YY_BREAK
case 60:
YY_RULE_SETUP
-#line 371 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
yytext_is_array = option_sense;
YY_BREAK
case 61:
YY_RULE_SETUP
-#line 372 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
backing_up_report = option_sense;
YY_BREAK
case 62:
YY_RULE_SETUP
-#line 373 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
interactive = ! option_sense;
YY_BREAK
case 63:
YY_RULE_SETUP
-#line 374 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
bison_bridge_lval = option_sense;
YY_BREAK
case 64:
YY_RULE_SETUP
-#line 375 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{ if((bison_bridge_lloc = option_sense))
bison_bridge_lval = true;
}
YY_BREAK
case 65:
YY_RULE_SETUP
-#line 378 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
C_plus_plus = option_sense;
YY_BREAK
case 66:
YY_RULE_SETUP
-#line 379 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
sf_set_case_ins(!option_sense);
YY_BREAK
case 67:
YY_RULE_SETUP
-#line 380 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
sf_set_case_ins(option_sense);
YY_BREAK
case 68:
YY_RULE_SETUP
-#line 381 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ddebug = option_sense;
YY_BREAK
case 69:
YY_RULE_SETUP
-#line 382 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
spprdflt = ! option_sense;
YY_BREAK
case 70:
YY_RULE_SETUP
-#line 383 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
useecs = option_sense;
YY_BREAK
case 71:
YY_RULE_SETUP
-#line 384 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
useecs = usemecs = false;
use_read = fullspd = true;
@@ -2862,7 +2685,6 @@ YY_RULE_SETUP
YY_BREAK
case 72:
YY_RULE_SETUP
-#line 388 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
useecs = usemecs = false;
use_read = fulltbl = true;
@@ -2870,32 +2692,26 @@ YY_RULE_SETUP
YY_BREAK
case 73:
YY_RULE_SETUP
-#line 392 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_IFDEF("YY_NO_INPUT", ! option_sense);
YY_BREAK
case 74:
YY_RULE_SETUP
-#line 393 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
interactive = option_sense;
YY_BREAK
case 75:
YY_RULE_SETUP
-#line 394 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
lex_compat = option_sense;
YY_BREAK
case 76:
YY_RULE_SETUP
-#line 395 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
posix_compat = option_sense;
YY_BREAK
case 77:
YY_RULE_SETUP
-#line 396 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
gen_line_dirs = option_sense;
YY_BREAK
case 78:
YY_RULE_SETUP
-#line 397 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
ACTION_M4_IFDEF( "M4""_YY_MAIN", option_sense);
/* Override yywrap */
@@ -2905,12 +2721,10 @@ YY_RULE_SETUP
YY_BREAK
case 79:
YY_RULE_SETUP
-#line 403 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
usemecs = option_sense;
YY_BREAK
case 80:
YY_RULE_SETUP
-#line 404 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
ACTION_M4_IFDEF( "M4""_YY_NEVER_INTERACTIVE", option_sense );
interactive = !option_sense;
@@ -2918,237 +2732,190 @@ YY_RULE_SETUP
YY_BREAK
case 81:
YY_RULE_SETUP
-#line 408 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
performance_report += option_sense ? 1 : -1;
YY_BREAK
case 82:
YY_RULE_SETUP
-#line 409 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
yytext_is_array = ! option_sense;
YY_BREAK
case 83:
YY_RULE_SETUP
-#line 410 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
use_read = option_sense;
YY_BREAK
case 84:
YY_RULE_SETUP
-#line 411 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
reentrant = option_sense;
YY_BREAK
case 85:
YY_RULE_SETUP
-#line 412 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
reject_really_used = option_sense;
YY_BREAK
case 86:
YY_RULE_SETUP
-#line 413 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF( "M4""_YY_STACK_USED", option_sense );
YY_BREAK
case 87:
YY_RULE_SETUP
-#line 414 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
do_stdinit = option_sense;
YY_BREAK
case 88:
YY_RULE_SETUP
-#line 415 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
use_stdout = option_sense;
YY_BREAK
case 89:
YY_RULE_SETUP
-#line 416 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_IFDEF("YY_NO_UNISTD_H", ! option_sense);
YY_BREAK
case 90:
YY_RULE_SETUP
-#line 417 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_UNPUT", ! option_sense);
YY_BREAK
case 91:
YY_RULE_SETUP
-#line 418 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
printstats = option_sense;
YY_BREAK
case 92:
YY_RULE_SETUP
-#line 419 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
nowarn = ! option_sense;
YY_BREAK
case 93:
YY_RULE_SETUP
-#line 420 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
do_yylineno = option_sense; ACTION_M4_IFDEF("M4""_YY_USE_LINENO", option_sense);
YY_BREAK
case 94:
YY_RULE_SETUP
-#line 421 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
yymore_really_used = option_sense;
YY_BREAK
case 95:
YY_RULE_SETUP
-#line 422 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
do_yywrap = option_sense;
YY_BREAK
case 96:
YY_RULE_SETUP
-#line 424 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_PUSH_STATE", ! option_sense);
YY_BREAK
case 97:
YY_RULE_SETUP
-#line 425 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_POP_STATE", ! option_sense);
YY_BREAK
case 98:
YY_RULE_SETUP
-#line 426 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_TOP_STATE", ! option_sense);
YY_BREAK
case 99:
YY_RULE_SETUP
-#line 428 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SCAN_BUFFER", ! option_sense);
YY_BREAK
case 100:
YY_RULE_SETUP
-#line 429 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SCAN_BYTES", ! option_sense);
YY_BREAK
case 101:
YY_RULE_SETUP
-#line 430 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SCAN_STRING", ! option_sense);
YY_BREAK
case 102:
YY_RULE_SETUP
-#line 432 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_FLEX_ALLOC", ! option_sense);
YY_BREAK
case 103:
YY_RULE_SETUP
-#line 433 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_FLEX_REALLOC", ! option_sense);
YY_BREAK
case 104:
YY_RULE_SETUP
-#line 434 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_FLEX_FREE", ! option_sense);
YY_BREAK
case 105:
YY_RULE_SETUP
-#line 436 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_DEBUG", ! option_sense);
YY_BREAK
case 106:
YY_RULE_SETUP
-#line 437 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SET_DEBUG", ! option_sense);
YY_BREAK
case 107:
YY_RULE_SETUP
-#line 438 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_EXTRA", ! option_sense);
YY_BREAK
case 108:
YY_RULE_SETUP
-#line 439 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SET_EXTRA", ! option_sense);
YY_BREAK
case 109:
YY_RULE_SETUP
-#line 440 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_LENG", ! option_sense);
YY_BREAK
case 110:
YY_RULE_SETUP
-#line 441 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_TEXT", ! option_sense);
YY_BREAK
case 111:
YY_RULE_SETUP
-#line 442 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_LINENO", ! option_sense);
YY_BREAK
case 112:
YY_RULE_SETUP
-#line 443 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SET_LINENO", ! option_sense);
YY_BREAK
case 113:
YY_RULE_SETUP
-#line 444 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_IN", ! option_sense);
YY_BREAK
case 114:
YY_RULE_SETUP
-#line 445 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SET_IN", ! option_sense);
YY_BREAK
case 115:
YY_RULE_SETUP
-#line 446 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_OUT", ! option_sense);
YY_BREAK
case 116:
YY_RULE_SETUP
-#line 447 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SET_OUT", ! option_sense);
YY_BREAK
case 117:
YY_RULE_SETUP
-#line 448 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_LVAL", ! option_sense);
YY_BREAK
case 118:
YY_RULE_SETUP
-#line 449 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SET_LVAL", ! option_sense);
YY_BREAK
case 119:
YY_RULE_SETUP
-#line 450 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_LLOC", ! option_sense);
YY_BREAK
case 120:
YY_RULE_SETUP
-#line 451 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SET_LLOC", ! option_sense);
YY_BREAK
case 121:
YY_RULE_SETUP
-#line 453 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return TOK_EXTRA_TYPE;
YY_BREAK
case 122:
YY_RULE_SETUP
-#line 454 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return TOK_OUTFILE;
YY_BREAK
case 123:
YY_RULE_SETUP
-#line 455 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return TOK_PREFIX;
YY_BREAK
case 124:
YY_RULE_SETUP
-#line 456 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return TOK_YYCLASS;
YY_BREAK
case 125:
YY_RULE_SETUP
-#line 457 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return TOK_HEADER_FILE;
YY_BREAK
case 126:
YY_RULE_SETUP
-#line 458 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return TOK_TABLES_FILE;
YY_BREAK
case 127:
YY_RULE_SETUP
-#line 459 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
tablesverify = option_sense;
if(!tablesext && option_sense)
@@ -3157,7 +2924,6 @@ YY_RULE_SETUP
YY_BREAK
case 128:
YY_RULE_SETUP
-#line 466 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
if(yyleng-1 < MAXLINE)
{
@@ -3174,7 +2940,6 @@ YY_RULE_SETUP
YY_BREAK
case 129:
YY_RULE_SETUP
-#line 480 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
format_synerr( _( "unrecognized %%option: %s" ),
yytext );
@@ -3185,28 +2950,23 @@ YY_RULE_SETUP
case 130:
/* rule 130 can match eol */
YY_RULE_SETUP
-#line 487 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
++linenum; BEGIN(INITIAL);
YY_BREAK
case 131:
YY_RULE_SETUP
-#line 491 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
++bracelevel; yyless( 2 ); /* eat only %{ */
YY_BREAK
case 132:
YY_RULE_SETUP
-#line 492 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
--bracelevel; yyless( 2 ); /* eat only %} */
YY_BREAK
case 133:
YY_RULE_SETUP
-#line 494 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
START_CODEBLOCK(true); /* indented code in prolog */
YY_BREAK
case 134:
YY_RULE_SETUP
-#line 496 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
/* non-indented code */
if ( bracelevel <= 0 ) {
@@ -3222,17 +2982,14 @@ YY_RULE_SETUP
YY_BREAK
case 135:
YY_RULE_SETUP
-#line 509 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO;
YY_BREAK
case 136:
/* rule 136 can match eol */
YY_RULE_SETUP
-#line 510 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
++linenum; ACTION_ECHO;
YY_BREAK
case YY_STATE_EOF(SECT2PROLOG):
-#line 512 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
mark_prolog();
sectnum = 0;
@@ -3240,16 +2997,13 @@ case YY_STATE_EOF(SECT2PROLOG):
}
YY_BREAK
-
case 137:
/* rule 137 can match eol */
YY_RULE_SETUP
-#line 520 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
++linenum; /* allow blank lines in section 2 */
YY_BREAK
case 138:
YY_RULE_SETUP
-#line 522 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
indented_code = false;
doing_codeblock = true;
@@ -3259,7 +3013,6 @@ YY_RULE_SETUP
YY_BREAK
case 139:
YY_RULE_SETUP
-#line 529 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
/* Allow "<" to appear in (?x) patterns. */
if (!sf_skip_ws())
@@ -3269,12 +3022,10 @@ YY_RULE_SETUP
YY_BREAK
case 140:
YY_RULE_SETUP
-#line 535 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return '^';
YY_BREAK
case 141:
YY_RULE_SETUP
-#line 536 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(QUOTE); return '"';
YY_BREAK
case 142:
@@ -3282,7 +3033,6 @@ case 142:
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 537 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
BEGIN(NUM);
if ( lex_compat || posix_compat )
@@ -3298,12 +3048,10 @@ YY_LINENO_REWIND_TO(yy_bp + 1);
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 544 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return '$';
YY_BREAK
case 144:
YY_RULE_SETUP
-#line 546 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
bracelevel = 1;
BEGIN(PERCENT_BRACE_ACTION);
@@ -3319,7 +3067,6 @@ YY_RULE_SETUP
case 145:
/* rule 145 can match eol */
YY_RULE_SETUP
-#line 557 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
if (sf_skip_ws()){
/* We're in the middle of a (?x: ) pattern. */
@@ -3337,7 +3084,6 @@ YY_RULE_SETUP
YY_BREAK
case 146:
YY_RULE_SETUP
-#line 572 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
if (sf_skip_ws()){
@@ -3354,12 +3100,10 @@ YY_RULE_SETUP
YY_BREAK
case 147:
YY_RULE_SETUP
-#line 586 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
/* allow indented rules */ ;
YY_BREAK
case 148:
YY_RULE_SETUP
-#line 588 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
if (sf_skip_ws()){
/* We're in the middle of a (?x: ) pattern. */
@@ -3385,7 +3129,6 @@ YY_RULE_SETUP
case 149:
/* rule 149 can match eol */
YY_RULE_SETUP
-#line 610 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
if (sf_skip_ws()){
/* We're in the middle of a (?x: ) pattern. */
@@ -3407,15 +3150,12 @@ YY_RULE_SETUP
}
YY_BREAK
case 150:
-#line 631 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
case 151:
YY_RULE_SETUP
-#line 631 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return EOF_OP;
YY_BREAK
case 152:
YY_RULE_SETUP
-#line 633 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
sectnum = 3;
BEGIN(no_section3_escape ? SECT3_NOESCAPE : SECT3);
@@ -3426,7 +3166,6 @@ YY_RULE_SETUP
YY_BREAK
case 153:
YY_RULE_SETUP
-#line 641 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
int cclval;
@@ -3476,12 +3215,10 @@ YY_RULE_SETUP
YY_BREAK
case 154:
YY_RULE_SETUP
-#line 687 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return CCL_OP_DIFF;
YY_BREAK
case 155:
YY_RULE_SETUP
-#line 688 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return CCL_OP_UNION;
YY_BREAK
/* Check for :space: at the end of the rule so we don't
@@ -3491,7 +3228,6 @@ return CCL_OP_UNION;
case 156:
/* rule 156 can match eol */
YY_RULE_SETUP
-#line 695 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
char *nmdefptr;
int end_is_ws, end_ch;
@@ -3542,7 +3278,6 @@ nmstr[yyleng - 2 - end_is_ws] = '\0'; /
YY_BREAK
case 157:
YY_RULE_SETUP
-#line 743 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
if (sf_skip_ws())
yy_push_state(COMMENT_DISCARD);
@@ -3555,7 +3290,6 @@ YY_RULE_SETUP
YY_BREAK
case 158:
YY_RULE_SETUP
-#line 753 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
if (lex_compat || posix_compat){
/* Push back the "?#" and treat it like a normal parens. */
@@ -3569,7 +3303,6 @@ YY_RULE_SETUP
YY_BREAK
case 159:
YY_RULE_SETUP
-#line 763 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
sf_push();
if (lex_compat || posix_compat)
@@ -3582,12 +3315,10 @@ YY_RULE_SETUP
YY_BREAK
case 160:
YY_RULE_SETUP
-#line 772 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
sf_push(); return '(';
YY_BREAK
case 161:
YY_RULE_SETUP
-#line 773 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
if (_sf_top_ix > 0) {
sf_pop();
@@ -3598,30 +3329,24 @@ YY_RULE_SETUP
YY_BREAK
case 162:
YY_RULE_SETUP
-#line 781 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return (unsigned char) yytext[0];
YY_BREAK
case 163:
YY_RULE_SETUP
-#line 782 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
RETURNCHAR;
YY_BREAK
-
case 164:
/* rule 164 can match eol */
YY_RULE_SETUP
-#line 787 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
++linenum; /* Allow blank lines & continuations */
YY_BREAK
case 165:
YY_RULE_SETUP
-#line 788 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return (unsigned char) yytext[0];
YY_BREAK
case 166:
YY_RULE_SETUP
-#line 789 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(SECT2); return '>';
YY_BREAK
case 167:
@@ -3629,17 +3354,14 @@ case 167:
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 790 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CARETISBOL); return '>';
YY_BREAK
case 168:
YY_RULE_SETUP
-#line 791 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
RETURNNAME;
YY_BREAK
case 169:
YY_RULE_SETUP
-#line 792 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
format_synerr( _( "bad <start condition>: %s" ),
yytext );
@@ -3648,24 +3370,20 @@ YY_RULE_SETUP
case 170:
YY_RULE_SETUP
-#line 798 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(SECT2); return '^';
YY_BREAK
case 171:
YY_RULE_SETUP
-#line 802 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
RETURNCHAR;
YY_BREAK
case 172:
YY_RULE_SETUP
-#line 803 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(SECT2); return '"';
YY_BREAK
case 173:
/* rule 173 can match eol */
YY_RULE_SETUP
-#line 805 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
synerr( _( "missing quote" ) );
BEGIN(SECT2);
@@ -3674,62 +3392,49 @@ YY_RULE_SETUP
}
YY_BREAK
-
case 174:
YY_RULE_SETUP
-#line 814 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(SECT2);
YY_BREAK
case 175:
YY_RULE_SETUP
-#line 815 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(GROUP_MINUS_PARAMS);
YY_BREAK
case 176:
YY_RULE_SETUP
-#line 816 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
sf_set_case_ins(1);
YY_BREAK
case 177:
YY_RULE_SETUP
-#line 817 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
sf_set_dot_all(1);
YY_BREAK
case 178:
YY_RULE_SETUP
-#line 818 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
sf_set_skip_ws(1);
YY_BREAK
-
case 179:
YY_RULE_SETUP
-#line 821 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(SECT2);
YY_BREAK
case 180:
YY_RULE_SETUP
-#line 822 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
sf_set_case_ins(0);
YY_BREAK
case 181:
YY_RULE_SETUP
-#line 823 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
sf_set_dot_all(0);
YY_BREAK
case 182:
YY_RULE_SETUP
-#line 824 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
sf_set_skip_ws(0);
YY_BREAK
-
case 183:
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 828 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return '^';
YY_BREAK
case 184:
@@ -3737,38 +3442,31 @@ case 184:
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 829 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return '^';
YY_BREAK
case 185:
YY_RULE_SETUP
-#line 830 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); RETURNCHAR;
YY_BREAK
-
case 186:
*yy_cp = (yy_hold_char); /* undo effects of setting up yytext */
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 834 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return '-';
YY_BREAK
case 187:
YY_RULE_SETUP
-#line 835 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
RETURNCHAR;
YY_BREAK
case 188:
YY_RULE_SETUP
-#line 836 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(SECT2); return ']';
YY_BREAK
case 189:
/* rule 189 can match eol */
YY_RULE_SETUP
-#line 837 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
synerr( _( "bad character class" ) );
BEGIN(SECT2);
@@ -3776,130 +3474,104 @@ YY_RULE_SETUP
}
YY_BREAK
-
case 190:
YY_RULE_SETUP
-#line 845 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_ALNUM;
YY_BREAK
case 191:
YY_RULE_SETUP
-#line 846 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_ALPHA;
YY_BREAK
case 192:
YY_RULE_SETUP
-#line 847 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_BLANK;
YY_BREAK
case 193:
YY_RULE_SETUP
-#line 848 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_CNTRL;
YY_BREAK
case 194:
YY_RULE_SETUP
-#line 849 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_DIGIT;
YY_BREAK
case 195:
YY_RULE_SETUP
-#line 850 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_GRAPH;
YY_BREAK
case 196:
YY_RULE_SETUP
-#line 851 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_LOWER;
YY_BREAK
case 197:
YY_RULE_SETUP
-#line 852 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_PRINT;
YY_BREAK
case 198:
YY_RULE_SETUP
-#line 853 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_PUNCT;
YY_BREAK
case 199:
YY_RULE_SETUP
-#line 854 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_SPACE;
YY_BREAK
case 200:
YY_RULE_SETUP
-#line 855 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_UPPER;
YY_BREAK
case 201:
YY_RULE_SETUP
-#line 856 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_XDIGIT;
YY_BREAK
case 202:
YY_RULE_SETUP
-#line 858 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_NEG_ALNUM;
YY_BREAK
case 203:
YY_RULE_SETUP
-#line 859 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_NEG_ALPHA;
YY_BREAK
case 204:
YY_RULE_SETUP
-#line 860 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_NEG_BLANK;
YY_BREAK
case 205:
YY_RULE_SETUP
-#line 861 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_NEG_CNTRL;
YY_BREAK
case 206:
YY_RULE_SETUP
-#line 862 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_NEG_DIGIT;
YY_BREAK
case 207:
YY_RULE_SETUP
-#line 863 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_NEG_GRAPH;
YY_BREAK
case 208:
YY_RULE_SETUP
-#line 864 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_NEG_LOWER;
YY_BREAK
case 209:
YY_RULE_SETUP
-#line 865 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_NEG_PRINT;
YY_BREAK
case 210:
YY_RULE_SETUP
-#line 866 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_NEG_PUNCT;
YY_BREAK
case 211:
YY_RULE_SETUP
-#line 867 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_NEG_SPACE;
YY_BREAK
case 212:
YY_RULE_SETUP
-#line 868 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_NEG_UPPER;
YY_BREAK
case 213:
YY_RULE_SETUP
-#line 869 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
BEGIN(CCL); return CCE_NEG_XDIGIT;
YY_BREAK
case 214:
YY_RULE_SETUP
-#line 870 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
format_synerr(
_( "bad character class expression: %s" ),
@@ -3908,10 +3580,8 @@ YY_RULE_SETUP
}
YY_BREAK
-
case 215:
YY_RULE_SETUP
-#line 879 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
yylval = myctoi( yytext );
return NUMBER;
@@ -3919,12 +3589,10 @@ YY_RULE_SETUP
YY_BREAK
case 216:
YY_RULE_SETUP
-#line 884 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
return ',';
YY_BREAK
case 217:
YY_RULE_SETUP
-#line 885 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
BEGIN(SECT2);
if ( lex_compat || posix_compat )
@@ -3935,7 +3603,6 @@ YY_RULE_SETUP
YY_BREAK
case 218:
YY_RULE_SETUP
-#line 893 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
synerr( _( "bad character inside {}'s" ) );
BEGIN(SECT2);
@@ -3945,7 +3612,6 @@ YY_RULE_SETUP
case 219:
/* rule 219 can match eol */
YY_RULE_SETUP
-#line 899 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
synerr( _( "missing }" ) );
BEGIN(SECT2);
@@ -3954,21 +3620,17 @@ YY_RULE_SETUP
}
YY_BREAK
-
case 220:
YY_RULE_SETUP
-#line 909 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
bracelevel = 0;
YY_BREAK
case 221:
YY_RULE_SETUP
-#line 911 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO; yy_push_state( CODE_COMMENT );
YY_BREAK
case 222:
YY_RULE_SETUP
-#line 914 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
ACTION_ECHO;
CHECK_REJECT(yytext);
@@ -3976,7 +3638,6 @@ YY_RULE_SETUP
YY_BREAK
case 223:
YY_RULE_SETUP
-#line 918 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
ACTION_ECHO;
CHECK_YYMORE(yytext);
@@ -3985,13 +3646,11 @@ YY_RULE_SETUP
case 224:
YY_RULE_SETUP
-#line 924 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO;
YY_BREAK
case 225:
/* rule 225 can match eol */
YY_RULE_SETUP
-#line 925 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
++linenum;
ACTION_ECHO;
@@ -4009,43 +3668,35 @@ YY_RULE_SETUP
case 226:
YY_RULE_SETUP
-#line 941 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO; ++bracelevel;
YY_BREAK
case 227:
YY_RULE_SETUP
-#line 942 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO; --bracelevel;
YY_BREAK
case 228:
YY_RULE_SETUP
-#line 943 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO;
YY_BREAK
case 229:
YY_RULE_SETUP
-#line 944 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO;
YY_BREAK
case 230:
YY_RULE_SETUP
-#line 945 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO; /* character constant */
YY_BREAK
case 231:
YY_RULE_SETUP
-#line 946 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO; BEGIN(CHARACTER_CONSTANT);
YY_BREAK
case 232:
YY_RULE_SETUP
-#line 947 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO; BEGIN(ACTION_STRING);
YY_BREAK
case 233:
/* rule 233 can match eol */
YY_RULE_SETUP
-#line 948 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
++linenum;
ACTION_ECHO;
@@ -4060,56 +3711,44 @@ YY_RULE_SETUP
YY_BREAK
case 234:
YY_RULE_SETUP
-#line 959 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO;
YY_BREAK
-
case 235:
YY_RULE_SETUP
-#line 963 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO;
YY_BREAK
case 236:
YY_RULE_SETUP
-#line 964 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO; BEGIN(ACTION);
YY_BREAK
-
case 237:
YY_RULE_SETUP
-#line 967 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO;
YY_BREAK
case 238:
YY_RULE_SETUP
-#line 968 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO; BEGIN(ACTION);
YY_BREAK
-
case 239:
/* rule 239 can match eol */
YY_RULE_SETUP
-#line 971 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO;
YY_BREAK
case 240:
/* rule 240 can match eol */
YY_RULE_SETUP
-#line 972 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO;
YY_BREAK
case 241:
/* rule 241 can match eol */
YY_RULE_SETUP
-#line 973 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
++linenum; ACTION_ECHO; BEGIN(ACTION);
YY_BREAK
case 242:
YY_RULE_SETUP
-#line 974 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ACTION_ECHO;
YY_BREAK
@@ -4119,7 +3758,6 @@ case YY_STATE_EOF(COMMENT_DISCARD):
case YY_STATE_EOF(ACTION):
case YY_STATE_EOF(ACTION_STRING):
case YY_STATE_EOF(CHARACTER_CONSTANT):
-#line 977 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
synerr( _( "EOF encountered inside an action" ) );
yyterminate();
@@ -4128,7 +3766,6 @@ case YY_STATE_EOF(CHARACTER_CONSTANT):
case YY_STATE_EOF(EXTENDED_COMMENT):
case YY_STATE_EOF(GROUP_WITH_PARAMS):
case YY_STATE_EOF(GROUP_MINUS_PARAMS):
-#line 982 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
synerr( _( "EOF encountered inside pattern" ) );
yyterminate();
@@ -4136,7 +3773,6 @@ case YY_STATE_EOF(GROUP_MINUS_PARAMS):
YY_BREAK
case 243:
YY_RULE_SETUP
-#line 987 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
yylval = myesc( (unsigned char *) yytext );
@@ -4149,57 +3785,46 @@ YY_RULE_SETUP
case 244:
YY_RULE_SETUP
-#line 997 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
fputs(escaped_qstart, yyout);
YY_BREAK
case 245:
YY_RULE_SETUP
-#line 998 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
fputs(escaped_qend, yyout);
YY_BREAK
case 246:
/* rule 246 can match eol */
YY_RULE_SETUP
-#line 999 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ECHO;
YY_BREAK
case 247:
YY_RULE_SETUP
-#line 1000 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ECHO;
YY_BREAK
case YY_STATE_EOF(SECT3):
-#line 1001 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
sectnum = 0;
yyterminate();
}
YY_BREAK
-
case 248:
YY_RULE_SETUP
-#line 1007 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
fprintf(yyout, "[""[%s]""]", escaped_qstart);
YY_BREAK
case 249:
YY_RULE_SETUP
-#line 1008 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
fprintf(yyout, "[""[%s]""]", escaped_qend);
YY_BREAK
case 250:
/* rule 250 can match eol */
YY_RULE_SETUP
-#line 1009 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ECHO;
YY_BREAK
case 251:
YY_RULE_SETUP
-#line 1010 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
ECHO;
YY_BREAK
case YY_STATE_EOF(SECT3_NOESCAPE):
-#line 1011 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
{
sectnum = 0;
yyterminate();
@@ -4209,15 +3834,12 @@ case YY_STATE_EOF(SECT3_NOESCAPE):
case 252:
/* rule 252 can match eol */
YY_RULE_SETUP
-#line 1016 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
format_synerr( _( "bad character: %s" ), yytext );
YY_BREAK
case 253:
YY_RULE_SETUP
-#line 1018 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
YY_FATAL_ERROR( "flex scanner jammed" );
YY_BREAK
-#line 4220 "<stdout>"
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(SECT2):
case YY_STATE_EOF(CODEBLOCK):
@@ -4308,7 +3930,7 @@ case YY_STATE_EOF(LINEDIR):
{
(yy_did_buffer_switch_on_eof) = 0;
- if ( yywrap( ) )
+ if ( yywrap( ) )
{
/* Note: because we've taken care in
* yy_get_next_buffer() to have set up
@@ -4417,7 +4039,7 @@ static int yy_get_next_buffer (void)
else
{
- yy_ssize_t num_to_read =
+ yy_size_t num_to_read =
YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
while ( num_to_read <= 0 )
@@ -4440,7 +4062,8 @@ static int yy_get_next_buffer (void)
b->yy_ch_buf = (char *)
/* Include room in for 2 EOB chars. */
- yyrealloc((void *) b->yy_ch_buf,(yy_size_t) (b->yy_buf_size + 2) );
+ yyrealloc( (void *) b->yy_ch_buf,
+ (yy_size_t) (b->yy_buf_size + 2) );
}
else
/* Can't grow it, we don't own it. */
@@ -4472,7 +4095,7 @@ static int yy_get_next_buffer (void)
if ( number_to_move == YY_MORE_ADJ )
{
ret_val = EOB_ACT_END_OF_FILE;
- yyrestart(yyin );
+ yyrestart( yyin );
}
else
@@ -4488,8 +4111,9 @@ static int yy_get_next_buffer (void)
if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
/* Extend the array by 50%, plus the number we really need. */
- int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
- YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,(yy_size_t) new_size );
+ yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
+ YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc(
+ (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size );
if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
}
@@ -4643,13 +4267,13 @@ static int yy_get_next_buffer (void)
*/
/* Reset buffer status. */
- yyrestart(yyin );
+ yyrestart( yyin );
/*FALLTHROUGH*/
case EOB_ACT_END_OF_FILE:
{
- if ( yywrap( ) )
+ if ( yywrap( ) )
return 0;
if ( ! (yy_did_buffer_switch_on_eof) )
@@ -4689,11 +4313,11 @@ static int yy_get_next_buffer (void)
if ( ! YY_CURRENT_BUFFER ){
yyensure_buffer_stack ();
YY_CURRENT_BUFFER_LVALUE =
- yy_create_buffer(yyin,YY_BUF_SIZE );
+ yy_create_buffer( yyin, YY_BUF_SIZE );
}
- yy_init_buffer(YY_CURRENT_BUFFER,input_file );
- yy_load_buffer_state( );
+ yy_init_buffer( YY_CURRENT_BUFFER, input_file );
+ yy_load_buffer_state( );
}
/** Switch to a different input buffer.
@@ -4721,7 +4345,7 @@ static int yy_get_next_buffer (void)
}
YY_CURRENT_BUFFER_LVALUE = new_buffer;
- yy_load_buffer_state( );
+ yy_load_buffer_state( );
/* We don't actually know whether we did this switch during
* EOF (yywrap()) processing, but the only time this flag
@@ -4745,11 +4369,11 @@ static void yy_load_buffer_state (void)
*
* @return the allocated buffer state.
*/
- YY_BUFFER_STATE yy_create_buffer (FILE * file, int size )
+ YY_BUFFER_STATE yy_create_buffer (FILE * file, yy_size_t size )
{
YY_BUFFER_STATE b;
- b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
+ b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
@@ -4758,13 +4382,13 @@ static void yy_load_buffer_state (void)
/* yy_ch_buf has to be 2 characters longer than the size given because
* we need to put in 2 end-of-buffer characters.
*/
- b->yy_ch_buf = (char *) yyalloc((yy_size_t) (b->yy_buf_size + 2) );
+ b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) );
if ( ! b->yy_ch_buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
b->yy_is_our_buffer = 1;
- yy_init_buffer(b,file );
+ yy_init_buffer( b, file );
return b;
}
@@ -4783,9 +4407,9 @@ static void yy_load_buffer_state (void)
YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
if ( b->yy_is_our_buffer )
- yyfree((void *) b->yy_ch_buf );
+ yyfree( (void *) b->yy_ch_buf );
- yyfree((void *) b );
+ yyfree( (void *) b );
}
/* Initializes or reinitializes a buffer.
@@ -4797,7 +4421,7 @@ static void yy_load_buffer_state (void)
{
int oerrno = errno;
- yy_flush_buffer(b );
+ yy_flush_buffer( b );
b->yy_input_file = file;
b->yy_fill_buffer = 1;
@@ -4840,7 +4464,7 @@ static void yy_load_buffer_state (void)
b->yy_buffer_status = YY_BUFFER_NEW;
if ( b == YY_CURRENT_BUFFER )
- yy_load_buffer_state( );
+ yy_load_buffer_state( );
}
/** Pushes the new state onto the stack. The new state becomes
@@ -4871,7 +4495,7 @@ void yypush_buffer_state (YY_BUFFER_STAT
YY_CURRENT_BUFFER_LVALUE = new_buffer;
/* copied from yy_switch_to_buffer. */
- yy_load_buffer_state( );
+ yy_load_buffer_state( );
(yy_did_buffer_switch_on_eof) = 1;
}
@@ -4890,7 +4514,7 @@ void yypop_buffer_state (void)
--(yy_buffer_stack_top);
if (YY_CURRENT_BUFFER) {
- yy_load_buffer_state( );
+ yy_load_buffer_state( );
(yy_did_buffer_switch_on_eof) = 1;
}
}
@@ -4957,11 +4581,11 @@ YY_BUFFER_STATE yy_scan_buffer (char *
/* They forgot to leave room for the EOB's. */
return NULL;
- b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) );
+ b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) );
if ( ! b )
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
- b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */
+ b->yy_buf_size = (size - 2); /* "- 2" to take care of EOB's */
b->yy_buf_pos = b->yy_ch_buf = base;
b->yy_is_our_buffer = 0;
b->yy_input_file = NULL;
@@ -4971,7 +4595,7 @@ YY_BUFFER_STATE yy_scan_buffer (char *
b->yy_fill_buffer = 0;
b->yy_buffer_status = YY_BUFFER_NEW;
- yy_switch_to_buffer(b );
+ yy_switch_to_buffer( b );
return b;
}
@@ -4987,7 +4611,7 @@ YY_BUFFER_STATE yy_scan_buffer (char *
YY_BUFFER_STATE yy_scan_string (const char * yystr )
{
- return yy_scan_bytes(yystr,strlen(yystr) );
+ return yy_scan_bytes( yystr, strlen(yystr) );
}
/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
@@ -5006,7 +4630,7 @@ YY_BUFFER_STATE yy_scan_bytes (const ch
/* Get memory for full buffer, including space for trailing EOB's. */
n = (yy_size_t) (_yybytes_len + 2);
- buf = (char *) yyalloc(n );
+ buf = (char *) yyalloc( n );
if ( ! buf )
YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
@@ -5015,7 +4639,7 @@ YY_BUFFER_STATE yy_scan_bytes (const ch
buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
- b = yy_scan_buffer(buf,n );
+ b = yy_scan_buffer( buf, n );
if ( ! b )
YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
@@ -5037,10 +4661,11 @@ YY_BUFFER_STATE yy_scan_bytes (const ch
new_size = (yy_size_t) (yy_start_stack_depth) * sizeof( int );
if ( ! (yy_start_stack) )
- (yy_start_stack) = (int *) yyalloc(new_size );
+ (yy_start_stack) = (int *) yyalloc( new_size );
else
- (yy_start_stack) = (int *) yyrealloc((void *) (yy_start_stack),new_size );
+ (yy_start_stack) = (int *) yyrealloc(
+ (void *) (yy_start_stack), new_size );
if ( ! (yy_start_stack) )
YY_FATAL_ERROR( "out of memory expanding start-condition stack" );
@@ -5204,7 +4829,7 @@ int yylex_destroy (void)
/* Pop the buffer stack, destroying each element. */
while(YY_CURRENT_BUFFER){
- yy_delete_buffer(YY_CURRENT_BUFFER );
+ yy_delete_buffer( YY_CURRENT_BUFFER );
YY_CURRENT_BUFFER_LVALUE = NULL;
yypop_buffer_state();
}
@@ -5214,7 +4839,7 @@ int yylex_destroy (void)
(yy_buffer_stack) = NULL;
/* Destroy the start condition stack. */
- yyfree((yy_start_stack) );
+ yyfree( (yy_start_stack) );
(yy_start_stack) = NULL;
/* Reset the globals. This is important in a non-reentrant scanner so the next time
@@ -5274,10 +4899,6 @@ void yyfree (void * ptr )
#define YYTABLES_NAME "yytables"
-#line 1018 "/p/netbsd/cvsroot/src/external/bsd/flex/dist/src/scan.l"
-
-
-
int yywrap(void)
{
if ( --num_input_files > 0 )
@@ -5290,7 +4911,6 @@ int yywrap(void)
return 1;
}
-
/* set_input_file - open the given file (if NULL, stdin) for scanning */
void set_input_file( char *file )