aboutsummaryrefslogtreecommitdiff
path: root/gcc/gensupport.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2004-08-03 23:30:45 +0000
committerZack Weinberg <zack@gcc.gnu.org>2004-08-03 23:30:45 +0000
commitf9942f4e14ff2f47c29638078db93c0ba8e7b54e (patch)
tree21207c8bff549bcb22ce42b1506218236d280593 /gcc/gensupport.h
parent9cbe78fbeb3898ab7f59faba4f027f9fd0a1a4ee (diff)
downloadgcc-f9942f4e14ff2f47c29638078db93c0ba8e7b54e.zip
gcc-f9942f4e14ff2f47c29638078db93c0ba8e7b54e.tar.gz
gcc-f9942f4e14ff2f47c29638078db93c0ba8e7b54e.tar.bz2
gensupport.c (init_md_reader_args_cb): Renamed from init_md_reader_args.
* gensupport.c (init_md_reader_args_cb): Renamed from init_md_reader_args. Add third option, callback function for parsing program-specific options. Add diagnosis of incorrect number of input files. (init_md_reader): Fold into init_md_reader_args_cb. (init_md_reader_args): Now a thin wrapper around init_md_reader_args_cb. * gensupport.h: Update prototypes. * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c * genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c * genrecog.c: No need to diagnose lack of an input file; init_md_reader_args will handle it. * genconditions.c: Likewise, and use init_md_reader_args. * genconstants.c: Likewise, and no need to call read_md_rtx. From-SVN: r85511
Diffstat (limited to 'gcc/gensupport.h')
-rw-r--r--gcc/gensupport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gensupport.h b/gcc/gensupport.h
index 7ceccfb..ea78b24 100644
--- a/gcc/gensupport.h
+++ b/gcc/gensupport.h
@@ -24,8 +24,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
struct obstack;
extern struct obstack *rtl_obstack;
+extern int init_md_reader_args_cb (int, char **, bool (*)(const char *));
extern int init_md_reader_args (int, char **);
-extern int init_md_reader (const char *);
extern rtx read_md_rtx (int *, int *);
extern void message_with_line (int, const char *, ...)