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

local-id is not defined in the symbol syntax #205

Closed
ZiyaoWei opened this issue Oct 6, 2023 · 0 comments · Fixed by #206
Closed

local-id is not defined in the symbol syntax #205

ZiyaoWei opened this issue Oct 6, 2023 · 0 comments · Fixed by #206

Comments

@ZiyaoWei
Copy link

ZiyaoWei commented Oct 6, 2023

scip.md defines the syntax for symbols as

<symbol>               ::= <scheme> ' ' <package> ' ' (<descriptor>)+ | 'local ' <local-id>

However, <local-id> is not defined in the same section. Can we add it? I imagine it would be \d+ but would be good to have it in the official spec.

Note: the current actually makes the syntax ambiguous since <local-id> could potentially contain anything, and <scheme> could be local - I don't anybody sane would do that but technically it is a source of confusion.

@ZiyaoWei ZiyaoWei changed the title local-id is not defined in the symbol grammar local-id is not defined in the symbol syntax Oct 6, 2023
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 a pull request may close this issue.

1 participant