We aren't checking symbol declarations like we should.

I'd like to patch this if I get time, or I expect Leo will. A
kludgy fix would probably work in the short term, but in the
long term I'd like to rewrite most of symreg.c

mk_ident() should probably just lookup the symbol first and
die if it exists in the current scope.

-Melvin


At 09:49 PM 10/6/2003 -0400, you wrote:
Should

.sub _main

  .local int foo
  .local string foo

foo = -1

  end
.end

Be an error? Certainly would have saved me a few minutes tracking down a bug. =-)

--
Will "Coke" Coleda                                    will at coleda dot com




Reply via email to