diff --git a/.travis.yml b/.travis.yml index f8974af3..2849d37a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" diff --git a/php-mode.el b/php-mode.el index 06fc7343..3bf375a4 100644 --- a/php-mode.el +++ b/php-mode.el @@ -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 "\\" "::" "->")