Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
106abed1
Commit
106abed1
authored
Sep 06, 2011
by
MARCHE Claude
Browse files
allow parentheses around type in exception declaration
parent
ccd9f169
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/parser/parser.mly
View file @
106abed1
...
...
@@ -1010,6 +1010,8 @@ program_decl:
{
Dexn
(
add_lab
$
2
$
3
,
None
)
}
|
EXCEPTION
uident
labels
primitive_type
{
Dexn
(
add_lab
$
2
$
3
,
Some
$
4
)
}
|
EXCEPTION
uident
labels
LEFTPAR
pure_type
RIGHTPAR
{
Dexn
(
add_lab
$
2
$
3
,
Some
$
5
)
}
|
USE
use_module
{
$
2
}
|
NAMESPACE
namespace_import
namespace_name
list0_program_decl
END
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment