<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi JPMartha,<div class=""><br class=""></div><div class="">I am not 100% sure what your question is. Is it whether this name should be valid, or just whether we should diagnose it earlier?</div><div class=""><br class=""></div><div class="">It is an invalid "C99 Extended Identifier", which is the technical specification these names need to follow (a digit is not a valid initial character).</div><div class=""><br class=""></div><div class="">&nbsp;- Daniel</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 13, 2016, at 10:56 PM, Martha JP via swift-build-dev &lt;<a href="mailto:swift-build-dev@swift.org" class="">swift-build-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi, I'm JPMartha.</div><div class=""><br class=""></div><div class="">Can I ask about module name?</div><div class=""><br class=""></div><div class="">The following error has occured when package's name or module's name consists of figures only. Is it invalid as the error message says?</div><div class=""><br class=""></div><div class="">Error:</div><div class="">```</div><div class="">fatal error: Invalid module name: file /Users/buildnode/jenkins/workspace/oss-swift-package-osx/swiftpm/Sources/PackageType/c99name().swift, line 202</div><div class="">```</div><div class=""><br class=""></div><div class="">I saw `Sources/PackageType/c99name().swift`, then I found the following document.</div><div class=""><br class=""></div><div class="">/**</div><div class="">&nbsp;Removes characters from name that are invalid in C99 module-names.</div><div class="">*/</div><div class=""><br class=""></div><div class="">So, I checked C99. Also, I saw the API Design Guideline and the swift-build-dev Archives.</div><div class="">But I'm not sure that it is invalid.</div><div class=""><br class=""></div><div class="">Even though I miss a naming rule, I think this error should been prevented beforehand.<br class=""></div><div class="">So, I reported <a href="https://bugs.swift.org/browse/SR-1224" class="">https://bugs.swift.org/browse/SR-1224</a>.</div><div class=""><br class=""></div><div class="">Best regards,</div><div class="">JPMartha</div></div>
_______________________________________________<br class="">swift-build-dev mailing list<br class=""><a href="mailto:swift-build-dev@swift.org" class="">swift-build-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-build-dev<br class=""></div></blockquote></div><br class=""></div></body></html>