Răsfoiți Sursa

Function names in selector addons are now lowercased

Taddeüs Kroes 11 ani în urmă
părinte
comite
bc931ce492
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      parser.mly

+ 1 - 1
parser.mly

@@ -239,7 +239,7 @@ pseudo:
   | COLON id=IDENT
   { ":" ^ (String.lowercase id) }
   | COLON f=FUNCTION args=wslist(COMMA, simple_selector) RPAREN
-  { ":" ^ f ^ "(" ^ String.concat "," args ^ ")" }
+  { ":" ^ String.lowercase f ^ "(" ^ String.concat "," args ^ ")" }
 
 declaration:
   | name=property S* COLON S* value=expr important=boption(ig2(IMPORTANT_SYM, S*))