diff --git a/lib/rdoc/parsers/parse_rb.rb b/lib/rdoc/parsers/parse_rb.rb index 4c10bc4461..f127d8462e 100644 --- a/lib/rdoc/parsers/parse_rb.rb +++ b/lib/rdoc/parsers/parse_rb.rb @@ -2267,6 +2267,8 @@ module RDoc tk.text.sub(/^:/, '') when TkId, TkOp tk.name + when TkSTRING + tk.text else raise "Name or symbol expected (got #{tk})" end