compiler: tweaks for importing inline function bodies
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 27 Nov 2018 23:46:38 +0000 (23:46 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 27 Nov 2018 23:46:38 +0000 (23:46 +0000)
commit08e10724741986bf04c717ca29a302f2e108f3ad
tree0a26b4e1afe7680dfa115adbb2dc8bc14ba364ef
parentc718ff4183656cfd36b63ac7afbdf2a7fd78eec6
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.

    Reviewed-on: https://go-review.googlesource.com/c/150072

From-SVN: r266536
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/import.cc
gcc/go/gofrontend/import.h