Skip to content

Commit 51f30f4

Browse files
committed
Remove unnecessary syntax-propertize-rules
1 parent 72f4ae0 commit 51f30f4

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

php-mode.el

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,12 +1000,7 @@ this ^ lineup"
10001000
(while (re-search-forward "['\"]" end t)
10011001
(when (php-in-comment-p)
10021002
(c-put-char-property (match-beginning 0)
1003-
'syntax-table (string-to-syntax "_"))))
1004-
(funcall
1005-
(syntax-propertize-rules
1006-
("\\(\"\\)\\(\\\\.\\|[^\"\n\\]\\)*\\(\"\\)" (1 "\"") (3 "\""))
1007-
("\\('\\)\\(\\\\.\\|[^'\n\\]\\)*\\('\\)" (1 "\"") (3 "\"")))
1008-
start end))
1003+
'syntax-table (string-to-syntax "_")))))
10091004

10101005
(defun php-heredoc-syntax ()
10111006
"Mark the boundaries of searched heredoc."

0 commit comments

Comments
 (0)