Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/org/jruby/ext/ripper/RipperLexer.java
Original file line number Diff line number Diff line change
@@ -1647,7 +1647,7 @@ private int identifier(int c, boolean commandState) throws IOException {
if (isLabelSuffix()) {
setState(EXPR_ARG|EXPR_LABELED);
nextc();
yaccValue = tempVal.intern();
identValue = tempVal.intern();
return Tokens.tLABEL;
}
}
@@ -1660,7 +1660,7 @@ private int identifier(int c, boolean commandState) throws IOException {
setState(keyword.state);

if (isLexState(state, EXPR_FNAME)) {
yaccValue = keyword.name;
identValue = keyword.name;
return keyword.id0;
}

0 comments on commit 1721092

Please sign in to comment.