Skip to content

Commit

Permalink
[Truffle] Fix heredoc term lexer
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Fish committed Nov 28, 2016
1 parent b0beb30 commit 81a3a8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions spec/truffle/tags/language/heredoc_tags.txt

This file was deleted.

Expand Up @@ -140,7 +140,7 @@ public int parseString(RubyLexer lexer) throws java.io.IOException {
lexer.lex_goto_eol();

if (lexer.getHeredocIndent() > 0) {
lexer.setValue(str);
lexer.setValue(lexer.createStr(str, 0));
return Tokens.tSTRING_CONTENT;
}
// MRI null checks str in this case but it is unconditionally non-null?
Expand Down

0 comments on commit 81a3a8c

Please sign in to comment.