aboutsummaryrefslogtreecommitdiff
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
commitef99799a42e1d93d6025967df807ad442e29304d (patch)
tree24d10568abd3980362643836b57237842707eeb5 /gas/macro.h
parent4efc3e0524fbc2814d149c01928f51f4e22ab797 (diff)
downloadgdb-ef99799a42e1d93d6025967df807ad442e29304d.zip
gdb-ef99799a42e1d93d6025967df807ad442e29304d.tar.gz
gdb-ef99799a42e1d93d6025967df807ad442e29304d.tar.bz2
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 7c30086..030fc91 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. */