mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-30 02:33:03 -07:00
Adapt to perl 5
Copied from Perforce Change: 18495 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
7b2ca5daf3
commit
3a6774df08
1 changed files with 2 additions and 2 deletions
|
|
@ -76,10 +76,10 @@ sub readvals {
|
|||
%keyvalues = ();
|
||||
%keyrelations = ();
|
||||
|
||||
s/([^\/]);/\1;;/g;
|
||||
s/([^\/]);/$1;;/g;
|
||||
|
||||
foreach (split(/\s*;;\s*/)) {
|
||||
s/\\(\\|;)/\1/g;
|
||||
s/\\(\\|;)/$1/g;
|
||||
|
||||
if (m/^\W*(\w+)\s*($relations)\s*(.+)\s*/) {
|
||||
$keyvalues{$1} = $3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue