We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c4056d commit 2f722a0Copy full SHA for 2f722a0
go/tools/builders/read.go
@@ -198,6 +198,28 @@ func (r *importReader) findEmbed(first bool) bool {
198
case ' ', '\t':
199
// leave startLine alone
200
201
+ case '\'':
202
+ startLine = false
203
+ for r.err == nil {
204
+ if r.eof {
205
+ r.syntaxError()
206
+ }
207
+ c = r.readByteNoBuf()
208
+ if c == '\\' {
209
+ r.readByteNoBuf()
210
+ if r.err != nil {
211
212
+ return false
213
214
+ continue
215
216
+ if c == '\'' {
217
218
+ goto Reswitch
219
220
221
222
+
223
case '"':
224
startLine = false
225
for r.err == nil {
0 commit comments