Looks like the issue is from a few lines before 171, unterminated string, here:
fn vec2_to_array {} ( v: vec2, out: ptr ) : void = "sta#% -- You received this message because you are subscribed to the Google Groups "ats-lang-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to ats-lang-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/c7d0cebd-757d-49e8-bf2e-b9f4f94a44f7%40googlegroups.com.