Permalink
Browse files

[fix] syntax,js-like: delimitation of complete css

  • Loading branch information...
1 parent 9249d25 commit a06a0aec2388a4f1a970207e9e6bcac9d312b312 @OpaOnWindowsNow OpaOnWindowsNow committed with BourgerieQuentin Feb 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 opalang/js_syntax/css.trx
@@ -1,5 +1,5 @@
(*
- Copyright © 2011 MLstate
+ Copyright © 2011, 2012 MLstate
This file is part of OPA.
@@ -167,7 +167,7 @@ bloc_css <- paths:paths props_aux:props bloc_css?:o
map_add_merge pos paths props bloc_css
}}
-css_map <- Opa_lexer.CSS spacing bloc_css:v spacing {{ v }}
+css_map <- Opa_lexer.CSS Opa_lexer.lbrace spacing bloc_css:v Opa_lexer.rbrace spacing {{ v }}
/** global css definition **/
css <- (=deco(Opa_lexer.CSS)):p Opa_lexer.assign css_map:v

0 comments on commit a06a0ae

Please sign in to comment.