merged switch and postfix from pp2
report undeclared identifiers