Module Name: src
Committed By: christos
Date: Thu Oct 29 14:49:40 UTC 2009
Modified Files:
src/external/bsd/flex/dist: initscan.c
Log Message:
regen
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/flex/dist/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/initscan.c
diff -u src/external/bsd/flex/dist/initscan.c:1.3 src/external/bsd/flex/dist/initscan.c:1.4
--- src/external/bsd/flex/dist/initscan.c:1.3 Wed Oct 28 18:00:56 2009
+++ src/external/bsd/flex/dist/initscan.c Thu Oct 29 10:49:40 2009
@@ -1,5 +1,5 @@
-#line 3 "scan.c"
+#line 3 "<stdout>"
#define YY_INT_ALIGNED short int
@@ -26,6 +26,8 @@
/* end standard C headers. */
+/* $NetBSD: initscan.c,v 1.4 2009/10/29 14:49:40 christos Exp $ */
+
/* flex integer type definitions */
#ifndef FLEXINT_H
@@ -1874,9 +1876,10 @@
#define YY_MORE_ADJ (yy_more_len)
#define YY_RESTORE_YY_MORE_OFFSET
char *yytext;
-#line 1 "scan.l"
+#line 1 "/usr/src/external/bsd/flex/dist/scan.l"
+/* $NetBSD: initscan.c,v 1.4 2009/10/29 14:49:40 christos Exp $ */
/* scan.l - scanner for flex input -*-C-*- */
-#line 4 "scan.l"
+#line 6 "/usr/src/external/bsd/flex/dist/scan.l"
/* Copyright (c) 1990 The Regents of the University of California. */
/* All rights reserved. */
@@ -1944,7 +1947,7 @@
#define RETURNNAME \
if(yyleng < MAXLINE) \
{ \
- strcpy( nmstr, yytext ); \
+ strlcpy( nmstr, yytext, sizeof(nmstr) ); \
} \
else \
{ \
@@ -1976,7 +1979,7 @@
-#line 1977 "scan.c"
+#line 1983 "<stdout>"
#define INITIAL 0
#define SECT2 1
@@ -2058,8 +2061,12 @@
#endif
#endif
+#ifndef YY_NO_UNPUT
+
static void yyunput (int c,char *buf_ptr );
+#endif
+
#ifndef yytext_ptr
static void yy_flex_strncpy (char *,yyconst char *,int );
#endif
@@ -2107,7 +2114,7 @@
if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
{ \
int c = '*'; \
- int n; \
+ size_t n; \
for ( n = 0; n < max_size && \
(c = getc( yyin )) != EOF && c != '\n'; ++n ) \
buf[n] = (char) c; \
@@ -2192,7 +2199,7 @@
register char *yy_cp, *yy_bp;
register int yy_act;
-#line 131 "scan.l"
+#line 133 "/usr/src/external/bsd/flex/dist/scan.l"
static int bracelevel, didadef, indented_code;
static int doing_rule_action = false;
@@ -2203,7 +2210,7 @@
Char nmdef[MAXLINE];
-#line 2204 "scan.c"
+#line 2214 "<stdout>"
if ( !(yy_init) )
{
@@ -2280,7 +2287,9 @@
yy_find_action:
yy_current_state = *--(yy_state_ptr);
(yy_lp) = yy_accept[yy_current_state];
+#ifdef YY_USES_REJECT
find_rule: /* we branch to this label when backing up */
+#endif
for ( ; ; ) /* until we find what rule we matched */
{
if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] )
@@ -2305,33 +2314,33 @@
case 1:
YY_RULE_SETUP
-#line 142 "scan.l"
+#line 144 "/usr/src/external/bsd/flex/dist/scan.l"
indented_code = true; BEGIN(CODEBLOCK);
YY_BREAK
case 2:
YY_RULE_SETUP
-#line 143 "scan.l"
+#line 145 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO; yy_push_state( COMMENT );
YY_BREAK
case 3:
YY_RULE_SETUP
-#line 144 "scan.l"
+#line 146 "/usr/src/external/bsd/flex/dist/scan.l"
yy_push_state( LINEDIR );
YY_BREAK
case 4:
YY_RULE_SETUP
-#line 145 "scan.l"
+#line 147 "/usr/src/external/bsd/flex/dist/scan.l"
return SCDECL;
YY_BREAK
case 5:
YY_RULE_SETUP
-#line 146 "scan.l"
+#line 148 "/usr/src/external/bsd/flex/dist/scan.l"
return XSCDECL;
YY_BREAK
case 6:
/* rule 6 can match eol */
YY_RULE_SETUP
-#line 147 "scan.l"
+#line 149 "/usr/src/external/bsd/flex/dist/scan.l"
{
++linenum;
line_directive_out( (FILE *) 0, 1 );
@@ -2342,7 +2351,7 @@
case 7:
/* rule 7 can match eol */
YY_RULE_SETUP
-#line 153 "scan.l"
+#line 155 "/usr/src/external/bsd/flex/dist/scan.l"
{
brace_start_line = linenum;
++linenum;
@@ -2353,17 +2362,17 @@
YY_BREAK
case 8:
YY_RULE_SETUP
-#line 161 "scan.l"
+#line 163 "/usr/src/external/bsd/flex/dist/scan.l"
synerr( _("malformed '%top' directive") );
YY_BREAK
case 9:
YY_RULE_SETUP
-#line 163 "scan.l"
+#line 165 "/usr/src/external/bsd/flex/dist/scan.l"
/* discard */
YY_BREAK
case 10:
YY_RULE_SETUP
-#line 165 "scan.l"
+#line 167 "/usr/src/external/bsd/flex/dist/scan.l"
{
sectnum = 2;
bracelevel = 0;
@@ -2376,46 +2385,46 @@
case 11:
/* rule 11 can match eol */
YY_RULE_SETUP
-#line 174 "scan.l"
+#line 176 "/usr/src/external/bsd/flex/dist/scan.l"
yytext_is_array = false; ++linenum;
YY_BREAK
case 12:
/* rule 12 can match eol */
YY_RULE_SETUP
-#line 175 "scan.l"
+#line 177 "/usr/src/external/bsd/flex/dist/scan.l"
yytext_is_array = true; ++linenum;
YY_BREAK
case 13:
YY_RULE_SETUP
-#line 177 "scan.l"
+#line 179 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(OPTION); return OPTION_OP;
YY_BREAK
case 14:
/* rule 14 can match eol */
YY_RULE_SETUP
-#line 179 "scan.l"
+#line 181 "/usr/src/external/bsd/flex/dist/scan.l"
++linenum; /* ignore */
YY_BREAK
case 15:
/* rule 15 can match eol */
YY_RULE_SETUP
-#line 180 "scan.l"
+#line 182 "/usr/src/external/bsd/flex/dist/scan.l"
++linenum; /* ignore */
YY_BREAK
/* xgettext: no-c-format */
case 16:
/* rule 16 can match eol */
YY_RULE_SETUP
-#line 183 "scan.l"
+#line 185 "/usr/src/external/bsd/flex/dist/scan.l"
synerr( _( "unrecognized '%' directive" ) );
YY_BREAK
case 17:
YY_RULE_SETUP
-#line 185 "scan.l"
+#line 187 "/usr/src/external/bsd/flex/dist/scan.l"
{
if(yyleng < MAXLINE)
{
- strcpy( nmstr, yytext );
+ strlcpy( nmstr, yytext, sizeof(nmstr) );
}
else
{
@@ -2429,52 +2438,52 @@
YY_BREAK
case 18:
YY_RULE_SETUP
-#line 200 "scan.l"
+#line 202 "/usr/src/external/bsd/flex/dist/scan.l"
RETURNNAME;
YY_BREAK
case 19:
/* rule 19 can match eol */
YY_RULE_SETUP
-#line 201 "scan.l"
+#line 203 "/usr/src/external/bsd/flex/dist/scan.l"
++linenum; /* allows blank lines in section 1 */
YY_BREAK
case 20:
/* rule 20 can match eol */
YY_RULE_SETUP
-#line 202 "scan.l"
+#line 204 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO; ++linenum; /* maybe end of comment line */
YY_BREAK
case 21:
YY_RULE_SETUP
-#line 207 "scan.l"
+#line 209 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO; yy_pop_state();
YY_BREAK
case 22:
YY_RULE_SETUP
-#line 208 "scan.l"
+#line 210 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO;
YY_BREAK
case 23:
YY_RULE_SETUP
-#line 209 "scan.l"
+#line 211 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO_QSTART;
YY_BREAK
case 24:
YY_RULE_SETUP
-#line 210 "scan.l"
+#line 212 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO_QEND;
YY_BREAK
case 25:
YY_RULE_SETUP
-#line 211 "scan.l"
+#line 213 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO;
YY_BREAK
case 26:
/* rule 26 can match eol */
YY_RULE_SETUP
-#line 212 "scan.l"
+#line 214 "/usr/src/external/bsd/flex/dist/scan.l"
++linenum; ACTION_ECHO;
YY_BREAK
@@ -2482,41 +2491,41 @@
/* This is the same as COMMENT, but is discarded rather than output. */
case 27:
YY_RULE_SETUP
-#line 217 "scan.l"
+#line 219 "/usr/src/external/bsd/flex/dist/scan.l"
yy_pop_state();
YY_BREAK
case 28:
YY_RULE_SETUP
-#line 218 "scan.l"
+#line 220 "/usr/src/external/bsd/flex/dist/scan.l"
;
YY_BREAK
case 29:
YY_RULE_SETUP
-#line 219 "scan.l"
+#line 221 "/usr/src/external/bsd/flex/dist/scan.l"
;
YY_BREAK
case 30:
/* rule 30 can match eol */
YY_RULE_SETUP
-#line 220 "scan.l"
+#line 222 "/usr/src/external/bsd/flex/dist/scan.l"
++linenum;
YY_BREAK
case 31:
YY_RULE_SETUP
-#line 224 "scan.l"
+#line 226 "/usr/src/external/bsd/flex/dist/scan.l"
yy_pop_state();
YY_BREAK
case 32:
YY_RULE_SETUP
-#line 225 "scan.l"
+#line 227 "/usr/src/external/bsd/flex/dist/scan.l"
;
YY_BREAK
case 33:
/* rule 33 can match eol */
YY_RULE_SETUP
-#line 226 "scan.l"
+#line 228 "/usr/src/external/bsd/flex/dist/scan.l"
++linenum;
YY_BREAK
@@ -2524,17 +2533,17 @@
case 34:
/* rule 34 can match eol */
YY_RULE_SETUP
-#line 230 "scan.l"
+#line 232 "/usr/src/external/bsd/flex/dist/scan.l"
yy_pop_state();
YY_BREAK
case 35:
YY_RULE_SETUP
-#line 231 "scan.l"
+#line 233 "/usr/src/external/bsd/flex/dist/scan.l"
linenum = myctoi( yytext );
YY_BREAK
case 36:
YY_RULE_SETUP
-#line 233 "scan.l"
+#line 235 "/usr/src/external/bsd/flex/dist/scan.l"
{
flex_free( (void *) infilename );
infilename = copy_string( yytext + 1 );
@@ -2543,7 +2552,7 @@
YY_BREAK
case 37:
YY_RULE_SETUP
-#line 238 "scan.l"
+#line 240 "/usr/src/external/bsd/flex/dist/scan.l"
/* ignore spurious characters */
YY_BREAK
@@ -2551,28 +2560,28 @@
case 38:
/* rule 38 can match eol */
YY_RULE_SETUP
-#line 242 "scan.l"
+#line 244 "/usr/src/external/bsd/flex/dist/scan.l"
++linenum; BEGIN(INITIAL);
YY_BREAK
case 39:
YY_RULE_SETUP
-#line 244 "scan.l"
+#line 246 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO_QSTART;
YY_BREAK
case 40:
YY_RULE_SETUP
-#line 245 "scan.l"
+#line 247 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO_QEND;
YY_BREAK
case 41:
YY_RULE_SETUP
-#line 246 "scan.l"
+#line 248 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO;
YY_BREAK
case 42:
/* rule 42 can match eol */
YY_RULE_SETUP
-#line 248 "scan.l"
+#line 250 "/usr/src/external/bsd/flex/dist/scan.l"
{
++linenum;
ACTION_ECHO;
@@ -2584,7 +2593,7 @@
case 43:
YY_RULE_SETUP
-#line 257 "scan.l"
+#line 259 "/usr/src/external/bsd/flex/dist/scan.l"
{
if( --brace_depth == 0){
/* TODO: Matched. */
@@ -2595,7 +2604,7 @@
YY_BREAK
case 44:
YY_RULE_SETUP
-#line 265 "scan.l"
+#line 267 "/usr/src/external/bsd/flex/dist/scan.l"
{
brace_depth++;
buf_strnappend(&top_buf, yytext, yyleng);
@@ -2604,7 +2613,7 @@
case 45:
/* rule 45 can match eol */
YY_RULE_SETUP
-#line 270 "scan.l"
+#line 272 "/usr/src/external/bsd/flex/dist/scan.l"
{
++linenum;
buf_strnappend(&top_buf, yytext, yyleng);
@@ -2612,23 +2621,23 @@
YY_BREAK
case 46:
YY_RULE_SETUP
-#line 275 "scan.l"
+#line 277 "/usr/src/external/bsd/flex/dist/scan.l"
buf_strnappend(&top_buf, escaped_qstart, strlen(escaped_qstart));
YY_BREAK
case 47:
YY_RULE_SETUP
-#line 276 "scan.l"
+#line 278 "/usr/src/external/bsd/flex/dist/scan.l"
buf_strnappend(&top_buf, escaped_qend, strlen(escaped_qend));
YY_BREAK
case 48:
YY_RULE_SETUP
-#line 278 "scan.l"
+#line 280 "/usr/src/external/bsd/flex/dist/scan.l"
{
buf_strnappend(&top_buf, yytext, yyleng);
}
YY_BREAK
case YY_STATE_EOF(CODEBLOCK_MATCH_BRACE):
-#line 282 "scan.l"
+#line 284 "/usr/src/external/bsd/flex/dist/scan.l"
{
linenum = brace_start_line;
synerr(_("Unmatched '{'"));
@@ -2639,16 +2648,16 @@
case 49:
YY_RULE_SETUP
-#line 291 "scan.l"
+#line 293 "/usr/src/external/bsd/flex/dist/scan.l"
/* separates name and definition */
YY_BREAK
case 50:
YY_RULE_SETUP
-#line 293 "scan.l"
+#line 295 "/usr/src/external/bsd/flex/dist/scan.l"
{
if(yyleng < MAXLINE)
{
- strcpy( (char *) nmdef, yytext );
+ strlcpy( (char *) nmdef, yytext, sizeof(nmdef) );
}
else
{
@@ -2670,7 +2679,7 @@
case 51:
/* rule 51 can match eol */
YY_RULE_SETUP
-#line 315 "scan.l"
+#line 317 "/usr/src/external/bsd/flex/dist/scan.l"
{
if ( ! didadef )
synerr( _( "incomplete name definition" ) );
@@ -2683,42 +2692,42 @@
case 52:
/* rule 52 can match eol */
YY_RULE_SETUP
-#line 325 "scan.l"
+#line 327 "/usr/src/external/bsd/flex/dist/scan.l"
++linenum; BEGIN(INITIAL);
YY_BREAK
case 53:
YY_RULE_SETUP
-#line 326 "scan.l"
+#line 328 "/usr/src/external/bsd/flex/dist/scan.l"
option_sense = true;
YY_BREAK
case 54:
YY_RULE_SETUP
-#line 328 "scan.l"
+#line 330 "/usr/src/external/bsd/flex/dist/scan.l"
return '=';
YY_BREAK
case 55:
YY_RULE_SETUP
-#line 330 "scan.l"
+#line 332 "/usr/src/external/bsd/flex/dist/scan.l"
option_sense = ! option_sense;
YY_BREAK
case 56:
YY_RULE_SETUP
-#line 332 "scan.l"
+#line 334 "/usr/src/external/bsd/flex/dist/scan.l"
csize = option_sense ? 128 : 256;
YY_BREAK
case 57:
YY_RULE_SETUP
-#line 333 "scan.l"
+#line 335 "/usr/src/external/bsd/flex/dist/scan.l"
csize = option_sense ? 256 : 128;
YY_BREAK
case 58:
YY_RULE_SETUP
-#line 335 "scan.l"
+#line 337 "/usr/src/external/bsd/flex/dist/scan.l"
long_align = option_sense;
YY_BREAK
case 59:
YY_RULE_SETUP
-#line 336 "scan.l"
+#line 338 "/usr/src/external/bsd/flex/dist/scan.l"
{
ACTION_M4_IFDEF( "M4""_YY_ALWAYS_INTERACTIVE", option_sense );
interactive = option_sense;
@@ -2726,74 +2735,74 @@
YY_BREAK
case 60:
YY_RULE_SETUP
-#line 340 "scan.l"
+#line 342 "/usr/src/external/bsd/flex/dist/scan.l"
yytext_is_array = option_sense;
YY_BREAK
case 61:
YY_RULE_SETUP
-#line 341 "scan.l"
+#line 343 "/usr/src/external/bsd/flex/dist/scan.l"
ansi_func_defs = option_sense;
YY_BREAK
case 62:
YY_RULE_SETUP
-#line 342 "scan.l"
+#line 344 "/usr/src/external/bsd/flex/dist/scan.l"
ansi_func_protos = option_sense;
YY_BREAK
case 63:
YY_RULE_SETUP
-#line 343 "scan.l"
+#line 345 "/usr/src/external/bsd/flex/dist/scan.l"
backing_up_report = option_sense;
YY_BREAK
case 64:
YY_RULE_SETUP
-#line 344 "scan.l"
+#line 346 "/usr/src/external/bsd/flex/dist/scan.l"
interactive = ! option_sense;
YY_BREAK
case 65:
YY_RULE_SETUP
-#line 345 "scan.l"
+#line 347 "/usr/src/external/bsd/flex/dist/scan.l"
bison_bridge_lval = option_sense;
YY_BREAK
case 66:
YY_RULE_SETUP
-#line 346 "scan.l"
+#line 348 "/usr/src/external/bsd/flex/dist/scan.l"
{ if((bison_bridge_lloc = option_sense))
bison_bridge_lval = true;
}
YY_BREAK
case 67:
YY_RULE_SETUP
-#line 349 "scan.l"
+#line 351 "/usr/src/external/bsd/flex/dist/scan.l"
C_plus_plus = option_sense;
YY_BREAK
case 68:
YY_RULE_SETUP
-#line 350 "scan.l"
+#line 352 "/usr/src/external/bsd/flex/dist/scan.l"
sf_set_case_ins(!option_sense);
YY_BREAK
case 69:
YY_RULE_SETUP
-#line 351 "scan.l"
+#line 353 "/usr/src/external/bsd/flex/dist/scan.l"
sf_set_case_ins(option_sense);
YY_BREAK
case 70:
YY_RULE_SETUP
-#line 352 "scan.l"
+#line 354 "/usr/src/external/bsd/flex/dist/scan.l"
ddebug = option_sense;
YY_BREAK
case 71:
YY_RULE_SETUP
-#line 353 "scan.l"
+#line 355 "/usr/src/external/bsd/flex/dist/scan.l"
spprdflt = ! option_sense;
YY_BREAK
case 72:
YY_RULE_SETUP
-#line 354 "scan.l"
+#line 356 "/usr/src/external/bsd/flex/dist/scan.l"
useecs = option_sense;
YY_BREAK
case 73:
YY_RULE_SETUP
-#line 355 "scan.l"
+#line 357 "/usr/src/external/bsd/flex/dist/scan.l"
{
useecs = usemecs = false;
use_read = fullspd = true;
@@ -2801,7 +2810,7 @@
YY_BREAK
case 74:
YY_RULE_SETUP
-#line 359 "scan.l"
+#line 361 "/usr/src/external/bsd/flex/dist/scan.l"
{
useecs = usemecs = false;
use_read = fulltbl = true;
@@ -2809,27 +2818,27 @@
YY_BREAK
case 75:
YY_RULE_SETUP
-#line 363 "scan.l"
+#line 365 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_IFDEF("YY_NO_INPUT", ! option_sense);
YY_BREAK
case 76:
YY_RULE_SETUP
-#line 364 "scan.l"
+#line 366 "/usr/src/external/bsd/flex/dist/scan.l"
interactive = option_sense;
YY_BREAK
case 77:
YY_RULE_SETUP
-#line 365 "scan.l"
+#line 367 "/usr/src/external/bsd/flex/dist/scan.l"
lex_compat = option_sense;
YY_BREAK
case 78:
YY_RULE_SETUP
-#line 366 "scan.l"
+#line 368 "/usr/src/external/bsd/flex/dist/scan.l"
posix_compat = option_sense;
YY_BREAK
case 79:
YY_RULE_SETUP
-#line 367 "scan.l"
+#line 369 "/usr/src/external/bsd/flex/dist/scan.l"
{
ACTION_M4_IFDEF( "M4""_YY_MAIN", option_sense);
/* Override yywrap */
@@ -2839,12 +2848,12 @@
YY_BREAK
case 80:
YY_RULE_SETUP
-#line 373 "scan.l"
+#line 375 "/usr/src/external/bsd/flex/dist/scan.l"
usemecs = option_sense;
YY_BREAK
case 81:
YY_RULE_SETUP
-#line 374 "scan.l"
+#line 376 "/usr/src/external/bsd/flex/dist/scan.l"
{
ACTION_M4_IFDEF( "M4""_YY_NEVER_INTERACTIVE", option_sense );
interactive = !option_sense;
@@ -2852,237 +2861,237 @@
YY_BREAK
case 82:
YY_RULE_SETUP
-#line 378 "scan.l"
+#line 380 "/usr/src/external/bsd/flex/dist/scan.l"
performance_report += option_sense ? 1 : -1;
YY_BREAK
case 83:
YY_RULE_SETUP
-#line 379 "scan.l"
+#line 381 "/usr/src/external/bsd/flex/dist/scan.l"
yytext_is_array = ! option_sense;
YY_BREAK
case 84:
YY_RULE_SETUP
-#line 380 "scan.l"
+#line 382 "/usr/src/external/bsd/flex/dist/scan.l"
use_read = option_sense;
YY_BREAK
case 85:
YY_RULE_SETUP
-#line 381 "scan.l"
+#line 383 "/usr/src/external/bsd/flex/dist/scan.l"
reentrant = option_sense;
YY_BREAK
case 86:
YY_RULE_SETUP
-#line 382 "scan.l"
+#line 384 "/usr/src/external/bsd/flex/dist/scan.l"
reject_really_used = option_sense;
YY_BREAK
case 87:
YY_RULE_SETUP
-#line 383 "scan.l"
+#line 385 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF( "M4""_YY_STACK_USED", option_sense );
YY_BREAK
case 88:
YY_RULE_SETUP
-#line 384 "scan.l"
+#line 386 "/usr/src/external/bsd/flex/dist/scan.l"
do_stdinit = option_sense;
YY_BREAK
case 89:
YY_RULE_SETUP
-#line 385 "scan.l"
+#line 387 "/usr/src/external/bsd/flex/dist/scan.l"
use_stdout = option_sense;
YY_BREAK
case 90:
YY_RULE_SETUP
-#line 386 "scan.l"
+#line 388 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_IFDEF("YY_NO_UNISTD_H", ! option_sense);
YY_BREAK
case 91:
YY_RULE_SETUP
-#line 387 "scan.l"
+#line 389 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_UNPUT", ! option_sense);
YY_BREAK
case 92:
YY_RULE_SETUP
-#line 388 "scan.l"
+#line 390 "/usr/src/external/bsd/flex/dist/scan.l"
printstats = option_sense;
YY_BREAK
case 93:
YY_RULE_SETUP
-#line 389 "scan.l"
+#line 391 "/usr/src/external/bsd/flex/dist/scan.l"
nowarn = ! option_sense;
YY_BREAK
case 94:
YY_RULE_SETUP
-#line 390 "scan.l"
+#line 392 "/usr/src/external/bsd/flex/dist/scan.l"
do_yylineno = option_sense; ACTION_M4_IFDEF("M4""_YY_USE_LINENO", option_sense);
YY_BREAK
case 95:
YY_RULE_SETUP
-#line 391 "scan.l"
+#line 393 "/usr/src/external/bsd/flex/dist/scan.l"
yymore_really_used = option_sense;
YY_BREAK
case 96:
YY_RULE_SETUP
-#line 392 "scan.l"
+#line 394 "/usr/src/external/bsd/flex/dist/scan.l"
do_yywrap = option_sense;
YY_BREAK
case 97:
YY_RULE_SETUP
-#line 394 "scan.l"
+#line 396 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_PUSH_STATE", ! option_sense);
YY_BREAK
case 98:
YY_RULE_SETUP
-#line 395 "scan.l"
+#line 397 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_POP_STATE", ! option_sense);
YY_BREAK
case 99:
YY_RULE_SETUP
-#line 396 "scan.l"
+#line 398 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_TOP_STATE", ! option_sense);
YY_BREAK
case 100:
YY_RULE_SETUP
-#line 398 "scan.l"
+#line 400 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SCAN_BUFFER", ! option_sense);
YY_BREAK
case 101:
YY_RULE_SETUP
-#line 399 "scan.l"
+#line 401 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SCAN_BYTES", ! option_sense);
YY_BREAK
case 102:
YY_RULE_SETUP
-#line 400 "scan.l"
+#line 402 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SCAN_STRING", ! option_sense);
YY_BREAK
case 103:
YY_RULE_SETUP
-#line 402 "scan.l"
+#line 404 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_FLEX_ALLOC", ! option_sense);
YY_BREAK
case 104:
YY_RULE_SETUP
-#line 403 "scan.l"
+#line 405 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_FLEX_REALLOC", ! option_sense);
YY_BREAK
case 105:
YY_RULE_SETUP
-#line 404 "scan.l"
+#line 406 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_FLEX_FREE", ! option_sense);
YY_BREAK
case 106:
YY_RULE_SETUP
-#line 406 "scan.l"
+#line 408 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_DEBUG", ! option_sense);
YY_BREAK
case 107:
YY_RULE_SETUP
-#line 407 "scan.l"
+#line 409 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SET_DEBUG", ! option_sense);
YY_BREAK
case 108:
YY_RULE_SETUP
-#line 408 "scan.l"
+#line 410 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_EXTRA", ! option_sense);
YY_BREAK
case 109:
YY_RULE_SETUP
-#line 409 "scan.l"
+#line 411 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SET_EXTRA", ! option_sense);
YY_BREAK
case 110:
YY_RULE_SETUP
-#line 410 "scan.l"
+#line 412 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_LENG", ! option_sense);
YY_BREAK
case 111:
YY_RULE_SETUP
-#line 411 "scan.l"
+#line 413 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_TEXT", ! option_sense);
YY_BREAK
case 112:
YY_RULE_SETUP
-#line 412 "scan.l"
+#line 414 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_LINENO", ! option_sense);
YY_BREAK
case 113:
YY_RULE_SETUP
-#line 413 "scan.l"
+#line 415 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SET_LINENO", ! option_sense);
YY_BREAK
case 114:
YY_RULE_SETUP
-#line 414 "scan.l"
+#line 416 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_IN", ! option_sense);
YY_BREAK
case 115:
YY_RULE_SETUP
-#line 415 "scan.l"
+#line 417 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SET_IN", ! option_sense);
YY_BREAK
case 116:
YY_RULE_SETUP
-#line 416 "scan.l"
+#line 418 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_OUT", ! option_sense);
YY_BREAK
case 117:
YY_RULE_SETUP
-#line 417 "scan.l"
+#line 419 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SET_OUT", ! option_sense);
YY_BREAK
case 118:
YY_RULE_SETUP
-#line 418 "scan.l"
+#line 420 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_LVAL", ! option_sense);
YY_BREAK
case 119:
YY_RULE_SETUP
-#line 419 "scan.l"
+#line 421 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SET_LVAL", ! option_sense);
YY_BREAK
case 120:
YY_RULE_SETUP
-#line 420 "scan.l"
+#line 422 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_GET_LLOC", ! option_sense);
YY_BREAK
case 121:
YY_RULE_SETUP
-#line 421 "scan.l"
+#line 423 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_M4_IFDEF("M4""_YY_NO_SET_LLOC", ! option_sense);
YY_BREAK
case 122:
YY_RULE_SETUP
-#line 423 "scan.l"
+#line 425 "/usr/src/external/bsd/flex/dist/scan.l"
return OPT_EXTRA_TYPE;
YY_BREAK
case 123:
YY_RULE_SETUP
-#line 424 "scan.l"
+#line 426 "/usr/src/external/bsd/flex/dist/scan.l"
return OPT_OUTFILE;
YY_BREAK
case 124:
YY_RULE_SETUP
-#line 425 "scan.l"
+#line 427 "/usr/src/external/bsd/flex/dist/scan.l"
return OPT_PREFIX;
YY_BREAK
case 125:
YY_RULE_SETUP
-#line 426 "scan.l"
+#line 428 "/usr/src/external/bsd/flex/dist/scan.l"
return OPT_YYCLASS;
YY_BREAK
case 126:
YY_RULE_SETUP
-#line 427 "scan.l"
+#line 429 "/usr/src/external/bsd/flex/dist/scan.l"
return OPT_HEADER;
YY_BREAK
case 127:
YY_RULE_SETUP
-#line 428 "scan.l"
+#line 430 "/usr/src/external/bsd/flex/dist/scan.l"
return OPT_TABLES;
YY_BREAK
case 128:
YY_RULE_SETUP
-#line 429 "scan.l"
+#line 431 "/usr/src/external/bsd/flex/dist/scan.l"
{
tablesverify = option_sense;
if(!tablesext && option_sense)
@@ -3091,11 +3100,11 @@
YY_BREAK
case 129:
YY_RULE_SETUP
-#line 436 "scan.l"
+#line 438 "/usr/src/external/bsd/flex/dist/scan.l"
{
if(yyleng-1 < MAXLINE)
{
- strcpy( nmstr, yytext + 1 );
+ strlcpy( nmstr, yytext + 1, sizeof(nmstr) );
}
else
{
@@ -3108,7 +3117,7 @@
YY_BREAK
case 130:
YY_RULE_SETUP
-#line 450 "scan.l"
+#line 452 "/usr/src/external/bsd/flex/dist/scan.l"
{
format_synerr( _( "unrecognized %%option: %s" ),
yytext );
@@ -3119,28 +3128,28 @@
case 131:
/* rule 131 can match eol */
YY_RULE_SETUP
-#line 457 "scan.l"
+#line 459 "/usr/src/external/bsd/flex/dist/scan.l"
++linenum; BEGIN(INITIAL);
YY_BREAK
case 132:
YY_RULE_SETUP
-#line 461 "scan.l"
+#line 463 "/usr/src/external/bsd/flex/dist/scan.l"
++bracelevel; yyless( 2 ); /* eat only %{ */
YY_BREAK
case 133:
YY_RULE_SETUP
-#line 462 "scan.l"
+#line 464 "/usr/src/external/bsd/flex/dist/scan.l"
--bracelevel; yyless( 2 ); /* eat only %} */
YY_BREAK
case 134:
YY_RULE_SETUP
-#line 464 "scan.l"
+#line 466 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO; /* indented code in prolog */
YY_BREAK
case 135:
YY_RULE_SETUP
-#line 466 "scan.l"
+#line 468 "/usr/src/external/bsd/flex/dist/scan.l"
{ /* non-indented code */
if ( bracelevel <= 0 )
{ /* not in %{ ... %} */
@@ -3155,17 +3164,17 @@
YY_BREAK
case 136:
YY_RULE_SETUP
-#line 478 "scan.l"
+#line 480 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO;
YY_BREAK
case 137:
/* rule 137 can match eol */
YY_RULE_SETUP
-#line 479 "scan.l"
+#line 481 "/usr/src/external/bsd/flex/dist/scan.l"
++linenum; ACTION_ECHO;
YY_BREAK
case YY_STATE_EOF(SECT2PROLOG):
-#line 481 "scan.l"
+#line 483 "/usr/src/external/bsd/flex/dist/scan.l"
{
mark_prolog();
sectnum = 0;
@@ -3177,12 +3186,12 @@
case 138:
/* rule 138 can match eol */
YY_RULE_SETUP
-#line 489 "scan.l"
+#line 491 "/usr/src/external/bsd/flex/dist/scan.l"
++linenum; /* allow blank lines in section 2 */
YY_BREAK
case 139:
YY_RULE_SETUP
-#line 491 "scan.l"
+#line 493 "/usr/src/external/bsd/flex/dist/scan.l"
{
indented_code = false;
doing_codeblock = true;
@@ -3192,7 +3201,7 @@
YY_BREAK
case 140:
YY_RULE_SETUP
-#line 498 "scan.l"
+#line 500 "/usr/src/external/bsd/flex/dist/scan.l"
{
/* Allow "<" to appear in (?x) patterns. */
if (!sf_skip_ws())
@@ -3202,12 +3211,12 @@
YY_BREAK
case 141:
YY_RULE_SETUP
-#line 504 "scan.l"
+#line 506 "/usr/src/external/bsd/flex/dist/scan.l"
return '^';
YY_BREAK
case 142:
YY_RULE_SETUP
-#line 505 "scan.l"
+#line 507 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(QUOTE); return '"';
YY_BREAK
case 143:
@@ -3215,7 +3224,7 @@
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 506 "scan.l"
+#line 508 "/usr/src/external/bsd/flex/dist/scan.l"
{
BEGIN(NUM);
if ( lex_compat || posix_compat )
@@ -3230,12 +3239,12 @@
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 513 "scan.l"
+#line 515 "/usr/src/external/bsd/flex/dist/scan.l"
return '$';
YY_BREAK
case 145:
YY_RULE_SETUP
-#line 515 "scan.l"
+#line 517 "/usr/src/external/bsd/flex/dist/scan.l"
{
bracelevel = 1;
BEGIN(PERCENT_BRACE_ACTION);
@@ -3251,7 +3260,7 @@
case 146:
/* rule 146 can match eol */
YY_RULE_SETUP
-#line 526 "scan.l"
+#line 528 "/usr/src/external/bsd/flex/dist/scan.l"
{
if (sf_skip_ws()){
/* We're in the middle of a (?x: ) pattern. */
@@ -3269,7 +3278,7 @@
YY_BREAK
case 147:
YY_RULE_SETUP
-#line 541 "scan.l"
+#line 543 "/usr/src/external/bsd/flex/dist/scan.l"
{
if (sf_skip_ws()){
@@ -3286,12 +3295,12 @@
YY_BREAK
case 148:
YY_RULE_SETUP
-#line 555 "scan.l"
+#line 557 "/usr/src/external/bsd/flex/dist/scan.l"
/* allow indented rules */ ;
YY_BREAK
case 149:
YY_RULE_SETUP
-#line 557 "scan.l"
+#line 559 "/usr/src/external/bsd/flex/dist/scan.l"
{
if (sf_skip_ws()){
/* We're in the middle of a (?x: ) pattern. */
@@ -3317,7 +3326,7 @@
case 150:
/* rule 150 can match eol */
YY_RULE_SETUP
-#line 579 "scan.l"
+#line 581 "/usr/src/external/bsd/flex/dist/scan.l"
{
if (sf_skip_ws()){
/* We're in the middle of a (?x: ) pattern. */
@@ -3339,15 +3348,15 @@
}
YY_BREAK
case 151:
-#line 600 "scan.l"
+#line 602 "/usr/src/external/bsd/flex/dist/scan.l"
case 152:
YY_RULE_SETUP
-#line 600 "scan.l"
+#line 602 "/usr/src/external/bsd/flex/dist/scan.l"
return EOF_OP;
YY_BREAK
case 153:
YY_RULE_SETUP
-#line 602 "scan.l"
+#line 604 "/usr/src/external/bsd/flex/dist/scan.l"
{
sectnum = 3;
BEGIN(SECT3);
@@ -3357,13 +3366,13 @@
YY_BREAK
case 154:
YY_RULE_SETUP
-#line 609 "scan.l"
+#line 611 "/usr/src/external/bsd/flex/dist/scan.l"
{
int cclval;
if(yyleng < MAXLINE)
{
- strcpy( nmstr, yytext );
+ strlcpy( nmstr, yytext, sizeof(nmstr) );
}
else
{
@@ -3407,12 +3416,12 @@
YY_BREAK
case 155:
YY_RULE_SETUP
-#line 655 "scan.l"
+#line 657 "/usr/src/external/bsd/flex/dist/scan.l"
return CCL_OP_DIFF;
YY_BREAK
case 156:
YY_RULE_SETUP
-#line 656 "scan.l"
+#line 658 "/usr/src/external/bsd/flex/dist/scan.l"
return CCL_OP_UNION;
YY_BREAK
/* Check for :space: at the end of the rule so we don't
@@ -3422,7 +3431,7 @@
case 157:
/* rule 157 can match eol */
YY_RULE_SETUP
-#line 663 "scan.l"
+#line 665 "/usr/src/external/bsd/flex/dist/scan.l"
{
register Char *nmdefptr;
int end_is_ws, end_ch;
@@ -3432,7 +3441,7 @@
if(yyleng-1 < MAXLINE)
{
- strcpy( nmstr, yytext + 1 );
+ strlcpy( nmstr, yytext + 1, sizeof(nmstr) );
}
else
{
@@ -3473,7 +3482,7 @@
YY_BREAK
case 158:
YY_RULE_SETUP
-#line 711 "scan.l"
+#line 713 "/usr/src/external/bsd/flex/dist/scan.l"
{
if (sf_skip_ws())
yy_push_state(COMMENT_DISCARD);
@@ -3486,7 +3495,7 @@
YY_BREAK
case 159:
YY_RULE_SETUP
-#line 721 "scan.l"
+#line 723 "/usr/src/external/bsd/flex/dist/scan.l"
{
if (lex_compat || posix_compat){
/* Push back the "?#" and treat it like a normal parens. */
@@ -3500,7 +3509,7 @@
YY_BREAK
case 160:
YY_RULE_SETUP
-#line 731 "scan.l"
+#line 733 "/usr/src/external/bsd/flex/dist/scan.l"
{
sf_push();
if (lex_compat || posix_compat)
@@ -3513,22 +3522,22 @@
YY_BREAK
case 161:
YY_RULE_SETUP
-#line 740 "scan.l"
+#line 742 "/usr/src/external/bsd/flex/dist/scan.l"
sf_push(); return '(';
YY_BREAK
case 162:
YY_RULE_SETUP
-#line 741 "scan.l"
+#line 743 "/usr/src/external/bsd/flex/dist/scan.l"
sf_pop(); return ')';
YY_BREAK
case 163:
YY_RULE_SETUP
-#line 743 "scan.l"
+#line 745 "/usr/src/external/bsd/flex/dist/scan.l"
return (unsigned char) yytext[0];
YY_BREAK
case 164:
YY_RULE_SETUP
-#line 744 "scan.l"
+#line 746 "/usr/src/external/bsd/flex/dist/scan.l"
RETURNCHAR;
YY_BREAK
@@ -3536,17 +3545,17 @@
case 165:
/* rule 165 can match eol */
YY_RULE_SETUP
-#line 749 "scan.l"
+#line 751 "/usr/src/external/bsd/flex/dist/scan.l"
++linenum; /* Allow blank lines & continuations */
YY_BREAK
case 166:
YY_RULE_SETUP
-#line 750 "scan.l"
+#line 752 "/usr/src/external/bsd/flex/dist/scan.l"
return (unsigned char) yytext[0];
YY_BREAK
case 167:
YY_RULE_SETUP
-#line 751 "scan.l"
+#line 753 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(SECT2); return '>';
YY_BREAK
case 168:
@@ -3554,17 +3563,17 @@
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 752 "scan.l"
+#line 754 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CARETISBOL); return '>';
YY_BREAK
case 169:
YY_RULE_SETUP
-#line 753 "scan.l"
+#line 755 "/usr/src/external/bsd/flex/dist/scan.l"
RETURNNAME;
YY_BREAK
case 170:
YY_RULE_SETUP
-#line 754 "scan.l"
+#line 756 "/usr/src/external/bsd/flex/dist/scan.l"
{
format_synerr( _( "bad <start condition>: %s" ),
yytext );
@@ -3573,24 +3582,24 @@
case 171:
YY_RULE_SETUP
-#line 760 "scan.l"
+#line 762 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(SECT2); return '^';
YY_BREAK
case 172:
YY_RULE_SETUP
-#line 764 "scan.l"
+#line 766 "/usr/src/external/bsd/flex/dist/scan.l"
RETURNCHAR;
YY_BREAK
case 173:
YY_RULE_SETUP
-#line 765 "scan.l"
+#line 767 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(SECT2); return '"';
YY_BREAK
case 174:
/* rule 174 can match eol */
YY_RULE_SETUP
-#line 767 "scan.l"
+#line 769 "/usr/src/external/bsd/flex/dist/scan.l"
{
synerr( _( "missing quote" ) );
BEGIN(SECT2);
@@ -3602,49 +3611,49 @@
case 175:
YY_RULE_SETUP
-#line 776 "scan.l"
+#line 778 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(SECT2);
YY_BREAK
case 176:
YY_RULE_SETUP
-#line 777 "scan.l"
+#line 779 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(GROUP_MINUS_PARAMS);
YY_BREAK
case 177:
YY_RULE_SETUP
-#line 778 "scan.l"
+#line 780 "/usr/src/external/bsd/flex/dist/scan.l"
sf_set_case_ins(1);
YY_BREAK
case 178:
YY_RULE_SETUP
-#line 779 "scan.l"
+#line 781 "/usr/src/external/bsd/flex/dist/scan.l"
sf_set_dot_all(1);
YY_BREAK
case 179:
YY_RULE_SETUP
-#line 780 "scan.l"
+#line 782 "/usr/src/external/bsd/flex/dist/scan.l"
sf_set_skip_ws(1);
YY_BREAK
case 180:
YY_RULE_SETUP
-#line 783 "scan.l"
+#line 785 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(SECT2);
YY_BREAK
case 181:
YY_RULE_SETUP
-#line 784 "scan.l"
+#line 786 "/usr/src/external/bsd/flex/dist/scan.l"
sf_set_case_ins(0);
YY_BREAK
case 182:
YY_RULE_SETUP
-#line 785 "scan.l"
+#line 787 "/usr/src/external/bsd/flex/dist/scan.l"
sf_set_dot_all(0);
YY_BREAK
case 183:
YY_RULE_SETUP
-#line 786 "scan.l"
+#line 788 "/usr/src/external/bsd/flex/dist/scan.l"
sf_set_skip_ws(0);
YY_BREAK
@@ -3654,7 +3663,7 @@
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 790 "scan.l"
+#line 792 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return '^';
YY_BREAK
case 185:
@@ -3662,12 +3671,12 @@
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 791 "scan.l"
+#line 793 "/usr/src/external/bsd/flex/dist/scan.l"
return '^';
YY_BREAK
case 186:
YY_RULE_SETUP
-#line 792 "scan.l"
+#line 794 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); RETURNCHAR;
YY_BREAK
@@ -3677,23 +3686,23 @@
(yy_c_buf_p) = yy_cp = yy_bp + 1;
YY_DO_BEFORE_ACTION; /* set up yytext again */
YY_RULE_SETUP
-#line 796 "scan.l"
+#line 798 "/usr/src/external/bsd/flex/dist/scan.l"
return '-';
YY_BREAK
case 188:
YY_RULE_SETUP
-#line 797 "scan.l"
+#line 799 "/usr/src/external/bsd/flex/dist/scan.l"
RETURNCHAR;
YY_BREAK
case 189:
YY_RULE_SETUP
-#line 798 "scan.l"
+#line 800 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(SECT2); return ']';
YY_BREAK
case 190:
/* rule 190 can match eol */
YY_RULE_SETUP
-#line 799 "scan.l"
+#line 801 "/usr/src/external/bsd/flex/dist/scan.l"
{
synerr( _( "bad character class" ) );
BEGIN(SECT2);
@@ -3704,127 +3713,127 @@
case 191:
YY_RULE_SETUP
-#line 807 "scan.l"
+#line 809 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_ALNUM;
YY_BREAK
case 192:
YY_RULE_SETUP
-#line 808 "scan.l"
+#line 810 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_ALPHA;
YY_BREAK
case 193:
YY_RULE_SETUP
-#line 809 "scan.l"
+#line 811 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_BLANK;
YY_BREAK
case 194:
YY_RULE_SETUP
-#line 810 "scan.l"
+#line 812 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_CNTRL;
YY_BREAK
case 195:
YY_RULE_SETUP
-#line 811 "scan.l"
+#line 813 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_DIGIT;
YY_BREAK
case 196:
YY_RULE_SETUP
-#line 812 "scan.l"
+#line 814 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_GRAPH;
YY_BREAK
case 197:
YY_RULE_SETUP
-#line 813 "scan.l"
+#line 815 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_LOWER;
YY_BREAK
case 198:
YY_RULE_SETUP
-#line 814 "scan.l"
+#line 816 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_PRINT;
YY_BREAK
case 199:
YY_RULE_SETUP
-#line 815 "scan.l"
+#line 817 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_PUNCT;
YY_BREAK
case 200:
YY_RULE_SETUP
-#line 816 "scan.l"
+#line 818 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_SPACE;
YY_BREAK
case 201:
YY_RULE_SETUP
-#line 817 "scan.l"
+#line 819 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_UPPER;
YY_BREAK
case 202:
YY_RULE_SETUP
-#line 818 "scan.l"
+#line 820 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_XDIGIT;
YY_BREAK
case 203:
YY_RULE_SETUP
-#line 820 "scan.l"
+#line 822 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_NEG_ALNUM;
YY_BREAK
case 204:
YY_RULE_SETUP
-#line 821 "scan.l"
+#line 823 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_NEG_ALPHA;
YY_BREAK
case 205:
YY_RULE_SETUP
-#line 822 "scan.l"
+#line 824 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_NEG_BLANK;
YY_BREAK
case 206:
YY_RULE_SETUP
-#line 823 "scan.l"
+#line 825 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_NEG_CNTRL;
YY_BREAK
case 207:
YY_RULE_SETUP
-#line 824 "scan.l"
+#line 826 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_NEG_DIGIT;
YY_BREAK
case 208:
YY_RULE_SETUP
-#line 825 "scan.l"
+#line 827 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_NEG_GRAPH;
YY_BREAK
case 209:
YY_RULE_SETUP
-#line 826 "scan.l"
+#line 828 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_NEG_LOWER;
YY_BREAK
case 210:
YY_RULE_SETUP
-#line 827 "scan.l"
+#line 829 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_NEG_PRINT;
YY_BREAK
case 211:
YY_RULE_SETUP
-#line 828 "scan.l"
+#line 830 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_NEG_PUNCT;
YY_BREAK
case 212:
YY_RULE_SETUP
-#line 829 "scan.l"
+#line 831 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_NEG_SPACE;
YY_BREAK
case 213:
YY_RULE_SETUP
-#line 830 "scan.l"
+#line 832 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_NEG_UPPER;
YY_BREAK
case 214:
YY_RULE_SETUP
-#line 831 "scan.l"
+#line 833 "/usr/src/external/bsd/flex/dist/scan.l"
BEGIN(CCL); return CCE_NEG_XDIGIT;
YY_BREAK
case 215:
YY_RULE_SETUP
-#line 832 "scan.l"
+#line 834 "/usr/src/external/bsd/flex/dist/scan.l"
{
format_synerr(
_( "bad character class expression: %s" ),
@@ -3836,7 +3845,7 @@
case 216:
YY_RULE_SETUP
-#line 841 "scan.l"
+#line 843 "/usr/src/external/bsd/flex/dist/scan.l"
{
yylval = myctoi( yytext );
return NUMBER;
@@ -3844,12 +3853,12 @@
YY_BREAK
case 217:
YY_RULE_SETUP
-#line 846 "scan.l"
+#line 848 "/usr/src/external/bsd/flex/dist/scan.l"
return ',';
YY_BREAK
case 218:
YY_RULE_SETUP
-#line 847 "scan.l"
+#line 849 "/usr/src/external/bsd/flex/dist/scan.l"
{
BEGIN(SECT2);
if ( lex_compat || posix_compat )
@@ -3860,7 +3869,7 @@
YY_BREAK
case 219:
YY_RULE_SETUP
-#line 855 "scan.l"
+#line 857 "/usr/src/external/bsd/flex/dist/scan.l"
{
synerr( _( "bad character inside {}'s" ) );
BEGIN(SECT2);
@@ -3870,7 +3879,7 @@
case 220:
/* rule 220 can match eol */
YY_RULE_SETUP
-#line 861 "scan.l"
+#line 863 "/usr/src/external/bsd/flex/dist/scan.l"
{
synerr( _( "missing }" ) );
BEGIN(SECT2);
@@ -3882,18 +3891,18 @@
case 221:
YY_RULE_SETUP
-#line 871 "scan.l"
+#line 873 "/usr/src/external/bsd/flex/dist/scan.l"
bracelevel = 0;
YY_BREAK
case 222:
YY_RULE_SETUP
-#line 873 "scan.l"
+#line 875 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO; yy_push_state( COMMENT );
YY_BREAK
case 223:
YY_RULE_SETUP
-#line 876 "scan.l"
+#line 878 "/usr/src/external/bsd/flex/dist/scan.l"
{
ACTION_ECHO;
CHECK_REJECT(yytext);
@@ -3901,7 +3910,7 @@
YY_BREAK
case 224:
YY_RULE_SETUP
-#line 880 "scan.l"
+#line 882 "/usr/src/external/bsd/flex/dist/scan.l"
{
ACTION_ECHO;
CHECK_YYMORE(yytext);
@@ -3910,23 +3919,23 @@
case 225:
YY_RULE_SETUP
-#line 886 "scan.l"
+#line 888 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO_QEND;
YY_BREAK
case 226:
YY_RULE_SETUP
-#line 887 "scan.l"
+#line 889 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO_QEND;
YY_BREAK
case 227:
YY_RULE_SETUP
-#line 888 "scan.l"
+#line 890 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO;
YY_BREAK
case 228:
/* rule 228 can match eol */
YY_RULE_SETUP
-#line 889 "scan.l"
+#line 891 "/usr/src/external/bsd/flex/dist/scan.l"
{
++linenum;
ACTION_ECHO;
@@ -3946,53 +3955,53 @@
case 229:
YY_RULE_SETUP
-#line 907 "scan.l"
+#line 909 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO; ++bracelevel;
YY_BREAK
case 230:
YY_RULE_SETUP
-#line 908 "scan.l"
+#line 910 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO; --bracelevel;
YY_BREAK
case 231:
YY_RULE_SETUP
-#line 909 "scan.l"
+#line 911 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO_QEND;
YY_BREAK
case 232:
YY_RULE_SETUP
-#line 910 "scan.l"
+#line 912 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO_QEND;
YY_BREAK
case 233:
YY_RULE_SETUP
-#line 911 "scan.l"
+#line 913 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO;
YY_BREAK
case 234:
YY_RULE_SETUP
-#line 912 "scan.l"
+#line 914 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO;
YY_BREAK
case 235:
YY_RULE_SETUP
-#line 913 "scan.l"
+#line 915 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO;
YY_BREAK
case 236:
YY_RULE_SETUP
-#line 914 "scan.l"
+#line 916 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO; /* character constant */
YY_BREAK
case 237:
YY_RULE_SETUP
-#line 915 "scan.l"
+#line 917 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO; BEGIN(ACTION_STRING);
YY_BREAK
case 238:
/* rule 238 can match eol */
YY_RULE_SETUP
-#line 916 "scan.l"
+#line 918 "/usr/src/external/bsd/flex/dist/scan.l"
{
++linenum;
ACTION_ECHO;
@@ -4008,35 +4017,35 @@
YY_BREAK
case 239:
YY_RULE_SETUP
-#line 928 "scan.l"
+#line 930 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO;
YY_BREAK
case 240:
YY_RULE_SETUP
-#line 932 "scan.l"
+#line 934 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO;
YY_BREAK
case 241:
YY_RULE_SETUP
-#line 933 "scan.l"
+#line 935 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO;
YY_BREAK
case 242:
/* rule 242 can match eol */
YY_RULE_SETUP
-#line 934 "scan.l"
+#line 936 "/usr/src/external/bsd/flex/dist/scan.l"
++linenum; ACTION_ECHO; BEGIN(ACTION);
YY_BREAK
case 243:
YY_RULE_SETUP
-#line 935 "scan.l"
+#line 937 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO; BEGIN(ACTION);
YY_BREAK
case 244:
YY_RULE_SETUP
-#line 936 "scan.l"
+#line 938 "/usr/src/external/bsd/flex/dist/scan.l"
ACTION_ECHO;
YY_BREAK
@@ -4044,7 +4053,7 @@
case YY_STATE_EOF(COMMENT_DISCARD):
case YY_STATE_EOF(ACTION):
case YY_STATE_EOF(ACTION_STRING):
-#line 939 "scan.l"
+#line 941 "/usr/src/external/bsd/flex/dist/scan.l"
{
synerr( _( "EOF encountered inside an action" ) );
yyterminate();
@@ -4053,7 +4062,7 @@
case YY_STATE_EOF(EXTENDED_COMMENT):
case YY_STATE_EOF(GROUP_WITH_PARAMS):
case YY_STATE_EOF(GROUP_MINUS_PARAMS):
-#line 944 "scan.l"
+#line 946 "/usr/src/external/bsd/flex/dist/scan.l"
{
synerr( _( "EOF encountered inside pattern" ) );
yyterminate();
@@ -4061,7 +4070,7 @@
YY_BREAK
case 245:
YY_RULE_SETUP
-#line 949 "scan.l"
+#line 951 "/usr/src/external/bsd/flex/dist/scan.l"
{
yylval = myesc( (Char *) yytext );
@@ -4074,43 +4083,43 @@
case 246:
YY_RULE_SETUP
-#line 960 "scan.l"
+#line 962 "/usr/src/external/bsd/flex/dist/scan.l"
fwrite (escaped_qstart, 1, strlen(escaped_qstart), yyout);
YY_BREAK
case 247:
YY_RULE_SETUP
-#line 961 "scan.l"
+#line 963 "/usr/src/external/bsd/flex/dist/scan.l"
fwrite (escaped_qend, 1, strlen(escaped_qend), yyout);
YY_BREAK
case 248:
/* rule 248 can match eol */
YY_RULE_SETUP
-#line 962 "scan.l"
+#line 964 "/usr/src/external/bsd/flex/dist/scan.l"
ECHO;
YY_BREAK
case 249:
/* rule 249 can match eol */
YY_RULE_SETUP
-#line 963 "scan.l"
+#line 965 "/usr/src/external/bsd/flex/dist/scan.l"
ECHO;
YY_BREAK
case YY_STATE_EOF(SECT3):
-#line 964 "scan.l"
+#line 966 "/usr/src/external/bsd/flex/dist/scan.l"
sectnum = 0; yyterminate();
YY_BREAK
case 250:
/* rule 250 can match eol */
YY_RULE_SETUP
-#line 967 "scan.l"
+#line 969 "/usr/src/external/bsd/flex/dist/scan.l"
format_synerr( _( "bad character: %s" ), yytext );
YY_BREAK
case 251:
YY_RULE_SETUP
-#line 969 "scan.l"
+#line 971 "/usr/src/external/bsd/flex/dist/scan.l"
YY_FATAL_ERROR( "flex scanner jammed" );
YY_BREAK
-#line 4111 "scan.c"
+#line 4123 "<stdout>"
case YY_STATE_EOF(INITIAL):
case YY_STATE_EOF(SECT2):
case YY_STATE_EOF(CODEBLOCK):
@@ -4419,6 +4428,8 @@
return yy_is_jam ? 0 : yy_current_state;
}
+#ifndef YY_NO_UNPUT
+
static void yyunput (int c, register char * yy_bp )
{
register char *yy_cp;
@@ -4456,6 +4467,8 @@
(yy_c_buf_p) = yy_cp;
}
+#endif
+
#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput (void)
@@ -5138,7 +5151,7 @@
#define YYTABLES_NAME "yytables"
-#line 969 "scan.l"
+#line 971 "/usr/src/external/bsd/flex/dist/scan.l"