Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/lexer/yacc/RubyLexer.java
Original file line number Diff line number Diff line change
@@ -1886,7 +1886,7 @@ private int identifier(int c, boolean commandState) throws IOException {
do {
if (!tokadd_mbchar(c)) return EOF;
c = nextc();
} while (isIdentifierChar(c));
} while (c != EOF && isIdentifierChar(c));

boolean lastBangOrPredicate = false;

1 comment on commit 2042347

@nirvdrum
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@enebo Check this please. Adding this in fixed the Encoding#default_external specs using ShiftJS at start-up.

Please sign in to comment.