Commit | Line | Data |
---|---|---|
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 |
9 | static char sccsid[] = "@(#)yyerror.c 5.2 (Berkeley) %G%"; |
10 | #endif /* not lint */ | |
58d3e82d | 11 | |
79abd9e9 | 12 | #include <stdio.h> |
58d3e82d | 13 | |
79abd9e9 KB |
14 | yyerror(msg) |
15 | char *msg; | |
58d3e82d | 16 | { |
79abd9e9 KB |
17 | (void)fprintf(stderr, "%s\n", msg); |
18 | return(0); | |
58d3e82d | 19 | } |