Add 'is_defined' field to func_table. Complete ForwardDecl
Debug forward_decl. Function table now records only the types of the formal params, not their idents
Debug: more cases in update_env_func. Also should incr first then update_env_func
Make the update_env_func code much more compact