Skip to content

Commit

Permalink
Actually needs to be 2, to consume trailing output
Browse files Browse the repository at this point in the history
  • Loading branch information
FourteenBrush committed Mar 15, 2024
1 parent 391b07f commit 916b102
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public Symbol lookupSymbol(char[] buf, int pos) {
Symbol symbol = symbolLookup.lookup(buf, pos);
if (symbol == null) {
String bufAsStr = new String(buf, pos, buf.length - pos);
String symbolName = INVERSE_IDENTIFIER_PATTERN.split(bufAsStr, 1)[0];
String symbolName = INVERSE_IDENTIFIER_PATTERN.split(bufAsStr, 2)[0];
throw new SymbolNotFoundException(symbolName);
}
return symbol;
Expand Down

0 comments on commit 916b102

Please sign in to comment.