cisco: only use the EXTCOMMUNITY lexer mode in SET, not MATCH
@@ -2962,7 +2962,12 @@ EXTCOMM_LIST
EXTCOMMUNITY
:
- 'extcommunity' -> pushMode ( M_Extcommunity )
+ 'extcommunity'
+ {
+ if (lastTokenType == SET) {
+ pushMode(M_Extcommunity);
+ }
+ }
;
EXTCOMMUNITY_LIST
