Fix parsing of ' syntax