Skip to content

Commit

Permalink
Padding the last quad in apos names needs to come before looking them up
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmac committed Aug 11, 2014
1 parent 4c6da5f commit aa83e9d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1956,11 +1956,10 @@ protected Name _parseAposName() throws IOException
if (qlen >= quads.length) {
_quadBuffer = quads = growArrayBy(quads, quads.length);
}
quads[qlen++] = currQuad;
quads[qlen++] = pad(currQuad, currQuadBytes);
}
Name name = _symbols.findName(quads, qlen);
if (name == null) {
quads[qlen - 1] = pad(quads[qlen - 1], currQuadBytes);
name = addName(quads, qlen, currQuadBytes);
}
return name;
Expand Down

0 comments on commit aa83e9d

Please sign in to comment.