diff options
author | Ian Lance Taylor <iant@golang.org> | 2021-10-26 10:50:40 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2021-10-26 16:11:26 -0700 |
commit | ab10383aaebf2feebd2b6d68247f2520eff48f79 (patch) | |
tree | b7296e54620d4fbe3fef6d4ebad91a9bbe7065ff /.gitignore | |
parent | 1ff4dbddcf74203a1e16316b18e12f9e1b5085f0 (diff) | |
download | gcc-ab10383aaebf2feebd2b6d68247f2520eff48f79.zip gcc-ab10383aaebf2feebd2b6d68247f2520eff48f79.tar.gz gcc-ab10383aaebf2feebd2b6d68247f2520eff48f79.tar.bz2 |
compiler: permit compiler directives in parenthesized groups
The original compiler directive support was only for //line at the
start of a line and for //go: comments before function declarations.
When support was added for //go:notinheap for types and //go:embed for
variables the code did not adapt to permit spaces before the comment
or to permit the comments in var() or type() groups. This change
corrects those omissions.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/358699
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions