Changeset 609 for branches/GNU/src/binutils/gas/macro.h
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/gas/macro.h
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 1 /* macro.h - header file for macro support for gas and gasp2 Copyright 1994, 1995, 1996, 1997, 1998, 2000 1 /* macro.h - header file for macro support for gas 2 Copyright 1994, 1995, 1996, 1997, 1998, 2000, 2002 3 3 Free Software Foundation, Inc. 4 4 … … 38 38 formals get the actual values attatched to them. */ 39 39 40 /* describe the formal arguments to a macro*/40 /* Describe the formal arguments to a macro. */ 41 41 42 42 typedef struct formal_struct { 43 struct formal_struct *next; /* next formal in list*/44 sb name; /* name of the formal*/45 sb def; /* the default value*/46 sb actual; /* the actual argument (changed on each expansion)*/47 int index; /* the index of the formal 0..formal_count-1*/43 struct formal_struct *next; /* Next formal in list. */ 44 sb name; /* Name of the formal. */ 45 sb def; /* The default value. */ 46 sb actual; /* The actual argument (changed on each expansion). */ 47 int index; /* The index of the formal 0..formal_count - 1. */ 48 48 } formal_entry; 49 49 … … 53 53 #define LOCAL_INDEX (-3) 54 54 55 /* describe the macro. */55 /* Describe the macro. */ 56 56 57 typedef struct macro_struct { 58 sb sub; /* substitution text. */ 59 int formal_count; /* number of formal args. */ 60 formal_entry *formals; /* pointer to list of formal_structs */ 61 struct hash_control *formal_hash; /* hash table of formals. */ 57 typedef struct macro_struct 58 { 59 sb sub; /* Substitution text. */ 60 int formal_count; /* Number of formal args. */ 61 formal_entry *formals; /* Pointer to list of formal_structs. */ 62 struct hash_control *formal_hash; /* Hash table of formals. */ 62 63 } macro_entry; 63 64 … … 73 74 PARAMS ((const char *, const char *, sb *, int (*) PARAMS ((sb *)))); 74 75 extern void macro_init 75 PARAMS ((int alternate, int mri, int strip_at,76 int (*) PARAMS ((const char *, int, sb *, int *)))); 77 extern void macro_mri_modePARAMS ((int));76 PARAMS ((int, int, int, int (*) PARAMS ((const char *, int, sb *, int *)))); 77 extern void macro_mri_mode 78 PARAMS ((int)); 78 79 extern const char *define_macro 79 PARAMS ((int idx, sb *in, sb *label, int (*get_line) PARAMS ((sb *)),80 const char **namep)); 81 extern int check_macro PARAMS ((const char *, sb *, int, const char **, 82 macro_entry **)); 83 extern void delete_macroPARAMS ((const char *));80 PARAMS ((int, sb *, sb *, int (*) PARAMS ((sb *)), const char **)); 81 extern int check_macro 82 PARAMS ((const char *, sb *, const char **, macro_entry **)); 83 extern void delete_macro 84 PARAMS ((const char *)); 84 85 extern const char *expand_irp 85 PARAMS ((int, int, sb *, sb *, int (*) PARAMS ((sb *)) , int));86 PARAMS ((int, int, sb *, sb *, int (*) PARAMS ((sb *)))); 86 87 87 88 #endif -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.