From 7d3b6a467937c99f97df2c54eda64954ee427479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9onard=20G=C3=A9rard?= Date: Tue, 14 Dec 2010 18:30:16 +0100 Subject: [PATCH] Bug fix Cgen --- compiler/obc/c/cgen.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/obc/c/cgen.ml b/compiler/obc/c/cgen.ml index 0096b8c..cb4e65d 100644 --- a/compiler/obc/c/cgen.ml +++ b/compiler/obc/c/cgen.ml @@ -737,6 +737,7 @@ let cfile_list_of_oprog_ty_decls name oprog = let global_file_header name prog = let dependencies = S.elements (Obc_utils.Deps.deps_program prog) in + let dependencies = List.map String.uncapitalize dependencies in let (decls, defs) = List.split (List.map cdefs_and_cdecls_of_class_def prog.p_defs) in