mirror of
https://github.com/openjdk/jdk.git
synced 2026-08-04 15:15:23 +00:00
Add missing variable decl end position.
This commit is contained in:
parent
e235228708
commit
0f85a240cc
@ -3856,6 +3856,7 @@ public class JavacParser implements Parser {
|
||||
JCVariableDecl result = toP(F.at(pos).VarDef(mods, name, type, init, declaredUsingVar));
|
||||
attach(result, dc);
|
||||
result.startPos = startPos;
|
||||
storeEnd(result, S.prevToken().endPos);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user