Skip to content

Commit

Permalink
Merge pull request highlightjs#806 from mariusschulz/patch-2
Browse files Browse the repository at this point in the history
Removes "true", "false", and "nil" from "built_in"
  • Loading branch information
Sannis committed Apr 5, 2015
2 parents 9049674 + fdeeebd commit b906b2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/languages/swift.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ function(hljs) {
'bridgeFromObjectiveCUnconditional bridgeToObjectiveC ' +
'bridgeToObjectiveCUnconditional c contains count countElements ' +
'countLeadingZeros debugPrint debugPrintln distance dropFirst dropLast dump ' +
'encodeBitsAsWords enumerate equal false filter find getBridgedObjectiveCType ' +
'encodeBitsAsWords enumerate equal filter find getBridgedObjectiveCType ' +
'getVaList indices insertionSort isBridgedToObjectiveC ' +
'isBridgedVerbatimToObjectiveC isUniquelyReferenced join ' +
'lexicographicalCompare map max maxElement min minElement nil numericCast ' +
'lexicographicalCompare map max maxElement min minElement numericCast ' +
'partition posix print println quickSort reduce reflect reinterpretCast ' +
'reverse roundUpToAlignment sizeof sizeofValue sort split startsWith strideof ' +
'strideofValue swap swift toString transcode true underestimateCount ' +
'strideofValue swap swift toString transcode underestimateCount ' +
'unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer ' +
'withUnsafePointerToObject withUnsafePointers withVaList'
};
Expand Down
2 changes: 1 addition & 1 deletion test/markup/swift/functions.expect.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">MyClass</span> </span>{
<span class="hljs-func"><span class="hljs-keyword">func</span> <span class="hljs-title">f</span><span class="hljs-params">()</span></span> {
<span class="hljs-keyword">return</span> <span class="hljs-built_in">true</span>
<span class="hljs-keyword">return</span> <span class="hljs-literal">true</span>
}
}

0 comments on commit b906b2c

Please sign in to comment.