Skip to content

bug: doesn't parse color: #67BA6A\9 #83

@wetneb

Description

@wetneb

Did you check existing issues?

  • I have read all the tree-sitter docs if it relates to using the parser
  • I have searched the existing issues of tree-sitter-css

Tree-Sitter CLI Version, if relevant (output of tree-sitter --version)

No response

Describe the bug

This is valid CSS:

.test { color: #67BA6A\9; }

Steps To Reproduce/Bad Parse Tree

Parse the above.

Expected Behavior/Parse Tree

Like without the escape sequence.

Repro

.foo {
  color: #67BA6A\9;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions