Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
POTTIER Francois
menhir
Commits
9b52be87
Commit
9b52be87
authored
Nov 04, 2015
by
POTTIER Francois
Browse files
Clarify a wildcard in a pattern matching.
parent
e2b9c66a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/action.ml
View file @
9b52be87
...
@@ -49,7 +49,7 @@ let rename_inlined_psym (psym, first_prod, last_prod) phi l =
...
@@ -49,7 +49,7 @@ let rename_inlined_psym (psym, first_prod, last_prod) phi l =
with
Not_found
->
s
with
Not_found
->
s
in
in
(
RightNamed
s'
,
w
)
,
(
used1
,
used2
)
(
RightNamed
s'
,
w
)
,
(
used1
,
used2
)
|
_
->
(
subject
,
where
)
,
(
used1
,
used2
)
|
Left
,
_
->
(
subject
,
where
)
,
(
used1
,
used2
)
in
in
let
from_pos
=
Keyword
.
posvar
subject
where
flavor
let
from_pos
=
Keyword
.
posvar
subject
where
flavor
and
to_pos
=
Keyword
.
posvar
subject'
where'
flavor
in
and
to_pos
=
Keyword
.
posvar
subject'
where'
flavor
in
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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