mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 08:47:28 +01:00
Make focus's "/gcc" suffix optional.
This commit is contained in:
1 parent
4729170678
commit
6602dea7be
3 files changed
+21
-10
No files matched your search
+1
-1
@@ -28,7 +28,7 @@ import (
|
||||
func isStringList(s string) bool {
|
||||
for i := 0; i < len(s); i++ {
|
||||
c := s[i]
|
||||
if c == ',' || c == '-' || c == '.' || ('0' <= c && c <= '9') || ('A' <= c && c <= 'Z') ||
|
||||
if c == ',' || c == '-' || c == '.' || c == '/' || ('0' <= c && c <= '9') || ('A' <= c && c <= 'Z') ||
|
||||
c == '_' || ('a' <= c && c <= 'z') {
|
||||
continue
|
||||
}
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ import (
|
||||
func isStringList(s string) bool {
|
||||
for i := 0; i < len(s); i++ {
|
||||
c := s[i]
|
||||
if c == ',' || c == '-' || c == '.' || ('0' <= c && c <= '9') || ('A' <= c && c <= 'Z') ||
|
||||
if c == ',' || c == '-' || c == '.' || c == '/' || ('0' <= c && c <= '9') || ('A' <= c && c <= 'Z') ||
|
||||
c == '_' || ('a' <= c && c <= 'z') {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user