Commit 6ee674ae authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Rename hack added. Don't redefine yyin and yylineno, since the Lex

file no longer uses "%option prefix".  Remove blank lines at end of
file.
parent d6ae22e6
%{
/*
* $Id: aux-item-def-parse.y,v 1.2 1999/04/02 19:56:55 ceder Exp $
* $Id: aux-item-def-parse.y,v 1.3 1999/04/02 20:11:26 ceder Exp $
* Copyright (C) 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -24,6 +24,48 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/* Rename hack from the automake 1.4 manual. */
#define yymaxdepth aid_maxdepth
#define yyparse aid_parse
#define yylex aid_lex
#define yyerror aid_error
#define yylval aid_lval
#define yychar aid_char
#define yydebug aid_debug
#define yypact aid_pact
#define yyr1 aid_r1
#define yyr2 aid_r2
#define yydef aid_def
#define yychk aid_chk
#define yypgo aid_pgo
#define yyact aid_act
#define yyexca aid_exca
#define yyerrflag aid_errflag
#define yynerrs aid_nerrs
#define yyps aid_ps
#define yypv aid_pv
#define yys aid_s
#define yy_yys aid_yys
#define yystate aid_state
#define yytmp aid_tmp
#define yyv aid_v
#define yy_yyv aid_yyv
#define yyval aid_val
#define yylloc aid_lloc
#define yyreds aid_reds
#define yytoks aid_toks
#define yylhs aid_yylhs
#define yylen aid_yylen
#define yydefred aid_yydefred
#define yydgoto aid_yydgoto
#define yysindex aid_yysindex
#define yyrindex aid_yyrindex
#define yygindex aid_yygindex
#define yytable aid_yytable
#define yycheck aid_yycheck
#define yyname aid_yyname
#define yyrule aid_yyrule
#ifdef HAVE_CONFIG_H
# include <config.h>
......@@ -75,8 +117,6 @@ static Bool errorFlag = FALSE;
else { def.clear_flags._f_ = 1; } \
}
#define yyin aux_item_def_in
#define yylineno aux_item_def_lineno
extern int yylex(void);
......@@ -481,5 +521,3 @@ void parse_aux_item_definitions(char *file)
}
*/
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment