1989 was quite a while ago. We use function prototypes extensively;

don't worry about YY_PROTO, which isn't defined with the newer shinier
versions of Flex.

svn path=/trunk/; revision=22450
This commit is contained in:
Guy Harris 2007-08-04 03:27:18 +00:00
parent 0f6b7b836e
commit b1e9777a81
2 changed files with 2 additions and 2 deletions

View File

@ -153,7 +153,7 @@ cat <<EOF >$header_file
/* This is generated by runlex.sh. Do not edit it. */
$prefixline
#ifndef YY_DECL
#define YY_DECL int yylex YY_PROTO(( void ))
#define YY_DECL int yylex(void)
#endif
YY_DECL;
EOF

View File

@ -153,7 +153,7 @@ cat <<EOF >$header_file
/* This is generated by runlex.sh. Do not edit it. */
$prefixline
#ifndef YY_DECL
#define YY_DECL int yylex YY_PROTO(( void ))
#define YY_DECL int yylex(void)
#endif
YY_DECL;
EOF