if the file doesn't parse and we don't yet have a scope, try deleting the broken line and reparsing a few times out of desperation