Skip to content

Gracefully Fail from Invalid Syntax #24

Description

@maedi

Running CSSPool against real-world poorly written syntax always results in errors like:

  • parse error on value "}\n" (RBRACE)
  • parse error on value ";" (SEMI)
  • And selectors with ":not" return a 'parse error on value ":not(" (error)'

How do I make CSSPool just skip over the rule_set that it is having difficulties with? Thereby keeping all the valid CSS objects.

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions