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
8e553747
Commit
8e553747
authored
4 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
[parser] Fix long-standing shift/reduce conflict in logic parser
original issue introduced here:
b9a1eb43
parent
5baea9a0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
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
+5
-2
5 additions, 2 deletions
src/kernel_internals/parsing/logic_parser.mly
with
5 additions
and
2 deletions
src/kernel_internals/parsing/logic_parser.mly
+
5
−
2
View file @
8e553747
...
@@ -720,9 +720,12 @@ cv:
...
@@ -720,9 +720,12 @@ cv:
;
;
type_spec_cv
:
type_spec_cv
:
type_spec
{
$
1
}
type_spec
cv_after
{
$
2
$
1
}
|
cv
type_spec_cv
{
LTattribute
(
$
2
,
$
1
)
}
|
cv
type_spec_cv
{
LTattribute
(
$
2
,
$
1
)
}
|
type_spec_cv
cv
{
LTattribute
(
$
1
,
$
2
)
}
cv_after
:
/*
empty
*/
{
fun
t
->
t
}
|
cv
cv_after
{
fun
t
->
$
2
(
LTattribute
(
t
,$
1
))
}
cast_logic_type
:
cast_logic_type
:
|
type_spec_cv
abs_spec_cv_option
{
$
2
$
1
}
|
type_spec_cv
abs_spec_cv_option
{
$
2
$
1
}
...
...
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