mirror of
https://github.com/dlang/phobos.git
synced 2025-05-06 19:16:13 +03:00
regex/internal/parser.d: remove unreachable statement
This commit is contained in:
parent
507c6ff54c
commit
03f19cf3d2
1 changed files with 0 additions and 1 deletions
|
@ -842,7 +842,6 @@ if (isForwardRange!R && is(ElementType!R : dchar))
|
||||||
{
|
{
|
||||||
case '*', '?', '+', '|', '{', '}':
|
case '*', '?', '+', '|', '{', '}':
|
||||||
error("'*', '+', '?', '{', '}' not allowed in atom");
|
error("'*', '+', '?', '{', '}' not allowed in atom");
|
||||||
break;
|
|
||||||
case '.':
|
case '.':
|
||||||
if (re_flags & RegexOption.singleline)
|
if (re_flags & RegexOption.singleline)
|
||||||
g.put(Bytecode(IR.Any, 0));
|
g.put(Bytecode(IR.Any, 0));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue