GNU bug report logs -
#39277
26.3; Tcl font lock does not understand quoting
Previous Next
Reported by: Hadrien Lacour <hadrien.lacour <at> posteo.net>
Date: Sat, 25 Jan 2020 10:01:02 UTC
Severity: normal
Tags: fixed
Found in version 26.3
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>
>> And what about
>>
>> proc foo3 () {
>> puts "hello}"
>> }
>>
>> proc foo4 () {
>> puts "hello\}"
>> }
>>
>> proc foo5 () {
>> puts "hello
>> }
>
> It's fortunately been a couple of decades since I wrote Tcl, and... I
> don't remember. :-/
>
>> Won't this catch cases not usually considered as strings, like
>>
>> proc foo5 () {
>> return 6
>> }
>
> Yup. I'll revert the patch and reopen this bug report.
thank you Lars for reverting, this didn't feel right anyway. I'll try to come up
with some more elegant solution or at least find some way to skip
breaking the other locks - for example moving the tcl-font-lock-keywords
regexp to the end of that list solves the problem Stefan mentioned but it
still doesn't address what Andreas pointed out, i.e. proc test (args) will
have args locked as a string.
btw to answer your previous email, i'd like to sign the copyright paperwork
thanks,
Michalis
This bug report was last modified 4 years and 259 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.