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

Incorrect operator precedence in CA expressions #259

Closed
slavek-kucera opened this issue Apr 28, 2022 · 0 comments
Closed

Incorrect operator precedence in CA expressions #259

slavek-kucera opened this issue Apr 28, 2022 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@slavek-kucera
Copy link
Contributor

Describe the bug

        MACRO
        TEST    &A,&B 
        AIF     (&A EQ 0 OR &A EQ 1 AND &B EQ 1).END    
        MNOTE   8,'ERROR'
.END    ANOP
        MEND

        TEST    0,0
        TEST    0,1
*       TEST    1,0     ONLY THIS ONE SHOULD GENERATE AN ERROR
        TEST    1,1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants