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.

Change-Id: Id6c32963052cf6dafad39a95ebe54c567e2b9481
Reviewed-on: https://go-review.googlesource.com/c/150067
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
3 files changed