The `else if self.token` should handle `extern {` I'll add an else clause with the error you suggested or re-write this if entirely.