Fix a minor bug in complex string and emit parsererrors from parseString