-2

We all know that there is always a reference from symbol table to type table but recerse case can also happen. Means can type table reference back to symbol table? If yes, please provide example.

piokuc
  • 25,594
  • 11
  • 72
  • 102
neel
  • 8,399
  • 7
  • 36
  • 50

1 Answers1

1

If you define a new type you usually give it a name, so this name, as a symbol, will be referenced from the type table.

piokuc
  • 25,594
  • 11
  • 72
  • 102
  • define a new type means? Say if I define a struture and give it a name X then what it means in context to your statement. N thanks for your reply – neel Sep 03 '12 at 17:23
  • If you define a new structure X then that means you define a new type X. A new entry is added to symbol table ('X') and to type table as well (a compiler's structure describing your new type's definition). – piokuc Sep 03 '12 at 17:26