Skip to content

Commit

Permalink
Fix regression: Add lexer support for %i[] style words
Browse files Browse the repository at this point in the history
adambeynon committed Nov 21, 2013

Verified

This commit was signed with the committer’s verified signature.
makenowjust Hiroya Fujinami
1 parent 26876e1 commit 2c39115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opal/parser/lexer.rb
Original file line number Diff line number Diff line change
@@ -705,7 +705,7 @@ def yylex
@lex_state = after_operator?() ? :expr_arg : :expr_beg
return :tPIPE, '|'

elsif scan(/\%[QqWwxr]/)
elsif scan(/\%[QqWwixr]/)
str_type = scanner.matched[1, 1]
paren = scan(/./)

0 comments on commit 2c39115

Please sign in to comment.