Permalink
Browse files

toString should work under normal conditions

  • Loading branch information...
1 parent 615e3a4 commit 823990a5b92645fde1c58fe8b3e2b9eeccd98b0b @enebo enebo committed with Prathamesh Sonpatki Sep 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/org/jruby/lexer/yacc/InputStreamLexerSource.java
View
2 src/org/jruby/lexer/yacc/InputStreamLexerSource.java
@@ -263,7 +263,7 @@ public String toString() {
}
buffer.append(c);
}
- for (; i >= 0; i++) {
+ for (; i >= 0; i--) {
unread(buffer.charAt(i));
}
buffer.append(new byte[] {' ', '.', '.', '.'});

0 comments on commit 823990a

Please sign in to comment.