adapt Semantic Analyzer to the need of pp5