diff --git a/circuitcompiler/lexer.go b/circuitcompiler/lexer.go index 92bc45c..74340bb 100644 --- a/circuitcompiler/lexer.go +++ b/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 {