help-gnu-emacs
[Top][All Lists]
Advanced

[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 
<address@hidden>], who wrote in article <address@hidden>:
> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]