printing of typedef errors should be implemented