aboutsummaryrefslogtreecommitdiffstats
path: root/Grammar.pp
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2014-01-03 16:57:27 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2014-01-03 16:57:27 +0100
commit97439a371308d0ed31acd0d79bc44248bb6a1d0f (patch)
tree0a025403b9a9625a328faead6fc9b630c43246b3 /Grammar.pp
parent4cc9c27d51073acffd750e3c4298cdab9bdd4c2f (diff)
downloadPraspel-97439a371308d0ed31acd0d79bc44248bb6a1d0f.zip
Praspel-97439a371308d0ed31acd0d79bc44248bb6a1d0f.tar.gz
Praspel-97439a371308d0ed31acd0d79bc44248bb6a1d0f.tar.bz2
The @description clause can be present anywhere.
Diffstat (limited to 'Grammar.pp')
-rw-r--r--Grammar.pp12
1 files changed, 7 insertions, 5 deletions
diff --git a/Grammar.pp b/Grammar.pp
index 29d5483..7682398 100644
--- a/Grammar.pp
+++ b/Grammar.pp
@@ -159,17 +159,19 @@ behavior_content:
)
::semicolon::+
| ( behavior() ::semicolon::* )+ default()? ::semicolon::*
+ | description() ::semicolon::*
)+
::_brace:: #behavior
#default:
::at_default:: ::brace_::
(
- (
- ensures()
- | throwable()
- )
- ::semicolon::+
+ (
+ ensures()
+ | throwable()
+ )
+ ::semicolon::+
+ | description() ::semicolon::*
)+
::_brace::