Remove building with NOCRYPTO option
[minix3.git] / external / bsd / byacc / dist / test / err_syntax12.y
blob41e7ad0efb57fe8f31fe8e17557347accec8b549
1 /* $NetBSD: err_syntax12.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 %token text 123
9 %token text 456
12 S: error
15 #include <stdio.h>
17 int
18 main(void)
20 printf("yyparse() = %d\n", yyparse());
21 return 0;
24 int
25 yylex(void)
27 return -1;
30 static void
31 yyerror(const char* s)
33 printf("%s\n", s);