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

Added some reference links to parser

parent 8818b317
...@@ -2,13 +2,17 @@ ...@@ -2,13 +2,17 @@
(* CSS grammar based on: (* CSS grammar based on:
* - http://www.w3.org/TR/CSS2/grammar.html * - http://www.w3.org/TR/CSS2/grammar.html
* - http://www.w3.org/TR/css3-mediaqueries/ * - http://www.w3.org/TR/css3-mediaqueries/
* - http://www.w3.org/TR/css3-fonts/
* - http://www.w3.org/TR/css3-namespace/
* - http://www.w3.org/TR/css3-animations/
* - http://www.w3.org/TR/css3-conditional/
*) *)
open Lexing open Lexing
open Types open Types
(* TODO: move this to utils *)
let ( |> ) a b = b a let ( |> ) a b = b a
(* TODO: move this to utils *)
let rec filter_none = function let rec filter_none = function
| [] -> [] | [] -> []
| None :: tl -> filter_none tl | None :: tl -> filter_none tl
......
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