Skip to content

Commit 1b9f55f

Browse files
committedNov 21, 2013
Fix regression: Add lexer support for %i[] style words
1 parent cad4a6b commit 1b9f55f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎lib/opal/parser/lexer.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ def yylex
705705
@lex_state = after_operator?() ? :expr_arg : :expr_beg
706706
return :tPIPE, '|'
707707

708-
elsif scan(/\%[QqWwxr]/)
708+
elsif scan(/\%[QqWwixr]/)
709709
str_type = scanner.matched[1, 1]
710710
paren = scan(/./)
711711

0 commit comments

Comments
 (0)
Please sign in to comment.