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

Fix comments reggression #18

Merged
merged 1 commit into from
Sep 19, 2022
Merged

Fix comments reggression #18

merged 1 commit into from
Sep 19, 2022

Commits on Sep 5, 2022

  1. Fix comments reggression

    This PR fixes allan2#12
    
    Added a WhiteSpace ParseState and check for a comment after a
    whitespace. Also return the current position of the iter to correctly
    strip the comments of from the line to prevent quoted comments or
    non-whitespace surrounded hash chars.
    
    Also updated the tests to match these cases.
    And added an example code to easily show the output.
    BlackDex committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    1fe4ef0 View commit details
    Browse the repository at this point in the history