mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-21 03:14:50 +00:00
This commit was manufactured by cvs2svn to create tag
'debian_version_2_14-8'. git-svn-id: file:///srv/svn/joey/bsdgames-tags/debian_version_2_14-8@5231 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: grammar.y,v 1.4 1997/10/10 02:07:08 lukem Exp $ */
|
||||
/* $NetBSD: grammar.y,v 1.7 1999/07/26 21:14:21 hubertf Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@@ -68,7 +68,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)grammar.y 8.1 (Berkeley) 5/31/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: grammar.y,v 1.4 1997/10/10 02:07:08 lukem Exp $");
|
||||
__RCSID("$NetBSD: grammar.y,v 1.7 1999/07/26 21:14:21 hubertf Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@@ -137,7 +137,7 @@ hdef:
|
||||
wdef:
|
||||
WidthOp '=' ConstOp ';'
|
||||
{
|
||||
if (sp->height != 0)
|
||||
if (sp->width != 0)
|
||||
return (yyerror("Redefinition of 'width'."));
|
||||
else if ($3 < 3)
|
||||
return (yyerror("'width' is too small."));
|
||||
@@ -253,7 +253,6 @@ Apoint:
|
||||
sp->airport[sp->num_airports].y = $3;
|
||||
sp->airport[sp->num_airports].dir = dir;
|
||||
check_point($2, $3);
|
||||
check_adir($2, $3, dir);
|
||||
sp->num_airports++;
|
||||
}
|
||||
;
|
||||
@@ -377,12 +376,6 @@ check_edir(x, y, dir)
|
||||
yyerror("Bad direction for entrance at exit.");
|
||||
}
|
||||
|
||||
void
|
||||
check_adir(x, y, dir)
|
||||
int x __attribute__((unused)), y __attribute__((unused)), dir __attribute__((unused));
|
||||
{
|
||||
}
|
||||
|
||||
int
|
||||
checkdefs()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user