Skip to content

Commit

Permalink
parser: add support for AlreadyASig
Browse files Browse the repository at this point in the history
  • Loading branch information
trefis committed Mar 15, 2017
1 parent 94ee5fb commit 441d9b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/docOckXmlParser.mly
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ let relax_class_type_reference cltyp =
%}

%token ALIAS
%token ALREADY_A_SIG
%token ANY
%token APPLY
%token ARGUMENTS
Expand Down Expand Up @@ -1108,6 +1109,7 @@ expansion_opt:
module_expansion_opt:
| opt = expansion_opt
{ match opt with None -> None | Some sg -> Some (Module.Signature sg) }
| EXPANSION ALREADY_A_SIG CLOSE { Some Module.AlreadyASig }
| EXPANSION FUNCTOR args = module_argument* SIGNATURE sg = signature_item* CLOSE CLOSE CLOSE
{ Some (Module.Functor (args, sg)) }

Expand Down

0 comments on commit 441d9b5

Please sign in to comment.