I might be a little confused as to what you are seeing, but in scripting it is common practice to stop compiling at the first error and return that and the next time you compile assuming that error has been fixed and there re more errors you will get the next one in the pipeline.
Eric Ketchum