Do not parse function contents when analysing the local parse cache. It'll be done when the document is opened. See #327
Handle relative include directory paths correctly to avoid reparsing already analysed directories.