Parse empty source files.

This commit is contained in:
steve 1999-10-15 05:03:33 +00:00
parent bcbab34543
commit 2fb754cd54
1 changed files with 4 additions and 1 deletions

View File

@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT)
#ident "$Id: parse.y,v 1.73 1999/09/30 02:43:02 steve Exp $"
#ident "$Id: parse.y,v 1.74 1999/10/15 05:03:33 steve Exp $"
#endif
# include "parse_misc.h"
@ -164,6 +164,9 @@ extern void lex_end_table();
%%
/* A degenerate source file can be completely empty. */
main : source_file | ;
source_file
: description
| source_file description