Skip to content

Commit 2f50064

Browse files
committed
Support %i and %I literal
1 parent 0c47b30 commit 2f50064

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/rdoc/ruby_lex.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,9 @@ def token
396396
"r" => "/",
397397
"w" => "]",
398398
"W" => "]",
399-
"s" => ":"
399+
"s" => ":",
400+
"i" => "]",
401+
"I" => "]"
400402
}
401403

402404
PERCENT_PAREN = {

0 commit comments

Comments
 (0)