matz wrote: > And this is a perfectly legal program, except that LAST `end' to the > class clause is missing. How can I find this error at proper place? > Using indentation information? No... this isn't Python. :) There are only two possible solutions that I am aware of: 1. Add text to this message, e.g., "There may be a missing 'end' at an earlier point in the code." 2. This one is not going to happen: Have more than one kind of 'end' -- say explicitly "end def", "end class", "end if", etc. Hal