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

allow multiple multiterms in top-level paramtext #451

Open
mengwong opened this issue Oct 6, 2023 · 0 comments
Open

allow multiple multiterms in top-level paramtext #451

mengwong opened this issue Oct 6, 2023 · 0 comments

Comments

@mengwong
Copy link
Contributor

mengwong commented Oct 6, 2023

currently a paramtext can have multiple multiterm expressions

pt1.mt1  pt1.mt2  pt1.mt2

UNLESS the paramtext contains nested params:

pt1.mt1
         pt2.mt1  pt2.mt2

Then we can't say

pt1.mt1  pt1.mt2
         pt2.mt1  pt2.mt2

Why? Because there is currently some fussiness in the parser around needing to detect an EOL token.

But sometimes the EOL token is not available; instead we simply have a sameline situation. In the above, pt1.mt2 pt2.mt1 are returned as immediate adjacencies in the input token stream. So the parser needs to handle that edge case.

And related edge cases, where pt1.mt3 extends beyond pt2.mt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant