fix case when there are mo params in func
fix case, when "inherit" block is empty
add support for multiple files and dirs
fix: valgrind invalid read
fix parsing parameter type and name for the case: "char* ch"

  in previous behavior we locate name "ch" and after want to get type.
  So looking for "ch" in this string, and fail on "char*"