Implemented the mechanism to find symbol locations within productions for variables.