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

Helloshiv01 patch 1 #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Mar 5, 2023

  1. Code improvement

    Changes to the code
    helloshiv01 committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    3430142 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2023

  1. updated lex.c

    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.
    helloshiv01 committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    e59d452 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2023

  1. added license.md

    added license file which was deleted accidently.
    helloshiv01 committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    5cf2f69 View commit details
    Browse the repository at this point in the history