diff --git a/arduino/builder/sketch.go b/arduino/builder/sketch.go index b540d9d943a..1df6c1bc47f 100644 --- a/arduino/builder/sketch.go +++ b/arduino/builder/sketch.go @@ -281,6 +281,9 @@ func writeIfDifferent(sourcePath, destPath string) error { return errors.Wrap(err, "unable to read contents of the source item") } + // tag each addtional file with the filename of the source it was copied from + newbytes = []byte("#line 1 " + QuoteCppString(sourcePath) + "\n" + string(newbytes)) + // check whether the destination file exists _, err = os.Stat(destPath) if os.IsNotExist(err) { pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy