Subject: bug#66660: [PATCH] Fix dns-mode-syntax-table

From: Stefan Kangas <[email-masked]>
Date: Sat, 21 Oct 2023 02:15:58 -0700

Lassi Kortela <[email-masked]> writes:

> Attached is a simple fix to the syntax highlighting of dns-mode.
>
> The patch highlights double-quoted strings as specified in RFC 1035.	

Thanks for the patch.

Could you provide an example of something which is incorrectly
highlighted, briefly explain what is wrong before your patch, and what
your patch does?  Thanks again.

> --- dns-mode.el.orig	2023-10-20 19:12:43.000000000 +0300
> +++ dns-mode.el	2023-10-20 19:13:01.000000000 +0300
> @@ -137,6 +137,8 @@
>    (let ((table (make-syntax-table)))
>      (modify-syntax-entry ?\; "<   " table)
>      (modify-syntax-entry ?\n ">   " table)
> +    (modify-syntax-entry ?\" "\"" table)
> +    (modify-syntax-entry ?\\ "\\" table)
>      table)
>    "Syntax table in use in DNS master file buffers.")
>