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

Remove redundant condition #113

Merged
merged 2 commits into from
Feb 29, 2024
Merged

Remove redundant condition #113

merged 2 commits into from
Feb 29, 2024

Conversation

zoanana990
Copy link
Contributor

(c >= '0' && c <= '9') ? 1 : 0;

the condition is redundant

src/lexer.c Outdated Show resolved Hide resolved
@jserv jserv requested a review from vacantron February 29, 2024 02:08
@jserv jserv merged commit 10153eb into sysprog21:master Feb 29, 2024
4 checks passed
@jserv
Copy link
Collaborator

jserv commented Feb 29, 2024

Thank @zoanana990 for contributing!

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