peut être fin tp2
This commit is contained in:
parent
73e7dfafcd
commit
dd571ee403
|
@ -23,9 +23,9 @@ let rec analyse_tds_expression tds e =
|
|||
begin
|
||||
match chercherGlobalement tds str with
|
||||
| None -> raise (IdentifiantNonDeclare str)
|
||||
| Some info -> (* TODO déréférencer le info *)
|
||||
| Some (InfoFun(str, typ, l_typ)) ->
|
||||
let nl_expr = List.map (fun e -> analyse_tds_expression tds e) l_expr in
|
||||
AstTds.AppelFonction(info, nl_expr)
|
||||
AstTds.AppelFonction((InfoFun(str, typ, l_typ)), nl_expr)
|
||||
end
|
||||
| AstSyntax.Ident(str) ->
|
||||
begin
|
||||
|
|
Loading…
Reference in a new issue