From d88dfdfaa3a3f6da34b051535b6225eb8194e639 Mon Sep 17 00:00:00 2001 From: calvin Date: Thu, 13 Feb 2003 18:32:49 +0000 Subject: [PATCH] recompile with bison 1.875a git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@793 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkcheck/parser/htmlparse.c | 28 +++++++--------------------- linkcheck/parser/htmlparse.h | 4 ++-- 2 files changed, 9 insertions(+), 23 deletions(-) diff --git a/linkcheck/parser/htmlparse.c b/linkcheck/parser/htmlparse.c index aab8c1e2..595e4e62 100644 --- a/linkcheck/parser/htmlparse.c +++ b/linkcheck/parser/htmlparse.c @@ -1,7 +1,7 @@ -/* A Bison parser, made by GNU Bison 1.875. */ +/* A Bison parser, made by GNU Bison 1.875a. */ /* Skeleton parser for Yacc-like parsing with Bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -187,7 +187,7 @@ typedef int YYSTYPE; /* Line 214 of yacc.c. */ -#line 190 "htmlparse.c" +#line 191 "htmlparse.c" #if ! defined (yyoverflow) || YYERROR_VERBOSE @@ -480,6 +480,7 @@ static const unsigned char yystos[] = #define YYABORT goto yyabortlab #define YYERROR goto yyerrlab1 + /* Like YYERROR except do call yyerror. This remains here temporarily to ease the transition to the new meaning of YYERROR, for GCC. Once GCC version 2 has supplanted version 1, this can go. */ @@ -1484,8 +1485,8 @@ finish_characters: } -/* Line 991 of yacc.c. */ -#line 1488 "htmlparse.c" +/* Line 999 of yacc.c. */ +#line 1490 "htmlparse.c" yyvsp -= yylen; yyssp -= yylen; @@ -1599,28 +1600,13 @@ yyerrlab: /* Else will try to reuse lookahead token after shifting the error token. */ - goto yyerrlab2; + goto yyerrlab1; /*----------------------------------------------------. | yyerrlab1 -- error raised explicitly by an action. | `----------------------------------------------------*/ yyerrlab1: - - /* Suppress GCC warning that yyerrlab1 is unused when no action - invokes YYERROR. */ -#if defined (__GNUC_MINOR__) && 2093 <= (__GNUC__ * 1000 + __GNUC_MINOR__) - __attribute__ ((__unused__)) -#endif - - - goto yyerrlab2; - - -/*---------------------------------------------------------------. -| yyerrlab2 -- pop states until the error token can be shifted. | -`---------------------------------------------------------------*/ -yyerrlab2: yyerrstatus = 3; /* Each real token shifted decrements this. */ for (;;) diff --git a/linkcheck/parser/htmlparse.h b/linkcheck/parser/htmlparse.h index 277cbea8..e6f4783e 100644 --- a/linkcheck/parser/htmlparse.h +++ b/linkcheck/parser/htmlparse.h @@ -1,7 +1,7 @@ -/* A Bison parser, made by GNU Bison 1.875. */ +/* A Bison parser, made by GNU Bison 1.875a. */ /* Skeleton parser for Yacc-like parsing with Bison, - Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by