                 let value = line[equalsIndex.successor()..<line.endIndex]
                 variables[name] = try resolveVariables(value)
             } else {
-                // Unexpected thing in the pc file, abort.
+                // unexpected thing in the pc file, abort.
                 throw PkgConfigError.ParsingError("Unexpecting line: \(line) in \(pcFile)")
             }
         }

    }
    
    /// Parses `Requires: ` string into array of dependencies.
    /// The dependecy string has seperator which can be (multiple) space or a comma.
    /// Additionally each there can be an optional version constaint to a dependency.
    private func parseDependencies(_ depString: String) throws -> [String] {
        let operators = ["=", "<", ">", "<=", ">="]
        let seperators = [" ", ","]
        
        // Look at a char at an index if present.
        func peek(idx: Int) -> Character? {

            var token = ""
            for (idx, char) in depString.characters.enumerated() {
                // Encountered a seperator, use the token.
                if separators.contains(String(char)) {
                    // If next character is a space skip.
                    if let peeked = peek(idx: idx+1) where peeked == " " { continue }
                    // Append to array of tokens and reset token variable.
