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/lexer/yacc/RubyLexer.java
Original file line number Diff line number Diff line change
@@ -2585,8 +2585,8 @@ private int parseNumber(int c) throws IOException {
break;
default :
pushback(c);
yaccValue = new FixnumNode(getPosition(), 0);
return Tokens.tINTEGER;
numberBuffer.append('0');
return getIntegerToken(numberBuffer.toString(), 10, numberLiteralSuffix(SUFFIX_ALL));
}
}

0 comments on commit 079df3e

Please sign in to comment.