We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Resubmission of #1862:
Error messages are not obvious. Maybe allow zero and one to be assigned the values 0 and 1, resp., repeatedly.
zero
one
0
1
test.pio:
.program test .origin 0 _0: zero: jmp skip _1: one: mov pins, ~pins skip: nop [1] out pc, 1 // effectively jmp _0 or jmp _1
$ ~/.pico-sdk/tools/2.0.0/pioasm/pioasm test.pio test.pio:4.1-4: syntax error, unexpected integer 4 | zero: | ^~~~ test.pio:7.1-3: syntax error, unexpected integer 7 | one: | ^~~
Similar for (obvious?) labels like clear, wait, status, etc., are mistaken as keywords:
clear
wait
status
.program test clear: wait: status: block:
$ ~/.pico-sdk/tools/2.0.0/pioasm/pioasm test.pio test.pio:2.1-5: syntax error, unexpected clear 2 | clear: | ^~~~~
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Resubmission of #1862:
Error messages are not obvious. Maybe allow
zero
andone
to be assigned the values0
and1
, resp., repeatedly.test.pio:
Similar for (obvious?) labels like
clear
,wait
,status
, etc., are mistaken as keywords:test.pio:
The text was updated successfully, but these errors were encountered: