Remove building with NOCRYPTO option
[minix3.git] / external / bsd / byacc / dist / test / err_syntax5.y
blobf46070e5a2bd8af9ede457c7475067f745f4a83f
1 /* $NetBSD: err_syntax5.y,v 1.1.1.1 2015/01/03 22:58:23 christos Exp $ */
3 %{
4 int yylex(void);
5 static void yyerror(const char *);
6 %}
8 %union {
9 char *str;
10 int num
13 S: error
16 #include <stdio.h>
18 int
19 main(void)
21 printf("yyparse() = %d\n", yyparse());
22 return 0;
25 int
26 yylex(void)
28 return -1;
31 static void
32 yyerror(const char* s)
34 printf("%s\n", s);