summaryrefslogtreecommitdiff
path: root/gas/macro.h
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2000-11-07 01:18:45 +0000
committerKazu Hirata <kazu@codesourcery.com>2000-11-07 01:18:45 +0000
commit7ec55bba7511caad48aeef394cc1f7ca8668e891 (patch)
treec4c5b73aa6264b9e08a934cbd908a25f1a029044 /gas/macro.h
parent8cf064194fa3c137029a4c36663606bb0c0069d9 (diff)
downloadbinutils-redhat-7ec55bba7511caad48aeef394cc1f7ca8668e891.tar.gz
2000-11-06 Kazu Hirata <kazu@hxi.com>
* as.c: Fix formatting. * dwarf2dbg.c: Likewise. * itbl-ops.c: Likewise. * listing.c: Likewise. * macro.h: Likewise. * messages.c: Likewise. * read.c: Likewise. * subsegs.c: Likewise. * subsegs.h: Likewise. * write.c: Likewise.
Diffstat (limited to 'gas/macro.h')
-rw-r--r--gas/macro.h30
1 files changed, 13 insertions, 17 deletions
diff --git a/gas/macro.h b/gas/macro.h
index 7c30086d5f..030fc9131a 100644
--- a/gas/macro.h
+++ b/gas/macro.h
@@ -38,15 +38,13 @@
/* describe the formal arguments to a macro */
-typedef struct formal_struct
- {
- struct formal_struct *next; /* next formal in list */
- sb name; /* name of the formal */
- sb def; /* the default value */
- sb actual; /* the actual argument (changed on each expansion) */
- int index; /* the index of the formal 0..formal_count-1 */
- }
-formal_entry;
+typedef struct formal_struct {
+ struct formal_struct *next; /* next formal in list */
+ sb name; /* name of the formal */
+ sb def; /* the default value */
+ sb actual; /* the actual argument (changed on each expansion) */
+ int index; /* the index of the formal 0..formal_count-1 */
+} formal_entry;
/* Other values found in the index field of a formal_entry. */
#define QUAL_INDEX (-1)
@@ -55,14 +53,12 @@ formal_entry;
/* describe the macro. */
-typedef struct macro_struct
- {
- sb sub; /* substitution text. */
- int formal_count; /* number of formal args. */
- formal_entry *formals; /* pointer to list of formal_structs */
- struct hash_control *formal_hash; /* hash table of formals. */
- }
-macro_entry;
+typedef struct macro_struct {
+ sb sub; /* substitution text. */
+ int formal_count; /* number of formal args. */
+ formal_entry *formals; /* pointer to list of formal_structs */
+ struct hash_control *formal_hash; /* hash table of formals. */
+} macro_entry;
/* Whether any macros have been defined. */