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

[Question] E011: Expected do near B10000000 #226

Closed
kylechui opened this issue Aug 11, 2022 · 2 comments
Closed

[Question] E011: Expected do near B10000000 #226

kylechui opened this issue Aug 11, 2022 · 2 comments

Comments

@kylechui
Copy link

Hi there, I've written a short snippet of Lua and I can't seem to understand why luacheck keeps throwing this error on the first line:

while byte >= 0B10000000 and byte < 0B11000000 do
    pos[2] = pos[2] - 1
    byte = string.byte(M.get_line(pos[1]):sub(pos[2], pos[2]))
end

image

Any help would be appreciated, and thanks for writing such a great piece of software!

@alerque
Copy link

alerque commented Aug 11, 2022

Per #198 the canonical upstream repository for this project is now https://github.com/lunarmodules/luacheck. Please close this issue (since nobody else with permissions can do so here) and copy this content to a new issue on the Lunarmodules repo. Also include the output of luacheck --version in your report.

@kylechui
Copy link
Author

Ah, sorry about that. I'll do so right now

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

No branches or pull requests

2 participants