Fix a bug in how parse errors were printed.