X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Fcontent_pres%2FcicNotationParser.ml;h=461e2fc9f755e9b0f868188ac4b535accd4b996d;hb=249d11773d32add20d665c4f8521b7380e4fec0a;hp=05075f0c3f2f9d8981747e913212fd3dcbcdd8e4;hpb=ec6924edf26b16a808a58bc26356b41450b29cfa;p=helm.git diff --git a/components/content_pres/cicNotationParser.ml b/components/content_pres/cicNotationParser.ml index 05075f0c3..461e2fc9f 100644 --- a/components/content_pres/cicNotationParser.ml +++ b/components/content_pres/cicNotationParser.ml @@ -457,10 +457,12 @@ EXTEND ] ]; match_pattern: [ - [ id = IDENT -> id, None, [] + [ id = IDENT -> Ast.Pattern (id, None, []) | LPAREN; id = IDENT; vars = LIST1 possibly_typed_name; RPAREN -> - id, None, vars - | id = IDENT; vars = LIST1 possibly_typed_name -> id, None, vars + Ast.Pattern (id, None, vars) + | id = IDENT; vars = LIST1 possibly_typed_name -> + Ast.Pattern (id, None, vars) + | SYMBOL "_" -> Ast.Wildcard ] ]; binder: [