Skip to content
Snippets Groups Projects
Commit cfccb863 authored by Taddeüs Kroes's avatar Taddeüs Kroes
Browse files

Added Comment constructor

parent 9a5848cf
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment