Skip to content

Commit

Permalink
Merge pull request #1017 from OP-TED/efx-grammar-optimisation
Browse files Browse the repository at this point in the history
efx-grammar: Remove unneeded alternative in a parser rule (TEDEFO-3718)
  • Loading branch information
bertrand-lorentz authored Sep 17, 2024
2 parents b8dcead + 6ca5b0a commit beeb863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion efx-grammar/Efx.g4
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ contextVariableSpecifier: variable=variableReference ColonColon;
* It looks more "complicated" but it is necessary for parsing (see fieldReferenceWithFieldContextOverride).
*/
attributeReference:fieldReference SlashAt Identifier;
fieldReference: fieldReferenceWithFieldContextOverride | fieldReferenceInOtherNotice | absoluteFieldReference;
fieldReference: fieldReferenceInOtherNotice | absoluteFieldReference;
fieldReferenceInOtherNotice: (noticeReference Slash)? reference=fieldReferenceWithVariableContextOverride;
fieldReferenceWithVariableContextOverride: contextVariableSpecifier? reference=fieldReferenceWithNodeContextOverride;
fieldReferenceWithNodeContextOverride: contextNodeSpecifier? reference=fieldReferenceWithFieldContextOverride;
Expand Down

0 comments on commit beeb863

Please sign in to comment.