aboutsummaryrefslogtreecommitdiffstats
path: root/Grammar.pp
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2013-09-20 14:29:55 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2013-09-20 14:29:55 +0200
commitbec66dd60ac5f3addd6e4c631e207badb7987818 (patch)
treeeb9b31cc309c010e4908ad2dbc642d83bd98ba55 /Grammar.pp
parent49d1f2ae3de6214f75bea56170f6d4e2f2ef84ad (diff)
downloadPraspel-bec66dd60ac5f3addd6e4c631e207badb7987818.zip
Praspel-bec66dd60ac5f3addd6e4c631e207badb7987818.tar.gz
Praspel-bec66dd60ac5f3addd6e4c631e207badb7987818.tar.bz2
A @behavior must contains a @requires.
Diffstat (limited to 'Grammar.pp')
-rw-r--r--Grammar.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Grammar.pp b/Grammar.pp
index db419f0..eea3f8a 100644
--- a/Grammar.pp
+++ b/Grammar.pp
@@ -151,6 +151,7 @@ behavior:
behavior_content:
<identifier> ::brace_::
+ requires() ::semicolon::+
(
(
requires()
@@ -159,7 +160,7 @@ behavior_content:
)
::semicolon::+
| ( behavior() ::semicolon::* )+ default()? ::semicolon::*
- )+
+ )*
::_brace:: #behavior
#default: