Commit cfccb863 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Added Comment constructor

parent 9a5848cf
......@@ -130,6 +130,8 @@ let rec string_of_statement = function
| Supports (condition, statements) ->
"@supports " ^ stringify_condition " " condition ^
block (cat "\n\n" string_of_statement statements)
| Comment text ->
"/*" ^ text ^ "*/"
let string_of_stylesheet = cat "\n\n" string_of_statement
......
......@@ -50,6 +50,8 @@ type statement =
(* @keyframes <id> { <rulesets> } *)
| Supports of condition * statement list
(* @supports <condition> { <rulesets> } *)
| Comment of string
(* /* ... */ *)
type stylesheet = statement list
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment