]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Fix spurious recognition of operators beginning with, e.g. "or"
authorAlan Mackenzie <acm@muc.de>
Fri, 2 Aug 2019 12:57:40 +0000 (12:57 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 2 Aug 2019 12:57:40 +0000 (12:57 +0000)
commit87ec668e95084af45bec010de36493fb90a26461
treeac8016b7b3ec328ebf07b3910039b348e3dd9b28
parent3975eb46150a6c896319b350112c036c678cfc38
CC Mode: Fix spurious recognition of operators beginning with, e.g. "or"

This fixes bug #36801.

* lisp/progmodes/cc-langs.el (c-pre-lambda-tokens-re): Use c-make-keywords-re
rather than regexp-opt to make an optimised regexp out of a list of tokens.
lisp/progmodes/cc-langs.el