summaryrefslogtreecommitdiff
path: root/source4/heimdal/lib/com_err/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal/lib/com_err/parse.c')
-rw-r--r--source4/heimdal/lib/com_err/parse.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/source4/heimdal/lib/com_err/parse.c b/source4/heimdal/lib/com_err/parse.c
index 811133ceb1..cbb30765cb 100644
--- a/source4/heimdal/lib/com_err/parse.c
+++ b/source4/heimdal/lib/com_err/parse.c
@@ -16,7 +16,6 @@ static const char yysccsid[] = "@(#)yaccpar 1.9 (Berkeley) 02/21/93";
#define YYPURE 0
-#line 2 "parse.c"
/*
* Copyright (c) 1998 - 2000 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
@@ -67,7 +66,6 @@ extern char *yytext;
#define YYMALLOC malloc
#define YYFREE free
-#line 54 "parse.c"
#ifdef YYSTYPE
#undef YYSTYPE_IS_DECLARED
#define YYSTYPE_IS_DECLARED 1
@@ -79,7 +77,6 @@ typedef union {
int number;
} YYSTYPE;
#endif /* !YYSTYPE_IS_DECLARED */
-#line 82 "parse.c"
/* compatibility with bison */
#ifdef YYPARSE_PARAM
/* compatibility with FreeBSD */
@@ -273,7 +270,6 @@ YYSTYPE yylval;
/* variables for the parser stack */
static YYSTACKDATA yystack;
-#line 144 "parse.c"
static long
name2number(const char *str)
@@ -305,7 +301,6 @@ yyerror (char *s)
{
_lex_error_message ("%s\n", s);
}
-#line 308 "parse.c"
#if YYDEBUG
#include <stdio.h> /* needed for printf */
@@ -512,13 +507,11 @@ yyreduce:
switch (yyn)
{
case 5:
-#line 74 "parse.c"
{
id_str = yystack.l_mark[0].string;
}
break;
case 6:
-#line 80 "parse.c"
{
base_id = name2number(yystack.l_mark[0].string);
strlcpy(name, yystack.l_mark[0].string, sizeof(name));
@@ -526,7 +519,6 @@ case 6:
}
break;
case 7:
-#line 86 "parse.c"
{
base_id = name2number(yystack.l_mark[-1].string);
strlcpy(name, yystack.l_mark[0].string, sizeof(name));
@@ -535,13 +527,11 @@ case 7:
}
break;
case 10:
-#line 99 "parse.c"
{
number = yystack.l_mark[0].number;
}
break;
case 11:
-#line 103 "parse.c"
{
free(prefix);
asprintf (&prefix, "%s_", yystack.l_mark[0].string);
@@ -551,7 +541,6 @@ case 11:
}
break;
case 12:
-#line 111 "parse.c"
{
prefix = realloc(prefix, 1);
if (prefix == NULL)
@@ -560,7 +549,6 @@ case 12:
}
break;
case 13:
-#line 118 "parse.c"
{
struct error_code *ec = malloc(sizeof(*ec));
@@ -582,12 +570,10 @@ case 13:
}
break;
case 14:
-#line 138 "parse.c"
{
YYACCEPT;
}
break;
-#line 590 "parse.c"
}
yystack.s_mark -= yym;
yystate = *yystack.s_mark;