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

Extract some methods from parse_match_pattern #254

Merged
merged 1 commit into from
Jul 24, 2019

Conversation

robinst
Copy link
Collaborator

@robinst robinst commented Jul 24, 2019

Makes it a bit less long and enables reuse later.

Makes it a bit less long and enables reuse later.
@@ -292,69 +292,22 @@ impl SyntaxDefinition {
}
}

fn resolve_variables(raw_regex: &str, state: &ParserState) -> String {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These two were just moved further down to make it a bit more consistent (the reading order of methods in the file is top down).

@trishume trishume merged commit ac851b8 into master Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants