diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-12 18:43:33 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-05-12 18:43:33 +0000 |
commit | be46690ee3370d9008b0220bfa7074563edd7ded (patch) | |
tree | 041a0c07e04b7b1e912cc3fbfff87c4cb5742d5e /gcc/gensupport.h | |
parent | 0ef911744f03203291e910fd511fc5fbe17b692f (diff) | |
download | gcc-be46690ee3370d9008b0220bfa7074563edd7ded.tar.gz |
* gensupport.c (n_comma_elts): Moved here from genattrtab.c.
(scan_comma_elt): New function. Accepts whitespace in comma lists.
* gensupport.h: Prototype new routines.
* genattr.c (gen_attr): Use scan_comma_elt. Avoid unnecessary
use of printf.
* genattrtab.c (n_comma_elts): Moved to gensupport.c.
(next_comma_elt): Use scan_comma_elt.
* config/i386/i386.md: Use new attribute notation to break up
long lines in define_attr forms.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53403 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gensupport.h')
-rw-r--r-- | gcc/gensupport.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/gensupport.h b/gcc/gensupport.h index 96c8c87ba25..bac804b22a6 100644 --- a/gcc/gensupport.h +++ b/gcc/gensupport.h @@ -1,5 +1,5 @@ /* Declarations for rtx-reader support for gen* routines. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2002 Free Software Foundation, Inc. This file is part of GCC. @@ -27,3 +27,7 @@ extern rtx read_md_rtx PARAMS ((int *, int *)); extern void message_with_line PARAMS ((int, const char *, ...)) ATTRIBUTE_PRINTF_2; + +extern int n_comma_elts PARAMS ((const char *)); +extern const char *scan_comma_elt PARAMS ((const char **)); + |