Why "mismatched input" with variable shift amounts for <<
or >>
?
#245
-
Why is this syntactically correct:
but
throws a |
Beta Was this translation helpful? Give feedback.
Answered by
burgholzer
May 18, 2025
Replies: 1 comment
-
Essentially because your code is not a valid SyReC expression according to the SyReC EBNF grammar (see Section 2). |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Geremia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Essentially because your code is not a valid SyReC expression according to the SyReC EBNF grammar (see Section 2).
Shift statements expect numbers for the shift amount, not (input) signals.