DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦dfc2653d9⟧ TextFile

    Length: 414 (0x19e)
    Types: TextFile
    Names: »macro.h«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec1/prep/macro.h« 

TextFile

/* macro related stuff */

#include "prep.h"

#define	MAX_MACROS		1000
#define MAX_CALLS		100	/* if exceeded, assume recursive */


/* macro structure */
struct mac {
	char	*name ;
	char	*text ;
	int	parmcount ;
	int	callcount ;
} macro[MAX_MACROS], *macrop ;

int	defined_macros = 0 ;	/* number of defined macros */


/* function types */
char	*expand_macros(), *mac_expand(), *strmatch() ;
int	define_macro() ;