Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
6f721bb0
Commit
6f721bb0
authored
2 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
[parser] remove unused prec directives
parent
57e2041c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/kernel_internals/parsing/logic_parser.mly
+9
-11
9 additions, 11 deletions
src/kernel_internals/parsing/logic_parser.mly
with
9 additions
and
11 deletions
src/kernel_internals/parsing/logic_parser.mly
+
9
−
11
View file @
6f721bb0
...
...
@@ -294,7 +294,6 @@
%
token
PI
%
right
prec_named
%
nonassoc
TYPENAME
%
nonassoc
prec_forall
prec_exists
prec_lambda
LET
%
right
QUESTION
prec_question
%
left
IFF
...
...
@@ -309,7 +308,6 @@
%
left
STARHAT
%
left
AMP
%
nonassoc
IN
%
left
LT
%
left
LTLT
GTGT
%
left
PLUS
MINUS
%
left
STAR
SLASH
PERCENT
...
...
@@ -761,8 +759,8 @@ logic_rt_type:
;
abs_spec_option
:
|
/*
empty
*/
%
prec
TYPENAME
{
fun
t
->
t
}
|
abs_spec
{
$
1
}
|
/*
empty
*/
{
fun
t
->
t
}
|
abs_spec
{
$
1
}
;
abs_spec_cv_option
:
...
...
@@ -772,12 +770,12 @@ abs_spec_cv_option:
abs_spec
:
|
tabs
{
$
1
}
|
stars
%
prec
TYPENAME
{
$
1
}
|
stars
tabs
{
fun
t
->
$
2
(
$
1
t
)
}
|
stars
abs_spec_bis
%
prec
TYPENAME
{
fun
t
->
$
2
(
$
1
t
)
}
|
stars
abs_spec_bis
tabs
{
fun
t
->
$
2
(
$
3
(
$
1
t
))
}
|
abs_spec_bis
tabs
{
fun
t
->
$
1
(
$
2
t
)
}
|
abs_spec_bis
%
prec
TYPENAME
{
$
1
}
|
stars
{
$
1
}
|
stars
tabs
{
fun
t
->
$
2
(
$
1
t
)
}
|
stars
abs_spec_bis
{
fun
t
->
$
2
(
$
1
t
)
}
|
stars
abs_spec_bis
tabs
{
fun
t
->
$
2
(
$
3
(
$
1
t
))
}
|
abs_spec_bis
tabs
{
fun
t
->
$
1
(
$
2
t
)
}
|
abs_spec_bis
{
$
1
}
;
abs_spec_cv
:
...
...
@@ -813,7 +811,7 @@ stars_cv:
;
tabs
:
|
LSQUARE
array_size
RSQUARE
%
prec
TYPENAME
|
LSQUARE
array_size
RSQUARE
{
fun
t
->
LTarray
(
t
,$
2
)
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment