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

Scan from line start when finding tag in tokenizer #12692

Closed

Commits on Oct 8, 2022

  1. Scan from line start when finding tag in tokenizer

    This resolves a crash that can occur for invalid bytes like carriage
    returns that are valid characters when not parsed from within literals.
    
    There are potentially other edge cases this could resolve as well, as
    the calling code for this function didn't account for any potential
    'pending_invalid_tokens' that could be queued up by the tokenizer from
    within another state.
    moosichu committed Oct 8, 2022
    Configuration menu
    Copy the full SHA
    06b994d View commit details
    Browse the repository at this point in the history