[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is this a bug in cperl mode
From: |
Ilya Zakharevich |
Subject: |
Re: Is this a bug in cperl mode |
Date: |
Sun, 16 Feb 2003 02:56:22 +0000 (UTC) |
[A complimentary Cc of this posting was sent to
Daniel Pfeiffer
<occitan@esperanto.org>], who wrote in article
<20030211222108.11234512.occitan@esperanto.org>:
> Here is a little snippet of (wrong!) Perl code, which shows what is needed
> to catch each of the font-lock errors:
> \$"asd"
> \$'asd'
> \$`asd`
$a = \$"->asd(\$"); # syntaxically correct
> $opt_s!asd!bsd!
This is OK with cperl-under-as-char TRUE.
> $opt::s!asd!bsd!
$opt::s = $foo = $bar =exe; # Warnings, but no error
> $opt{s}asd}bsd}
$opt{s} = ({asd => 1}, {bsd => 1});
> (s => ...)=bsd=
@a = (s => ...); $b = $bsd =exe;
> The fourth case is the one originally posted here. Both Ilya's and Emacs'
> modes fall into precisely the same traps.
Nope, the 4th one is OK with my version. In my experience, the others
appear much much rarer.
Ilya
Re: Is this a bug in cperl mode, Daniel Pfeiffer, 2003/02/11
Re: CPerl mode v5.0, Ilya Zakharevich, 2003/02/17
Re: CPerl mode v5.0, Ilya Zakharevich, 2003/02/17
Re: CPerl mode v5.0, Daniel Pfeiffer, 2003/02/19
Re: CPerl mode v5.0, Ilya Zakharevich, 2003/02/20