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
  • Loading branch information
adambeynon committed Nov 21, 2013
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
Expand Up @@ -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(/./)

Expand Down

0 comments on commit 2c39115

Please sign in to comment.