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 c9601d9 commit 96bf2b0Copy full SHA for 96bf2b0
php-mode.el
@@ -942,9 +942,10 @@ this ^ lineup"
942
(beginning-of-line)
943
(if (looking-at-p "\\s-*;\\s-*$") 0 '+)))
944
945
-(defconst php-heredoc-start-re
946
- "<<<\\(?:\\w+\\|'\\w+'\\)$"
947
- "Regular expression for the start of a PHP heredoc.")
+(eval-and-compile
+ (defconst php-heredoc-start-re
+ "<<<\\(?:\\w+\\|'\\w+'\\)$"
948
+ "Regular expression for the start of a PHP heredoc."))
949
950
(defun php-heredoc-end-re (heredoc-start)
951
"Build a regular expression for the end of a heredoc started by the string HEREDOC-START."
0 commit comments