compiler: tweaks for importing inline function bodies

Track whether we've seen an error when importing a function; we will
use error tracking to avoid knock-on errors.

Stop importing identifiers at a ')'.

Provide a way to adjust the indentation level while importing.

Change-Id: I9cb1bbd999a9d414609ffc14a7eaae6af93fd862
Reviewed-by: Than McIntosh <>
Reviewed-by: Cherry Zhang <>
2 files changed