compiler: add '$' to names in expression export data
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 27 Nov 2018 21:25:58 +0000 (21:25 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 27 Nov 2018 21:25:58 +0000 (21:25 +0000)
commit80d7d30d2483025baff22fde3b36ea227639a4e7
treeabd27ec71178b8971e095339295317307192a8e3
parent010211394dc2da35487ee0ce9e9f6cb13f343051
compiler: add '$' to names in expression export data

    For inlined function bodies we're going to need to refer to variables,
    so change the existing export data to add a '$' to names that look
    like identifiers: true, false, nil, convert.

    While we're here drop an unnecessary space character after operators.

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

From-SVN: r266529
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/import.h
libgo/go/go/internal/gccgoimporter/parser.go