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

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

bug#39277: 26.3; Tcl font lock does not understand quoting


From: mvar
Subject: bug#39277: 26.3; Tcl font lock does not understand quoting
Date: Sat, 31 Oct 2020 13:01:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> How 'bout the patch below?
>
> Pushed to `master`,
>
>
>         Stefan


hi Stefan,

apologies for late reply, i needed a couple of days to work with the
patched tcl.el in my (disgustingly large) tcl codebase to be sure
nothing breaks & can confirm now. The original case is solved
(although the enclosed {"string} is not font-locked as string but i
wouldn't consider it an error) plus it fixes the following:

    proc foo4 () {
       puts "hello}"
    }

this was marked as valid before your changes but tclsh won't accept it
as such - the bracket } inside the string needs to be escaped when inside a proc
context (but as a plain statement there's no such requirement).

many thanks,
Michalis






reply via email to

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