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
ff450436
Commit
ff450436
authored
Oct 05, 2007
by
Pietro Abate
Browse files
[r2005-01-11 06:01:33 by afrisch] Empty log message
Original author: afrisch Date: 2005-01-11 06:01:33+00:00
parent
0d06014b
Changes
1
Hide whitespace changes
Inline
Side-by-side
runtime/cduce_expat.ml
View file @
ff450436
...
@@ -32,10 +32,13 @@ let load_expat s =
...
@@ -32,10 +32,13 @@ let load_expat s =
with
Expat
.
Expat_error
e
->
with
Expat
.
Expat_error
e
->
let
line
=
Expat
.
get_current_line_number
p
let
line
=
Expat
.
get_current_line_number
p
and
col
=
Expat
.
get_current_column_number
p
in
and
col
=
Expat
.
get_current_column_number
p
in
let
src
=
match
s
with
|
Url
.
Url
s
->
""
|
Url
.
Filename
s
->
Printf
.
sprintf
" file
\"
%s
\"
,"
s
in
let
msg
=
let
msg
=
Printf
.
sprintf
Printf
.
sprintf
"load_xml,
file
\"
%s
\"
,
at line %i, column %i: %s"
"load_xml,
%s
at line %i, column %i: %s"
s
s
rc
(
Expat
.
get_current_line_number
p
)
(
Expat
.
get_current_line_number
p
)
(
Expat
.
get_current_column_number
p
)
(
Expat
.
get_current_column_number
p
)
(
Expat
.
xml_error_to_string
e
)
(
Expat
.
xml_error_to_string
e
)
...
...
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