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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13541: 24.2.92; awk-mode: wrong font locking regexp literals


From: Leo Liu
Subject: bug#13541: 24.2.92; awk-mode: wrong font locking regexp literals
Date: Fri, 25 Jan 2013 09:20:19 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.92 (OS X 10.8.2)

On 2013-01-25 06:16 +0800, Alan Mackenzie wrote:
> This is a real bug, perhaps not a difficult one.  "/regexp/" is an
> expression with value 1 iff the current input line matches the regexp.
> So a line like
>
>     NF { print /xyz/ }
>
> is perfectly legitimate, printing 1 if there's an "xyz" on the line.
>
> I'm looking at this bug at the moment.

Thanks to all for chiming in.

Alan, I also have another seemingly buglet about indentation.

Every line after a pattern-action pair like the following one (where
action is omitted) is indented to column 4, i.e. it doesn't recognise a
newline terminates a pattern.

$0 == "Emacs"
    |
    all following lines indented here

(this might be regression, I seem to recall reporting something along
these lines some while ago.)

Leo





reply via email to

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