diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2001-02-19 01:10:01 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2001-02-19 01:10:01 +0000 |
| commit | 8d03543c79a7f4f03fcb0052840d2eb6601c5e63 (patch) | |
| tree | 3a27e7008f834664ad617c54278274cd1df7952a /usr.bin/yacc | |
| parent | 357a8c727e57136344da01e36133b858d9796eeb (diff) | |
Notes
Diffstat (limited to 'usr.bin/yacc')
| -rw-r--r-- | usr.bin/yacc/skeleton.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/yacc/skeleton.c b/usr.bin/yacc/skeleton.c index c3b02b0ffe02..aba2abd45bac 100644 --- a/usr.bin/yacc/skeleton.c +++ b/usr.bin/yacc/skeleton.c @@ -67,7 +67,11 @@ char *banner[] = "#define yyclearin (yychar=(YYEMPTY))", "#define yyerrok (yyerrflag=0)", "#define YYRECOVERING() (yyerrflag!=0)", + "#if defined(__cplusplus) || __STDC__", + "static int yygrowstack(void);", + "#else", "static int yygrowstack();", + "#endif", 0 }; |
