diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-17 22:36:10 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-17 22:36:10 +0000 |
commit | 688835310af1344ab6590e18cac8c09ac2e54093 (patch) | |
tree | 0ee6ebaf6cb2e24a987c173ccd14c68971ead20d /gcc/go/gofrontend/export.h | |
parent | ca33b5eb6cfba99a644d01532021023e64a6a4ea (diff) | |
download | gcc-688835310af1344ab6590e18cac8c09ac2e54093.tar.gz |
compiler: Add parameter names to export information.
* Make-lang.in (go/import.o): Add dependency on $(GO_LEX_H).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184353 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/go/gofrontend/export.h')
-rw-r--r-- | gcc/go/gofrontend/export.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/go/gofrontend/export.h b/gcc/go/gofrontend/export.h index 087f477e482..a558510eab3 100644 --- a/gcc/go/gofrontend/export.h +++ b/gcc/go/gofrontend/export.h @@ -145,6 +145,10 @@ class Export : public String_dump write_bytes(const char* bytes, size_t length) { this->stream_->write_bytes(bytes, length); } + // Write a name to the export stream. If NAME is empty, write "?". + void + write_name(const std::string& name); + // Write out a type. This handles references back to previous // definitions. void |