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
4cdd6903
Commit
4cdd6903
authored
Oct 19, 2015
by
POTTIER Francois
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated a misleading comment.
parent
7f8bc1de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/partialGrammar.ml
src/partialGrammar.ml
+3
-1
No files found.
src/partialGrammar.ml
View file @
4cdd6903
...
...
@@ -672,7 +672,9 @@ let check_parameterized_grammar_is_well_defined grammar =
StringMap
.
iter
(
check_identifier_reference
grammar
prule
)
(
List
.
fold_left
Parameters
.
identifiers
StringMap
.
empty
parameters
);
(* Check the %prec is a valid reference to a token. *)
(* If this producer seems to be a reference to a token, make sure it
is a real token, as opposed to a pseudo-token introduced in a
priority declaration. *)
(
try
if
not
((
StringMap
.
find
s
grammar
.
p_tokens
)
.
tk_is_declared
||
List
.
mem
s
reserved
)
then
...
...
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