We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 828d2c1 commit 5ee9af5Copy full SHA for 5ee9af5
php-mode.el
@@ -1021,7 +1021,8 @@ this ^ lineup"
1021
(not (php-in-string-or-comment-p))
1022
(not (looking-at "[[]")))
1023
(c-put-char-property (1- (point)) 'syntax-table (string-to-syntax "<"))
1024
- (c-put-char-property line-end 'syntax-table (string-to-syntax ">")))
+ (unless (eq line-end (point-max))
1025
+ (c-put-char-property line-end 'syntax-table (string-to-syntax ">"))))
1026
(move-beginning-of-line 2)
1027
(setq in-last-line (>= line-end (point)))))))
1028
0 commit comments