Remove building with NOCRYPTO option
[minix3.git] / external / bsd / byacc / dist / test / err_syntax4.y
blob8a4f41d63b25543821b710f6e8f2309102350049
1 /* $NetBSD: err_syntax4.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 *);
7 %%
8 S: error
9 %%
11 #include <stdio.h>
13 int
14 main(void)
16 printf("yyparse() = %d\n", yyparse());
17 return 0;
20 int
21 yylex(void)
23 return -1;
26 static void
27 yyerror(const char* s)
29 printf("%s\n", s);