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

error: could not compile at51. #5

Closed
FMehault opened this issue Jun 30, 2021 · 1 comment
Closed

error: could not compile at51. #5

FMehault opened this issue Jun 30, 2021 · 1 comment

Comments

@FMehault
Copy link

Hello,

I get an error when I do the cargo build:

Compiling at51 v0.4.2 (/home/toto/at51)
error: no rules expected the token `,`
   --> src/stat.rs:133:80
    |
133 |                 InsType::LJMP | InsType::LCALL | InsType::AJMP | InsType::ACALL,
    |                                                                                ^ no rules expected this token in macro call

error: aborting due to previous error

error: could not compile `at51`.

I think we juste have to remove the comma in src/stat.rs at line 133, and it works.

BR,

@8051Enthusiast
Copy link
Owner

Ah sorry, looks like trailing commas in matches macros only got introduced in rust version 1.48, i updated it so now it can now compile with rust version 1.43

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