repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove building with NOCRYPTO option
[minix3.git]
/
external
/
bsd
/
byacc
/
dist
/
test
/
err_syntax7a.y
blob
2570245c147fa20a028c5ca23e892a788be62fb2
1
/* $NetBSD: err_syntax7a.y,v 1.1.1.1 2015/01/03 22:58:23 christos Exp $ */
2
3
%
{
4
int
yylex
(
void
);
5
static void
yyerror
(
const char
*);
6
%
}
7
8
%token
<
text
>
'
\xff
f'
9
10
%%
11
S:
error
12
%%
13
14
#include <stdio.h>
15
16
int
17
main
(
void
)
18
{
19
printf
(
"yyparse() = %d
\n
"
,
yyparse
());
20
return
0
;
21
}
22
23
int
24
yylex
(
void
)
25
{
26
return
-
1
;
27
}
28
29
static void
30
yyerror
(
const char
*
s
)
31
{
32
printf
(
"%s
\n
"
,
s
);
33
}