Skip to content

Fix quoted comma assignments#13

Open
vamshikrishnaramasamy wants to merge 2 commits into
hedyorg:mainfrom
vamshikrishnaramasamy:fix/quoted-comma-assignment
Open

Fix quoted comma assignments#13
vamshikrishnaramasamy wants to merge 2 commits into
hedyorg:mainfrom
vamshikrishnaramasamy:fix/quoted-comma-assignment

Conversation

@vamshikrishnaramasamy

Copy link
Copy Markdown

Summary

  • parse quoted text assignments with commas as regular assignments from level 4 onward
  • keep unquoted comma assignments parsing as lists
  • add grammar regression coverage for levels 4 through 12

This fixes hedyorg/hedy#6468 and supersedes hedyorg/hedy#6593 by applying the fix in the source grammar repo.

Test

  • uv run pytest tests/test_grammar.py

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

Successfully merging this pull request may close these issues.

🪲 comma in variable always makes a list

1 participant