Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

efx-grammar: Remove unneeded alternative in a parser rule (TEDEFO-3718) #1017

Merged
merged 1 commit into from
Sep 17, 2024

Commits on Sep 10, 2024

  1. efx-grammar: Remove unneeded alternative in a parser rule (TEDEFO-3718)

    In the fieldReference parser rule, having a direct reference to
    fieldReferenceWithFieldContextOverride is not needed, because
    fieldReferenceInOtherNotice can also match it with a chain of rules.
    
    So removing this unneeded reference removes the ambiguity in the
    rule, which reduces the parsing time, as the parser does not spend
    time looking ahead and then backtracking.
    
    This does not change the result of the translation.
    bertrand-lorentz committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    6ca5b0a View commit details
    Browse the repository at this point in the history