diff options
author | Martin Mares <mj@ucw.cz> | 2000-06-04 21:30:13 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-06-04 21:30:13 +0200 |
commit | 04dc62a0116941d2f1510216539ae8c11c5f1cb3 (patch) | |
tree | ead689c0378fa535ecb3ae7dbe9d86f98c043653 /client/util.c | |
parent | dab66519160042f1fb62a285e3a947233ce74e70 (diff) | |
download | bird-04dc62a0116941d2f1510216539ae8c11c5f1cb3.tar bird-04dc62a0116941d2f1510216539ae8c11c5f1cb3.zip |
Nested scopes could never have worked. My fault I wrote such a buggy code,
Pavel's fault that he's never tested shadowing of declarations in the filters.
cf_define_symbol() has been modified to check the scope of the symbol it's
given and it if it's an already defined symbol, but in a different scope,
a copy is created in the current scope and redefined to the new meaning,
the consequence being that it cf_define_symbol() now returns the new symbol
you need to use when assigning aux and aux2.
Diffstat (limited to 'client/util.c')
0 files changed, 0 insertions, 0 deletions