Skip to content

Grammar: Add 'c' to compass point values #309

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ferdnyc
Copy link

@ferdnyc ferdnyc commented Jun 23, 2025

Fixes #307

The grammar also lists _ in the list of values, but I can't tell if that's a literal underscore or some sort of placeholder, because a note just below also says this:

Note also that the allowed compass point values are not keywords, so these strings can be used elsewhere as ordinary identifiers and, conversely, the parser will actually accept any identifier.

Edit: Added some tests, as well. Confirmed that they pass on the branch, but fail if I manually revert 56059ae.

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.

Center "c" compass point is missing from the grammar
1 participant