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
1699907b
Commit
1699907b
authored
Nov 04, 2015
by
POTTIER Francois
Browse files
Added an assertion that shows [prefix == prefix' && suffix == suffix'].
It passes. This will allow some serious simplification.
parent
b5fb13e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/nonTerminalDefinitionInlining.ml
View file @
1699907b
...
...
@@ -143,6 +143,7 @@ let inline grammar =
let
action'
,
(
used1'
,
used2'
)
=
Action
.
rename
renaming_env
phi
pb
.
action
in
assert
(
prefix
==
prefix'
&&
suffix
==
suffix'
);
let
prefix
=
if
used1
||
used1'
then
prefix'
else
prefix
in
let
suffix
=
if
used2
||
used2'
then
suffix'
else
suffix
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