> This code below confuses perl-mode. The comma in split /,/, ...  causes
> everything after it to be indented and hi-lighted wrong.

> If I change the , to an X it is ok. Also if I put () around the split args
> it is ok.

I recommend you put parens around the args.

> I am running with the last set of perl-mode and font-lock patches you sent.

> @{$Master{$activeNameSpace}{View}{$viewName}{types}} = split /,/, $viewTypes 
> if ($numFields==5);

The problem here is that perl-mode fails to recognize that the first / is not
a division sign.  I'll see if I can spice up the regexps to try and deal
with such cases, but in general it's pretty difficult.


        Stefan



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to