Skip to content
Snippets Groups Projects
Commit 07049d24 authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

Merge branch 'bugfix/julien/rmtmps_MR1930' into 'stable/potassium'

Fixe problème E-ACSL introduit par MR 1930

See merge request frama-c/frama-c!2253
parents cb4e3a1d a9d10039
No related branches found
No related tags found
No related merge requests found
......@@ -609,9 +609,11 @@ class markReferencedVisitor = object
| GVarDecl (varinfo, loc)
| GFunDecl (_,varinfo, loc)
| GFun ({svar = varinfo}, loc) ->
Kernel.debug ~dkey "referenced: var/fun %s@." varinfo.vname;
Kernel.debug ~source:(fst loc) ~dkey "referenced: fun %s" varinfo.vname;
varinfo.vreferenced <- true;
if not (hasAttribute "FC_BUILTIN" varinfo.vattr) then begin
Kernel.debug ~dkey "referenced: var/fun %s@." varinfo.vname;
Kernel.debug ~source:(fst loc) ~dkey "referenced: fun %s" varinfo.vname;
varinfo.vreferenced <- true;
end;
DoChildren
| GAnnot _ -> DoChildren
| _ ->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment