e576bb2002-10-11Martin Nilsson /* || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. */
1b10db2002-10-08Martin Nilsson 
b1f4eb1998-01-13Fredrik Hübinette (Hubbe) /* Who needs templates anyway? / Hubbe */
5cd20c2005-05-31Henrik Grubbström (Grubba) #ifndef BAR #define BAR(NUMTYPE, TYPE, ARGTYPE, NAME) FOO(NUMTYPE, TYPE, ARGTYPE, NAME) #endif /* !BAR */
61e4b02007-10-13Henrik Grubbström (Grubba) #ifndef PASS1ONLY #define PASS1ONLY(NUMTYPE, TYPE, ARGTYPE, NAME) FOO(NUMTYPE, TYPE, ARGTYPE, NAME) #endif /* !PASS1ONLY */
5cd20c2005-05-31Henrik Grubbström (Grubba) 
b1f4eb1998-01-13Fredrik Hübinette (Hubbe) /* Program *must* be first! */
5cd20c2005-05-31Henrik Grubbström (Grubba) BAR(size_t,PIKE_OPCODE_T, PIKE_OPCODE_T, program)
7e877a2003-04-02Martin Stjernholm FOO(size_t,size_t, size_t, relocations) FOO(size_t,char, int, linenumbers) FOO(unsigned INT16,unsigned INT16, unsigned, identifier_index) FOO(unsigned INT16,unsigned INT16, unsigned, variable_index) FOO(unsigned INT16,struct pike_string *, struct pike_string *, strings) FOO(unsigned INT16,struct program_constant, struct program_constant, constants)
61e4b02007-10-13Henrik Grubbström (Grubba) PASS1ONLY(unsigned INT16,struct reference, struct reference, identifier_references) PASS1ONLY(unsigned INT16,struct inherit, struct inherit, inherits) PASS1ONLY(unsigned INT16,struct identifier, struct identifier, identifiers)
843d2f2018-11-06Henrik Grubbström (Grubba) /* NB: Annotations for the program itself are at index #0. * Annotations for identifiers are thus offset by 1. */ PASS1ONLY(unsigned INT16, struct array *, struct array *, annotations)
61e4b02007-10-13Henrik Grubbström (Grubba) #undef PASS1ONLY
b1f4eb1998-01-13Fredrik Hübinette (Hubbe) #undef FOO
5cd20c2005-05-31Henrik Grubbström (Grubba) #undef BAR