Skip to content

Commit

Permalink
Merge pull request #453 from zonuexe/php-mode-indentation-error
Browse files Browse the repository at this point in the history
Add c-lang-defconst c-anchored-cpp-prefix
  • Loading branch information
zonuexe authored Apr 7, 2018
2 parents 05d7474 + d532062 commit 0b1553b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ env:
- EMACS_VERSION=emacs-25.2-travis
- EMACS_VERSION=emacs-25.3-travis
- EMACS_VERSION=emacs-git-snapshot-travis
matrix:
allow_failures:
- env: EMACS_VERSION=emacs-git-snapshot-travis
# matrix:
# allow_failures:
# - env: EMACS_VERSION=emacs-git-snapshot-travis

before_install:
- export PATH="/home/travis/.evm/bin:$PATH"
Expand Down
3 changes: 3 additions & 0 deletions php-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,9 @@ In that case set to `NIL'."
(c-lang-defconst c-opt-cpp-prefix
php "\\s-*<\\?")

(c-lang-defconst c-anchored-cpp-prefix
php "\\s-*\\(<\\?(=\\|\\sw+)\\)")

(c-lang-defconst c-identifier-ops
php '(
(left-assoc "\\" "::" "->")
Expand Down

0 comments on commit 0b1553b

Please sign in to comment.