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
cduce
cduce
Commits
0bd7b185
Commit
0bd7b185
authored
Oct 05, 2007
by
Pietro Abate
Browse files
[r2002-11-26 22:03:16 by cvscast] Empty log message
Original author: cvscast Date: 2002-11-26 22:03:16+00:00
parent
ea3e43dd
Changes
2
Hide whitespace changes
Inline
Side-by-side
driver/cduce.ml
View file @
0bd7b185
...
...
@@ -114,10 +114,10 @@ let debug ppf = function
Format
.
fprintf
ppf
"[DEBUG:normal_record]@
\n
"
;
let
t
=
Types
.
Record
.
get
(
Types
.
descr
(
Typer
.
typ
!
glb_env
t
))
in
match
Types
.
Record
.
first_label
t
with
|
`Fail
->
Format
.
fprintf
ppf
"Empty"
|
`Success
->
Format
.
fprintf
ppf
"{ }"
|
`NoField
->
Format
.
fprintf
ppf
"{| |}"
|
`SomeField
->
Format
.
fprintf
ppf
"{ }
\
{| |}"
|
`Fail
->
Format
.
fprintf
ppf
"Empty
@
\n
"
|
`Success
->
Format
.
fprintf
ppf
"{ }
@
\n
"
|
`NoField
->
Format
.
fprintf
ppf
"{| |}
@
\n
"
|
`SomeField
->
Format
.
fprintf
ppf
"{ }
\
{| |}
@
\n
"
|
`Label
l
->
let
(
pr
,
ab
)
=
Types
.
Record
.
normal'
t
l
in
Format
.
fprintf
ppf
"Label (%s,@["
(
Types
.
LabelPool
.
value
l
);
...
...
parser/parser.ml
View file @
0bd7b185
open
Location
open
Ast
(*
let () = Grammar.error_verbose := true
*)
let
gram
=
Grammar
.
gcreate
(
Wlexer
.
lexer
Wlexer
.
token
Wlexer
.
latin1_engine
)
...
...
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