Explorar o código

Function names in selector addons are now lowercased

Taddeüs Kroes %!s(int64=11) %!d(string=hai) anos
pai
achega
bc931ce492
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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*))