Closed hannesm closed 10 years ago
Can you try to run cpp -undef -traditional -Isyntax lib/pre_sexp.ml
in sexplib?
sure, http://opendylan.org/~hannes/sexplib-out.txt is the output thereof
Seems normal, except for the warnings. Maybe that's what causing the issue. I'm not sure why ocamlfind ocamldep ...
is not printing anything. Can you try to run it by hand?
ocamlfind ocamldep -pp 'cpp -undef -traditional -Isyntax' -package bigarray -modules lib/pre_sexp.ml
returns
lib/pre_sexp.ml:109:14: warning: missing terminating ' character [-Winvalid-pp-token]
let str' = mach_maybe_esc_str str in
^
lib/pre_sexp.ml:110:35: warning: missing terminating ' character [-Winvalid-pp-token]
let new_may_need_space = str' == str in
^
lib/pre_sexp.ml:112:30: warning: missing terminating ' character [-Winvalid-pp-token]
pp_print_string ppf str';
^
lib/pre_sexp.ml:150:16: warning: missing terminating ' character [-Winvalid-pp-token]
let str' = mach_maybe_esc_str str in
^
lib/pre_sexp.ml:151:37: warning: missing terminating ' character [-Winvalid-pp-token]
let new_may_need_space = str' == str in
^
lib/pre_sexp.ml:153:34: warning: missing terminating ' character [-Winvalid-pp-token]
Buffer.add_string buf str';
^
lib/pre_sexp.ml:173:16: warning: missing terminating ' character [-Winvalid-pp-token]
let str' = mach_maybe_esc_str str in
^
lib/pre_sexp.ml:174:37: warning: missing terminating ' character [-Winvalid-pp-token]
let new_may_need_space = str' == str in
^
lib/pre_sexp.ml:176:27: warning: missing terminating ' character [-Winvalid-pp-token]
add_string buf str';
^
lib/pre_sexp.ml:201:24: warning: missing terminating ' character [-Winvalid-pp-token]
can argue that if it's free to allocate strings smaller than 256 words,
^
lib/pre_sexp.ml:202:62: warning: missing terminating ' character [-Winvalid-pp-token]
large s-expressions requiring larger expensive buffers won't notice
^
lib/pre_sexp.ml:230:42: warning: missing terminating ' character [-Winvalid-pp-token]
is taken in account. Under Unix there's no easy way to get the umask in
^
lib/pre_sexp.ml:418:13: warning: missing terminating ' character [-Winvalid-pp-token]
| Done of 't * Parse_pos.t
^
lib/pre_sexp.ml:421:63: warning: missing terminating ' character [-Winvalid-pp-token]
and ('a, 't) parse_fun = pos : int -> len : int -> 'a -> ('a, 't) parse_result
^
lib/pre_sexp.ml:423:6: warning: missing terminating ' character [-Winvalid-pp-token]
type 't parse_state =
^
lib/pre_sexp.ml:426:22: warning: missing terminating ' character [-Winvalid-pp-token]
mutable pstack : 't;
^
16 warnings generated.
lib/pre_sexp.ml: Array1 Bigarray Buffer Char Format Lexer List Parser Printf Random String Sys Type
which apart from the warnings should be good, shouldn't it? -- but lib/pre_sexp.ml.depends
in _build/
is empty...
any thoughts?