Commit 46a4317a authored by bguillaum's avatar bguillaum
Browse files

"sequences" part is now optional

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/semagramme/libcaml-grew/trunk@8752 7838e531-6607-4d57-9587-6c381814729c
parent 614a219a
......@@ -196,22 +196,22 @@ gr_item:
/* GREW GRAPH REWRITING SYSTEM */
/*=============================================================================================*/
grs_with_include:
| f=features_group g=labels m=module_or_include_list s=sequences EOF
| f=features_group g=labels m=module_or_include_list s=option(sequences) EOF
{
{ Ast.domain_wi=f;
labels_wi=g;
modules_wi=m;
sequences_wi=s;
sequences_wi=match s with Some seq -> seq | None -> [];
}
}
grs:
| f=features_group g=labels m=modules s=sequences EOF
| f=features_group g=labels m=modules s=option(sequences) EOF
{
{ Ast.domain=f;
labels=g;
modules=m;
sequences=s;
sequences=match s with Some seq -> seq | None -> [];
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment