Chris Torek demands that it return the yyparse() value.
[unix-history] / usr / src / lib / liby / yyerror.c
CommitLineData
79abd9e9
KB
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * %sccs.include.redist.c%
58d3e82d
KM
6 */
7
8#ifndef lint
79abd9e9
KB
9static char sccsid[] = "@(#)yyerror.c 5.2 (Berkeley) %G%";
10#endif /* not lint */
58d3e82d 11
79abd9e9 12#include <stdio.h>
58d3e82d 13
79abd9e9
KB
14yyerror(msg)
15char *msg;
58d3e82d 16{
79abd9e9
KB
17 (void)fprintf(stderr, "%s\n", msg);
18 return(0);
58d3e82d 19}