]> git.eshelyaron.com Git - emacs.git/commit
semantic: Some C grammar optimizations
authorEric Ludlam <eric@siege-engine.com>
Fri, 16 Oct 2015 19:02:55 +0000 (15:02 -0400)
committerDavid Engster <deng@randomsample.de>
Sun, 22 Jan 2017 21:25:16 +0000 (22:25 +0100)
commitcfd71390b48366c62bb38022248198d2b388ea35
tree76540cc22a2b83da56d5829461165c7f80fe3f2c
parent6d6b045ab6a64480fd8266f7a727174cfec397e7
semantic: Some C grammar optimizations

* admin/grammars/c.y (typesimple): Optimize out one rule by making
 optional subparts.
 (typdef-symbol-list,typedef-symbol-list-opt-comma): Optimize symbol
 list so only parses typedefname once.
 (type,type-namespace): Optimize so we parse 'namespace' only once.
admin/grammars/c.by