Skip to content

Accepted upper case letters #74

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

Merged
merged 1 commit into from
Mar 3, 2021
Merged

Accepted upper case letters #74

merged 1 commit into from
Mar 3, 2021

Conversation

giacomo-b
Copy link
Contributor

@giacomo-b giacomo-b commented Mar 3, 2021

Introduced isalpha() from <ctype.h> to check if a character belongs to the alphabet. Previously, only lower case letters were allowed.

Also introduced isdigit(), since it is part of <ctype.h> and makes the code cleaner.

Introduced isalpha() from <ctype.h> to check if a character belongs to the alphabet. Previously, only lower case letters were allowed.
@codeplea codeplea merged commit 8d7ebbb into codeplea:master Mar 3, 2021
@codeplea
Copy link
Owner

codeplea commented Mar 3, 2021

I like this, and I don't really see any downsides. Thanks!

@codeplea
Copy link
Owner

codeplea commented Mar 3, 2021

There was another case on line 245. I updated that. I also changed the test cases that check for upper-case syntax errors and the documentation.

Thanks for your contribution!

@giacomo-b
Copy link
Contributor Author

giacomo-b commented Mar 4, 2021

Sorry, I completely missed the one on line 245.

Thanks for the code by the way, it's lightweight and I like how easily it gets the job done!

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