Fixed the parser class syntax errors