import
Fix #6588 Note for the test: parse error at the end of the file are actually reported at offset 0. Use a trick to add more `^` at the beginning to mean that. (Offset 0 is actually offset 1 as the column starts at 1)