Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/opal/parser/lexer.rb
Original file line number Diff line number Diff line change
@@ -706,7 +706,7 @@ def yylex
return :tPIPE, '|'

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

term = case paren
@@ -728,7 +728,7 @@ def yylex
scan(/\s*/)
return :tWORDS_BEG, scanner.matched
when 'w', 'i'
self.strterm = new_strterm(:sword, 'W', term)
self.strterm = new_strterm(:sword, 'w', term)
scan(/\s*/)
return :tAWORDS_BEG, scanner.matched
when 'x'

0 comments on commit 903c87f

Please sign in to comment.