Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
POTTIER Francois
menhir
Commits
cca9e4f5
Commit
cca9e4f5
authored
Jan 02, 2015
by
POTTIER Francois
Browse files
Fixed the public definition of the type [production] in [Inspection].
parent
064148f8
Changes
3
Show whitespace changes
Inline
Side-by-side
src/interface.ml
View file @
cca9e4f5
...
...
@@ -130,8 +130,8 @@ let inspection_api grammar () =
IIInclude
(
with_types
WKDestructive
"MenhirLib.IncrementalEngine.INSPECTION"
[
"
xsymbol
"
,
TypApp
(
"xsymbol"
,
[]
);
(* TEMPORARY *)
"production"
,
tint
(* TEMPORARY *
)
SymbolType
.
tc
xsymbol
,
SymbolType
.
txsymbol
;
"production"
,
TypApp
(
"MenhirInterpreter.production"
,
[]
)
]
)
::
...
...
src/symbolType.mli
View file @
cca9e4f5
...
...
@@ -16,6 +16,7 @@ val symbolgadtdef: unit -> IL.interface
GADT above. Thus, it is not parameterized. *)
val
dataX
:
string
val
tcxsymbol
:
string
val
txsymbol
:
IL
.
typ
val
xsymboldef
:
unit
->
IL
.
interface
src/tableInterpreter.mli
View file @
cca9e4f5
...
...
@@ -16,6 +16,7 @@ module Make (T : TableFormat.TABLES)
:
EngineTypes
.
ENGINE
with
type
state
=
int
and
type
token
=
T
.
token
and
type
semantic_value
=
Obj
.
t
and
type
production
=
int
(* This functor is also invoked inside the generated parser. It
constructs the inspection API on top of the inspection tables. *)
...
...
Write
Preview
Supports
Markdown
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