Browse Source
Merge pull request #14 from KimiWu123/master
follow whitespace rule of strings.TrimSpace
master
arnau
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
circuitcompiler/lexer.go
|
|
@ -32,7 +32,7 @@ const ( |
|
|
|
var eof = rune(0) |
|
|
|
|
|
|
|
func isWhitespace(ch rune) bool { |
|
|
|
return ch == ' ' || ch == '\t' || ch == '\n' |
|
|
|
return ch == ' ' || ch == '\t' || ch == '\n' || ch == '\r' || ch == '\v' || ch == '\f' |
|
|
|
} |
|
|
|
|
|
|
|
func isLetter(ch rune) bool { |
|
|
|