Ignore:
Timestamp:
Aug 16, 2003, 6:59:22 PM (22 years ago)
Author:
bird
Message:

binutils v2.14 - offical sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/binutils/gas/macro.h

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r608 r609  
    1 /* macro.h - header file for macro support for gas and gasp
    2    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
    33   Free Software Foundation, Inc.
    44
     
    3838   formals get the actual values attatched to them.  */
    3939
    40 /* describe the formal arguments to a macro */
     40/* Describe the formal arguments to a macro. */
    4141
    4242typedef 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. */
    4848} formal_entry;
    4949
     
    5353#define LOCAL_INDEX (-3)
    5454
    55 /* describe the macro.  */
     55/* Describe the macro.  */
    5656
    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.  */
     57typedef 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.  */
    6263} macro_entry;
    6364
     
    7374  PARAMS ((const char *, const char *, sb *, int (*) PARAMS ((sb *))));
    7475extern 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_mode PARAMS ((int));
     76  PARAMS ((int, int, int, int (*) PARAMS ((const char *, int, sb *, int *))));
     77extern void macro_mri_mode
     78  PARAMS ((int));
    7879extern 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_macro PARAMS ((const char *));
     80  PARAMS ((int, sb *, sb *, int (*) PARAMS ((sb *)), const char **));
     81extern int check_macro
     82  PARAMS ((const char *, sb *, const char **, macro_entry **));
     83extern void delete_macro
     84  PARAMS ((const char *));
    8485extern const char *expand_irp
    85   PARAMS ((int, int, sb *, sb *, int (*) PARAMS ((sb *)), int));
     86  PARAMS ((int, int, sb *, sb *, int (*) PARAMS ((sb *))));
    8687
    8788#endif
Note: See TracChangeset for help on using the changeset viewer.