Remove unreachable duplicate (?#...) parsing code from S_reg()
authorNicholas Clark <nick@ccl4.org>
Mon, 14 Jan 2013 08:46:48 +0000 (09:46 +0100)
committerNicholas Clark <nick@ccl4.org>
Tue, 19 Mar 2013 10:53:18 +0000 (11:53 +0100)
commit504858073fe16afb61d66a8b6748851780e51432
treedc11848902dc677b5ba4fc53856db3abfa2bacb0
parent8cdde9f826664af3e1c4c5f5f1bd9642d7aee812
Remove unreachable duplicate (?#...) parsing code from S_reg()

I believe that this code was rendered unreachable when perl 5.001 added
code to S_nextchar() to skip over embedded comments. Adrian Enache noted
this in March 2003, and proposed a patch which removed it. See
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-03/msg00840.html

The patch wasn't applied at that time, and when he sent it again August,
he omitted that hunk. See
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-08/msg01820.html

That version was applied as commit e994fd663a4d8acc.
regcomp.c