Skip to content

Why can catch clauses not target the try_table block that declares them? #345

Answered by titzer
patrick96 asked this question in Q&A
Discussion options

You must be logged in to vote

This has been asked before. It's because the label that the try_table declares isn't valid until after the immediates have been all parsed. I think it makes the most conceptual sense to think of parsing an instruction and its immediates as an atomic operation that pushes a new label.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@patrick96
Comment options

Answer selected by patrick96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants