fix grammar for upcoming new bison.

This commit is contained in:
espie 2005-10-28 19:43:32 +00:00
parent c0e88e661f
commit 6262d29bb8
2 changed files with 14 additions and 1 deletions

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.5 2004/11/24 00:11:04 espie Exp $
# $OpenBSD: Makefile,v 1.6 2005/10/28 19:43:32 espie Exp $
COMMENT= "advanced lint: statically check C programs"
DISTNAME= splint-3.1.1
PKGNAME= ${DISTNAME}p0
CATEGORIES= devel
HOMEPAGE= http://www.splint.org/

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_cgrammar_y,v 1.1 2005/10/28 19:43:32 espie Exp $
--- src/cgrammar.y.orig Fri Oct 28 21:30:19 2005
+++ src/cgrammar.y Fri Oct 28 21:30:34 2005
@@ -218,7 +218,7 @@ extern void yyerror (char *);
%type <entry> endIter
%type <funcclauselist> functionClauses functionClausesPlain
-%type <funcclause> functionClause functionClause functionClausePlain
+%type <funcclause> functionClause functionClausePlain
%type <globsclause> globalsClause globalsClausePlain
%type <modsclause> modifiesClause modifiesClausePlain nomodsClause