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

Updated alexer.py, fixed peek_next() #8

Closed
wants to merge 0 commits into from

Conversation

nguyengiabach1201
Copy link

It should be

if self.current + 1 >= len(self.source)

than

if self.current >= len(self.source)

(At line 84!)

Copy link

vercel bot commented May 14, 2024

@nguyengiabach1201 is attempting to deploy a commit to the Hack Club Team on Vercel.

A member of the Team first needs to authorize it.

@jianmin-chen
Copy link
Member

Hm, that doesn't seem right, since we're using the >= operator.

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.

None yet

2 participants