Fixing ArrayIndexOutOfBoundsException reported by Steven Beal caused by broken code to setup endLine in SourceInfo.updateLineInfo.

This commit is contained in:
igor%mir2.org 2002-08-15 06:42:45 +00:00
parent 55ec62b72d
commit 7ad5c25d66

View File

@ -2233,7 +2233,7 @@ class SourceInfo {
}
int fnFirstLine = lines[0];
int fnEndLine = lines[0];
int fnEndLine = fnFirstLine + 1;
for (int i = 1; i != lines.length; ++i) {
int line = lines[i];
if (line < fnFirstLine) {