Merge pull request #4512 from lopopolo/patch-1

Support parsing a Regexp literal with 'o' option
This commit is contained in:
Yukihiro "Matz" Matsumoto
2019-09-15 18:19:59 +09:00
committed by GitHub
+1
View File
@@ -4526,6 +4526,7 @@ parse_string(parser_state *p)
case 'm': f |= 4; break;
case 'u': f |= 16; break;
case 'n': f |= 32; break;
case 'o': break;
default: tokadd(p, re_opt); break;
}
}