JAVA parse.y patch
Graham
grahams@rcp.co.uk
Sat Dec 19 05:30:00 GMT 1998
Hi
Here's a patch against egcs-19981213 snapshot
This patch changes java/parse.y to use system.h
This patches requires an updated java/parse.c to be
generated.
ChangeLog
* parse.y : include system.h instead of including
standard headers directly with the exception of
<dirent.h>
*** parse.y.orig Sat Dec 19 13:43:06 1998
--- parse.y Sat Dec 19 13:44:25 1998
*************** Some rules have been modified to support
*** 46,62 ****
definitions and other extensions. */
%{
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- #include <dirent.h>
- #ifdef __STDC__
- #include <stdarg.h>
- #else
- #include <varargs.h>
- #endif
-
#include "config.h"
#include "tree.h"
#include "rtl.h"
#include "obstack.h"
--- 46,54 ----
definitions and other extensions. */
%{
#include "config.h"
+ #include "system.h"
+ #include <dirent.h>
#include "tree.h"
#include "rtl.h"
#include "obstack.h"
Graham
More information about the Gcc-patches
mailing list