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
e6cf8ae1
Commit
e6cf8ae1
authored
Jul 10, 2007
by
Pietro Abate
Browse files
[r2005-01-14 11:34:45 by afrisch] Warning not displayed
Original author: afrisch Date: 2005-01-14 11:34:45+00:00
parent
7e3c5bd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
typing/typer.ml
View file @
e6cf8ae1
...
...
@@ -12,7 +12,7 @@ let debug_schema = false
let
warning
loc
msg
=
let
v
=
Location
.
get_viewport
()
in
let
ppf
=
Html
.
ppf
v
in
let
ppf
=
if
Html
.
is_html
v
then
Html
.
ppf
v
else
Format
.
err_formatter
in
Format
.
fprintf
ppf
"Warning %a:@
\n
"
Location
.
print_loc
(
loc
,
`Full
);
Location
.
html_hilight
(
loc
,
`Full
);
Format
.
fprintf
ppf
"%s@."
msg
...
...
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