]> git.eshelyaron.com Git - emacs.git/commit
semantic: Parse C++ override/final correctly
authorRamkumar Ramachandra <artagnon@gmail.com>
Sat, 17 Jan 2015 22:43:57 +0000 (17:43 -0500)
committerDavid Engster <deng@randomsample.de>
Sun, 22 Jan 2017 21:25:16 +0000 (22:25 +0100)
commitf3674d05e58768c41ed2383563ccb44300bd5d49
treefd0ac3cf2d6707bde6ffeb8588535b39393999b5
parentb4bcc8424f96db6d3357cc0ba5c45fcaedf6f0d3
semantic: Parse C++ override/final correctly

override and final are a perfectly good opt-post-fcn-modifiers in
C++. Parse them correctly.

* admin/grammars/c.by (post-fcn-modifiers): Add tokens OVERRIDE and
  FINAL.
* lisp/cedet/semantic/bovine/c.el (semantic-c-reconstitute-token): Add
  :override-flag and :final-flag.

Copyright-paperwork-exempt: yes
admin/grammars/c.by
lisp/cedet/semantic/bovine/c.el