regex/internal/parser.d: remove unreachable statement

This commit is contained in:
Hiroki Noda 2019-05-15 10:41:19 +09:00
parent 507c6ff54c
commit 03f19cf3d2

View file

@ -842,7 +842,6 @@ if (isForwardRange!R && is(ElementType!R : dchar))
{
case '*', '?', '+', '|', '{', '}':
error("'*', '+', '?', '{', '}' not allowed in atom");
break;
case '.':
if (re_flags & RegexOption.singleline)
g.put(Bytecode(IR.Any, 0));