Skip to content
Snippets Groups Projects
Commit 4a88aa7f authored by Loïc Correnson's avatar Loïc Correnson
Browse files

[server] fix isFunDecl attribute

parent 06a81c1e
No related branches found
No related tags found
No related merge requests found
......@@ -321,8 +321,7 @@ struct
| None -> false
let is_fundecl = function
| PGlobal (GFun _ | GFunDecl _) -> true
| PGlobal (GVar (vi, _, _) | GVarDecl (vi, _)) -> Globals.Functions.mem vi
| PVDecl(Some _,Kglobal,vi) -> vi.vglob && Globals.Functions.mem vi
| _ -> false
let scope tag =
......
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