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

support string literals in version pragmas #839

Merged

Commits on Apr 10, 2024

  1. support string literals in version pragmas

    - the new grammar makes sure the structure of string literals matches the parent productions, so that it can be parsed using the same parser for later analysis.
    - also fixed a minor grammar bug where `||` was a precedence binary expression, instead of a separator of comparator sets (repeated list of base expressions).
    - removed the internal `extract_version_pragmas` API for now, since it is not used. Later, we will introduce the same functionality as a public API, based on the Rust AST when is ready.
    OmarTawfik committed Apr 10, 2024
    Configuration menu
    Copy the full SHA
    8f878e7 View commit details
    Browse the repository at this point in the history