Skip to content

[css-syntax] 4.3.5 Consume a string token: double parse error #1494

@waldbaerkoch

Description

@waldbaerkoch

Input:

"foo\<EOF>

" triggers 4.3.5 Consume a string token. There, after having consumed foo:
Next code point is

  • U+005C REVERSE SOLIDUS (\)
    • If the next input code point is EOF (yes), this is a parse error (1st time); do nothing.

Next code point is

  • EOF
    • This is a parse error (2nd time). Return the .

So parse error is invoked twice. The occurence in U+005C REVERSE SOLIDUS (\) is not necessary.

Johannes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions