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

[CSS] Missing tokens on invalid input #3573

Closed
ris58h opened this issue Jun 30, 2023 · 0 comments
Closed

[CSS] Missing tokens on invalid input #3573

ris58h opened this issue Jun 30, 2023 · 0 comments
Labels

Comments

@ris58h
Copy link
Contributor

ris58h commented Jun 30, 2023

Input:

[f='] {}

Note that there is only one single quotation mark so the input is invalid.

Error:

line 1:3 token recognition error at: ''] {}\n'

Tokens:

[[@0,0:0='[',<10>,1:0], [@1,1:1='f',<61>,1:1], [@2,2:2='=',<11>,1:2], [@3,9:8='<EOF>',<-1>,2:0]]

Note that there are only 4 tokens [[, f, =, <EOF>] and there are no tokens from 3 to 8 offsets.

ris58h added a commit to ris58h/grammars-v4 that referenced this issue Jun 30, 2023
@KvanTTT KvanTTT added the css label Jun 30, 2023
ris58h added a commit to ris58h/WebCalm that referenced this issue Jun 30, 2023
ris58h added a commit to ris58h/WebCalm that referenced this issue Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants