Fixed warnings in Parser class