Skip to content

Commit 0b1553b

Browse files
authored
Merge pull request #453 from zonuexe/php-mode-indentation-error
Add c-lang-defconst c-anchored-cpp-prefix
2 parents 05d7474 + d532062 commit 0b1553b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ env:
88
- EMACS_VERSION=emacs-25.2-travis
99
- EMACS_VERSION=emacs-25.3-travis
1010
- EMACS_VERSION=emacs-git-snapshot-travis
11-
matrix:
12-
allow_failures:
13-
- env: EMACS_VERSION=emacs-git-snapshot-travis
11+
# matrix:
12+
# allow_failures:
13+
# - env: EMACS_VERSION=emacs-git-snapshot-travis
1414

1515
before_install:
1616
- export PATH="/home/travis/.evm/bin:$PATH"

php-mode.el

+3
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,9 @@ In that case set to `NIL'."
486486
(c-lang-defconst c-opt-cpp-prefix
487487
php "\\s-*<\\?")
488488

489+
(c-lang-defconst c-anchored-cpp-prefix
490+
php "\\s-*\\(<\\?(=\\|\\sw+)\\)")
491+
489492
(c-lang-defconst c-identifier-ops
490493
php '(
491494
(left-assoc "\\" "::" "->")

0 commit comments

Comments
 (0)