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

Make lexer easier to understand. #28

Merged
merged 1 commit into from
Nov 20, 2020
Merged

Make lexer easier to understand. #28

merged 1 commit into from
Nov 20, 2020

Conversation

plusvic
Copy link
Member

@plusvic plusvic commented Nov 20, 2020

The logic that collects the text for strings and regular expressions have been simplified by removed the boolean variable collectText. Also, instead of using the same variable "text" for both strings and regular expressions, two separate variables "str" and "regexp" are used now for better legibility.

The logic that collects the text for strings and regular expressions have been simplified by removed the boolean variable collectText. Also, instead of using the same variable "text" for both strings and regular expressions, two separate variables "str" and "regexp" are used now for better legibility.
@plusvic plusvic merged commit 3a3fe7f into master Nov 20, 2020
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.

2 participants