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

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

bug#35646: In SQL mode /- incorrectly starts a comment


From: Kristian Hole
Subject: bug#35646: In SQL mode /- incorrectly starts a comment
Date: Sun, 27 Oct 2019 21:48:26 +0100

Attached is a patch that fixes this by using the following syntax-propertize-function:

(set (make-local-variable 'syntax-propertize-function)
     (syntax-propertize-rules
      ("\\(/-\\)" (1 "."))
      ("\\(-\\*\\)" (1 "."))))

Adds sql-mode syntax propertize rules to fix comment highlighting

Fixes the issue where -* and /- incorrectly starts comments
in SQL mode Bug(#35646). This is done by adding a
syntax-propertize-function to sql-mode.

Attachment: 0001-Adds-sql-mode-syntax-propertize-rules-to-fix-comment.patch
Description: Binary data


reply via email to

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