cgen todo.

This commit is contained in:
Léonard Gérard 2011-03-17 17:11:00 +01:00
parent 02730b8a0b
commit c602eca062

View file

@ -255,7 +255,7 @@ let rec cexpr_of_static_exp se =
List.map (fun (_, se) -> cexpr_of_static_exp se) fl)
| Sarray_power(n,c) ->
let cc = cexpr_of_static_exp c in
Carraylit (repeat_list cc (int_of_static_exp n))
Carraylit (repeat_list cc (int_of_static_exp n)) (* TODO should be recursive *)
| Svar ln ->
(try
let cd = find_const ln in