Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
menhir
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
POTTIER Francois
menhir
Commits
ffea9880
Commit
ffea9880
authored
Nov 04, 2015
by
POTTIER Francois
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Indentation.
parent
aa0fd778
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/partialGrammar.ml
src/partialGrammar.ml
+4
-4
No files found.
src/partialGrammar.ml
View file @
ffea9880
...
@@ -587,7 +587,7 @@ let join grammar pgrammar =
...
@@ -587,7 +587,7 @@ let join grammar pgrammar =
let
check_keywords
producers
action
=
let
check_keywords
producers
action
=
List
.
iter
(
fun
keyword
->
List
.
iter
(
fun
keyword
->
match
Positions
.
value
keyword
with
match
Positions
.
value
keyword
with
|
Position
(
RightNamed
id
,
_
,
_
)
->
|
Position
(
RightNamed
id
,
_
,
_
)
->
let
found
=
ref
false
in
let
found
=
ref
false
in
List
.
iter
(
fun
(
ido
,
_
)
->
List
.
iter
(
fun
(
ido
,
_
)
->
if
ido
.
value
=
id
then
found
:=
true
if
ido
.
value
=
id
then
found
:=
true
...
@@ -595,9 +595,9 @@ let check_keywords producers action =
...
@@ -595,9 +595,9 @@ let check_keywords producers action =
if
not
!
found
then
if
not
!
found
then
Error
.
errorp
keyword
Error
.
errorp
keyword
"%s refers to a nonexistent symbol."
id
"%s refers to a nonexistent symbol."
id
|
Position
(
Left
,
_
,
_
)
|
Position
(
Left
,
_
,
_
)
|
SyntaxError
->
|
SyntaxError
->
()
()
)
(
Action
.
pkeywords
action
)
)
(
Action
.
pkeywords
action
)
let
check_parameterized_grammar_is_well_defined
grammar
=
let
check_parameterized_grammar_is_well_defined
grammar
=
...
...
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