On 08/12/17 07:39, Windt, W.K.F. van der (Fred) wrote:
Right now I am using two LOCTRs and generated labels to generate
pointers in the data structure (the first LOCTR) to the literals in
a separate area (the second LOCTR). But that means that every literal
is simply generated in that second area. I want to avoid generating
duplicates of a literal (with their own different pointers in the
data structure).
Use a macro to generate the table of literals and the pointers,
and have the macro keep a record of literals which have already
been generated so that it can re-use the pointer when
the same literal
--
Martin
Dr Martin Ward | Email: [email protected] | http://www.gkc.org.uk
G.K.Chesterton site: http://www.gkc.org.uk/gkc | Erdos number: 4