     switch self.scanCharSequenceUntil(BAR_CH) {
       case .success(let str):
         self.token.kind = .ident
-        self.token.strVal = str.lowercased()
+        self.token.strVal = str
       case .malformed:
         self.signal(.malformedIdentifier)
       case .illegalEscapeSequence:

                self.nextCh()
              }
              self.token.kind = .ident
              self.token.strVal = self.buffer.stringValue.lowercased()
          }
          // check if infinity/NaN is part of a complex number
          if let realPart = realPart {

      self.nextCh()
    }
    self.token.kind = .ident
    self.token.strVal = self.buffer.stringValue
  }
  
  /// Scans a character literal
