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

[parser] enh: allow whitespace in Format specification #4060

Merged
merged 5 commits into from
May 25, 2024

Commits on May 22, 2024

  1. [parser] enh: allow whitespace in Format specification

    Blank characters may precede the initial left parenthesis of the
    format specification and additional blank characters may appear
    at any point within the format specification, with no effect on
    the interpretation of the format specification.
    
    e.g.; `(I 1 2)` is same as `(I12)` for format specification
    and are both valid.
    
    Earlier, we used to raise tokenizer error because of no support
    for it
    
    issue was initially raised in lfortran#4040
    gxyd committed May 22, 2024
    Configuration menu
    Copy the full SHA
    f04d84f View commit details
    Browse the repository at this point in the history
  2. update tests

    gxyd committed May 22, 2024
    Configuration menu
    Copy the full SHA
    b2c8b57 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2024

  1. Configuration menu
    Copy the full SHA
    2a292fc View commit details
    Browse the repository at this point in the history

Commits on May 25, 2024

  1. restore test case

    gxyd committed May 25, 2024
    Configuration menu
    Copy the full SHA
    bf15a9c View commit details
    Browse the repository at this point in the history
  2. add more tests for whitespace

    gxyd committed May 25, 2024
    Configuration menu
    Copy the full SHA
    526ed8b View commit details
    Browse the repository at this point in the history