We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57f2a4f commit 903c87fCopy full SHA for 903c87f
lib/opal/parser/lexer.rb
@@ -706,7 +706,7 @@ def yylex
706
return :tPIPE, '|'
707
708
elsif scan(/\%[QqWwxr]/)
709
- str_type = scanner.matched[1]
+ str_type = scanner.matched[1, 1]
710
paren = scan(/./)
711
712
term = case paren
@@ -728,7 +728,7 @@ def yylex
728
scan(/\s*/)
729
return :tWORDS_BEG, scanner.matched
730
when 'w', 'i'
731
- self.strterm = new_strterm(:sword, 'W', term)
+ self.strterm = new_strterm(:sword, 'w', term)
732
733
return :tAWORDS_BEG, scanner.matched
734
when 'x'
0 commit comments