remove redundant check
This commit is contained in:
parent
5200dfde00
commit
f946ef9aa7
@ -22,7 +22,7 @@ func isSpaceChar(c byte) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func isSymbolChar(c byte) bool {
|
func isSymbolChar(c byte) bool {
|
||||||
return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || c == '_' || c == '-' || c == '/' || c == '\'' || c == '+' || c == '-' || c == '*'
|
return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || c == '_' || c == '/' || c == '\'' || c == '+' || c == '-' || c == '*'
|
||||||
}
|
}
|
||||||
|
|
||||||
func readForm(s string, pos int, ns string) (any, any, int) {
|
func readForm(s string, pos int, ns string) (any, any, int) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user