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

git-svn-id: svn://10.0.0.236/trunk@127353 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
igor%mir2.org
2002-08-15 06:42:45 +00:00
parent 829192b1b5
commit 0c1407d0c4

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) {