Permalink
Browse files

- Fixed error message for bad % codes. (whitequark)

[git-p4: depot-paths = "//src/ruby_parser/dev/": change = 7824]
  • Loading branch information...
1 parent 51f1c74 commit 94e5fc87c5d845fd39dba463cb13fd305cb79c15 @zenspider zenspider committed Oct 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ruby_lexer.rb
View
@@ -344,7 +344,7 @@ def parse_quote # 58 lines
[:tSYMBEG, STR_SSYM]
end
- rb_compile_error "Bad %string type. Expected [Qqwxr\W], found '#{c}'." if
+ rb_compile_error "Bad %string type. Expected [Qq\Wwxrs], found '#{c}'." if
token_type.nil?
self.lex_strterm = [:strterm, string_type, nnd, beg]

0 comments on commit 94e5fc8

Please sign in to comment.