Browse files

Fix order of elements in declaration headers for nested declarations.

  • Loading branch information...
1 parent e5de217 commit 3f7befec7a85d0af987dd7da87b33546ba3a45c4 @samoht committed Nov 30, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/css.ml
View
2 lib/css.ml
@@ -89,7 +89,7 @@ module Css = struct
| [], [] -> []
| [p],[]
| [],[p] -> [p]
- | p1,p2 -> List.map (fun e1 -> List.flatten (List.map (fun e2 -> e1 @ e2) p1)) p2
+ | p1,p2 -> List.map (fun e2 -> List.flatten (List.map (fun e1 -> e1 @ e2) p1)) p2
let shift p = function
| [ Decl (path, body) ] -> Decl (concat_paths p path, body)

0 comments on commit 3f7befe

Please sign in to comment.