Update yacc and lex generated files

Use the FreeBSD 11.1 yacc and lex tools to generate the files.

Update #3472.
This commit is contained in:
Sebastian Huber
2018-08-28 12:00:46 +02:00
parent 100e66f560
commit fa3e012fc6
5 changed files with 632 additions and 812 deletions

View File

@@ -1,6 +1,8 @@
#line 2 "nslexer.c"
#line 3 "<stdout>"
#line 4 "nslexer.c"
#define YY_BUF_SIZE 1024
#define YY_INT_ALIGNED short int
/* A lexical scanner generated by flex */
@@ -171,7 +173,7 @@ typedef unsigned int flex_uint32_t;
/* Size of default input buffer. */
#ifndef YY_BUF_SIZE
#define YY_BUF_SIZE 1024
#define YY_BUF_SIZE 16384
#endif
/* The state buf must be large enough to hold one state per character in the main buffer.
@@ -531,8 +533,8 @@ int _nsyy_flex_debug = 0;
#define YY_MORE_ADJ 0
#define YY_RESTORE_YY_MORE_OFFSET
char *_nsyytext;
#line 1 "../../freebsd/lib/libc/net/nslexer.l"
#line 2 "../../freebsd/lib/libc/net/nslexer.l"
#line 1 "nslexer.l"
#line 2 "nslexer.l"
/* $NetBSD: nslexer.l,v 1.3 1999/01/25 00:16:17 lukem Exp $ */
/*-
@@ -581,7 +583,7 @@ static char *rcsid =
#include "nsparser.h"
#define YY_NO_INPUT 1
#line 585 "<stdout>"
#line 587 "nslexer.c"
#define INITIAL 0
@@ -761,10 +763,10 @@ YY_DECL
char *yy_cp, *yy_bp;
int yy_act;
#line 59 "../../freebsd/lib/libc/net/nslexer.l"
#line 59 "nslexer.l"
#line 768 "<stdout>"
#line 770 "nslexer.c"
if ( !(yy_init) )
{
@@ -859,59 +861,59 @@ do_action: /* This label is used only to access EOF actions. */
case 1:
YY_RULE_SETUP
#line 61 "../../freebsd/lib/libc/net/nslexer.l"
#line 61 "nslexer.l"
; /* skip whitespace */
YY_BREAK
case 2:
YY_RULE_SETUP
#line 63 "../../freebsd/lib/libc/net/nslexer.l"
#line 63 "nslexer.l"
; /* skip comments */
YY_BREAK
case 3:
/* rule 3 can match eol */
YY_RULE_SETUP
#line 65 "../../freebsd/lib/libc/net/nslexer.l"
#line 65 "nslexer.l"
; /* allow continuation */
YY_BREAK
case 4:
/* rule 4 can match eol */
YY_RULE_SETUP
#line 67 "../../freebsd/lib/libc/net/nslexer.l"
#line 67 "nslexer.l"
return NL;
YY_BREAK
case 5:
YY_RULE_SETUP
#line 69 "../../freebsd/lib/libc/net/nslexer.l"
#line 69 "nslexer.l"
return SUCCESS;
YY_BREAK
case 6:
YY_RULE_SETUP
#line 70 "../../freebsd/lib/libc/net/nslexer.l"
#line 70 "nslexer.l"
return UNAVAIL;
YY_BREAK
case 7:
YY_RULE_SETUP
#line 71 "../../freebsd/lib/libc/net/nslexer.l"
#line 71 "nslexer.l"
return NOTFOUND;
YY_BREAK
case 8:
YY_RULE_SETUP
#line 72 "../../freebsd/lib/libc/net/nslexer.l"
#line 72 "nslexer.l"
return TRYAGAIN;
YY_BREAK
case 9:
YY_RULE_SETUP
#line 74 "../../freebsd/lib/libc/net/nslexer.l"
#line 74 "nslexer.l"
return RETURN;
YY_BREAK
case 10:
YY_RULE_SETUP
#line 75 "../../freebsd/lib/libc/net/nslexer.l"
#line 75 "nslexer.l"
return CONTINUE;
YY_BREAK
case 11:
YY_RULE_SETUP
#line 77 "../../freebsd/lib/libc/net/nslexer.l"
#line 77 "nslexer.l"
{
char *p;
int i;
@@ -931,15 +933,15 @@ YY_RULE_SETUP
YY_BREAK
case 12:
YY_RULE_SETUP
#line 94 "../../freebsd/lib/libc/net/nslexer.l"
#line 94 "nslexer.l"
return _nsyytext[0];
YY_BREAK
case 13:
YY_RULE_SETUP
#line 96 "../../freebsd/lib/libc/net/nslexer.l"
#line 96 "nslexer.l"
ECHO;
YY_BREAK
#line 943 "<stdout>"
#line 945 "nslexer.c"
case YY_STATE_EOF(INITIAL):
yyterminate();
@@ -1904,7 +1906,7 @@ void _nsyyfree (void * ptr )
#define YYTABLES_NAME "yytables"
#line 96 "../../freebsd/lib/libc/net/nslexer.l"
#line 96 "nslexer.l"