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
bb587a37
Commit
bb587a37
authored
Jul 03, 2018
by
POTTIER Francois
Browse files
Comment.
parent
f2f8dd2a
Changes
1
Show whitespace changes
Inline
Side-by-side
src/keywordExpansion.ml
View file @
bb587a37
...
...
@@ -198,10 +198,10 @@ let expand_round f action =
KeywordSet
.
fold
f
(
Action
.
keywords
action
)
action
(* [expand_action] performs macro-expansion in [action]. We do this in several
rounds: first, expand the [loc] keywords away
,
then expand the [ofs]
keywords away; then, expand [symbolstart] away; then, expand the rest. We
do
this in this order because each round can cause new keywords to appear,
which
must eliminated by the following rounds. *)
rounds: first, expand the [loc] keywords away
;
then
,
expand the [ofs]
keywords away; then, expand [symbolstart] away; then, expand the rest. We
do
this in this order because each round can cause new keywords to appear,
which
must eliminated by the following rounds. *)
let
expand_action
analysis
producers
action
=
let
n
=
List
.
length
producers
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