Main Block (B0)
Scope Rules
Block 1 (B1)
Block 2 (B2)
Entrance of B2:
• Push a pointer to the ST-stack top onto AT-stack
Exit from B2:
• The top of B1 Info becomes the ST-stack top
• Remove the B2 pointer from the AT-stack top
Search in ST:
• from the top towards the bottom
ST-stack:
B2
B1
B0
Symbol Table=
Auxiliary Table =
B1 Info
Top
B2 Info
Top
B0 Info
Top
AT-stack:
Search
26/35