diff --git a/context-free-parser.js b/context-free-parser.js index a6e27d4..15af98f 100644 --- a/context-free-parser.js +++ b/context-free-parser.js @@ -61,6 +61,13 @@ entities.push(current); break; + // an entity may *not* use these values, interfering with the sub-features below + case 'attributes': + case 'methods': + case 'events': + case 'properties': + break; + // an entity may have these describable sub-features case 'attribute': case 'property':