-
Notifications
You must be signed in to change notification settings - Fork 41
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
Helloshiv01 patch 1 #11
base: master
Are you sure you want to change the base?
Conversation
Changes to the code
The use of isspace() function from ctype.h instead of checking for space and newline characters separately. The use of a while loop instead of a do-while loop when scanning identifier names to avoid writing to the array out-of-bounds if the identifier name exceeds the maximum length. The use of isdigit() function from ctype.h instead of checking if a character is a digit by comparing it to characters '0' to '9'. The use of a switch statement to handle the different cases of characters that can be encountered in the input. The lookahead() function has been simplified by returning the value returned by the lex() function directly.
LICENSE.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed LICENSE.md ruins the build, accidental removal?
The rest is awesome! 👍
yes it was accidental i am really sorry |
It's okay, I haven't merged it yet. Can you please revert it back and I'll accept your PR as whole? |
added license file which was deleted accidently.
done. |
I run the build ( |
error handling and error recovery