Handle semicolons within import statements correctly