Symbols
During compilation, the compiler maintains symbol tables of all the symbols it has encountered, so that it may resolve references to them. There are separate symbol tables for variables, timers and labels.
All symbols within a symbol table must be unique. However, the use of separate symbol tables allows, for instance, the same name to be used for a label as for a variable.
Furthermore, because labels are not propagated into subroutines or vice versa, labels within a subroutine may duplicate labels within other subroutines, or within the main body of the code.
OpenSTA.org Mailing Lists Further enquiries Documentation feedback CYRANO.com |