emacs-devel
[Top][All Lists]
Advanced

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

Re: master 17a950c: Fix comment end delimiter fontification in OPascal m


From: Stefan Monnier
Subject: Re: master 17a950c: Fix comment end delimiter fontification in OPascal mode
Date: Tue, 11 May 2021 12:02:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> @@ -1766,6 +1766,7 @@ Coloring:
>    (setq-local syntax-propertize-function opascal--syntax-propertize)
>  
>    (setq-local comment-start "// ")
> +  (setq-local comment-end "}")
>    (setq-local comment-start-skip "\\(?://\\|(\\*\\|{\\)[ \t]*")
>    (setq-local comment-end-skip "[ \t]*\\(?:\n\\|\\*)\\|}\\)"))
>  

That can't be right, right?
OPascal supports many different kinds of comment syntaxes, but //...} is
not one of them, AFAIK.


        Stefan




reply via email to

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