gnupic: Local symbols
Subject:
Re: Local symbols
From:
Vangelis Rokas ####@####.####
Date:
7 Nov 2004 09:43:51 +0000
Message-Id: <Pine.LNX.4.61.0411071143160.3926@odyssey>
On Sat, 6 Nov 2004, George M. Gallant wrote:
> Have you been able to look at the local symbols patch? I have a number of
> math routines to check into the pc16 port of sdcc which use local symbols.
> Vangelis Roakes just released a file that uses the "@xxx" notation but not
> quite as I envision.
George, why did you implement things to reset the local scope at each
regular label encountered? I understand that there are conflicts with labels
between different functions in the same source, but this shouldn't be a
problem. OTOH, reseting the local scope, and forcing the sole use of '@'
labels in a function isn't the expected behaviour for an assembler nor for
the compiler.
Perhaps you should use the source line the '@' label is enouctered in order
to create unique label symbols.
regards,
Vangelis