You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be a clearer if you had a separate lexer which outputs objects like {label|data|instr}.
These could then be handled separately instead of if validLabel etc in pass.
This would separate logic of knowing line number from instruction function.
Could also add peekAhead to avoid need for std::next in label prefix offsets.
The text was updated successfully, but these errors were encountered:
It would be a clearer if you had a separate lexer which outputs objects like
{label|data|instr}
.These could then be handled separately instead of
if validLabel
etc in pass.This would separate logic of knowing line number from instruction function.
Could also add
peekAhead
to avoid need forstd::next
in label prefix offsets.The text was updated successfully, but these errors were encountered: