diff --git a/autotests/folding/highlight.pl.fold b/autotests/folding/highlight.pl.fold --- a/autotests/folding/highlight.pl.fold +++ b/autotests/folding/highlight.pl.fold @@ -73,3 +73,7 @@ ... } } + +# Highlight correctly operator // (bug #407327) +$x = ns // ""; +print $x; diff --git a/autotests/html/highlight.pl.html b/autotests/html/highlight.pl.html --- a/autotests/html/highlight.pl.html +++ b/autotests/html/highlight.pl.html @@ -79,4 +79,8 @@ ... } } + +# Highlight correctly operator // (bug #407327) +$x = ns // ""; +print $x; diff --git a/autotests/input/highlight.pl b/autotests/input/highlight.pl --- a/autotests/input/highlight.pl +++ b/autotests/input/highlight.pl @@ -73,3 +73,7 @@ ... } } + +# Highlight correctly operator // (bug #407327) +$x = ns // ""; +print $x; diff --git a/autotests/reference/highlight.pl.ref b/autotests/reference/highlight.pl.ref --- a/autotests/reference/highlight.pl.ref +++ b/autotests/reference/highlight.pl.ref @@ -73,3 +73,7 @@ ...
}
}
+
+# Highlight correctly operator // (bug #407327)
+$x = ns // "";
+print $x;
diff --git a/data/syntax/perl.xml b/data/syntax/perl.xml --- a/data/syntax/perl.xml +++ b/data/syntax/perl.xml @@ -39,7 +39,7 @@ Enhance tr/// and y/// support. --> - + if @@ -383,8 +383,11 @@ - - + + + + +