summaryrefslogtreecommitdiff
path: root/pygments/lexers/objective.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix more instances of invalid string escapesGeorg Brandl2018-11-281-14/+14
| | | | Also, raise on warnings from Pygments only.
* Copyright update.Georg Brandl2017-01-221-1/+1
|
* Added Swift 2.2 keywordsMinh Nguy?n2016-03-101-11/+14
|
* Copyright year update.Georg Brandl2015-01-211-1/+1
|
* Swift lexer: use words()Georg Brandl2014-11-131-89/+103
|
* Swift: PR FixesStephen Celis2014-10-291-5/+6
| | | | | | - Fix prematurely popped states - Fix @availability - Fix single-digit floats
* Swift: Address PR feedbackStephen Celis2014-10-291-5/+7
| | | | | | - Use default('#pop') - Fix oddly-wrapped lines - Restore versionadded
* Swift Lexer: Whitespace not optionalStephen Celis2014-10-241-3/+3
|
* Swift Lexer: change " *" to "\s*" for flexibilityStephen Celis2014-10-241-9/+9
|
* Implement proper Swift lexerStephen Celis2014-10-231-34/+195
| | | | | | | | | | | | | | | | | | | | | | | | - No longer inherits from the Objective-C lexer (Swift is not a subset of Objective-C, so the existing lexer highlights incorrectly) - Updated for Swift 1.1 (the existing lexer wasn't even up-to-date with Swift 1.0 GM) - Adds Swift attributes - Adds Swift builtins - Adds string interpolation support - Adds nested comment support - Adds "preprocessor" statement support - Adds implicit block variable support - Parses special comments (reST, MARK, TODO, FIXME) - Parses more Swift constructs than before
* Fix "matches empty string" complaints from regexlint.Georg Brandl2014-10-161-2/+3
|
* Curly brace escaping, round 2.Tim Hatch2014-10-151-3/+3
| | | | | | | These were all pointed out by regexlint but required manual effort to track down (indicator.py was confused by most of them being produced by expressions). Also comment out some iffy comment patterns.
* Curly brace escaping, round 1.Tim Hatch2014-10-151-1/+1
| | | | | These locations were all found by regexlint and done semi-manually, leaving braces within [] alone (they aren't special in the 'regex' module).
* all lexers: fix unescaped { and } so that the "regex" module can compile our ↵Georg Brandl2014-10-151-3/+3
| | | | regexes
* move module names from _XXXbuiltins to _XXX_builtins to be consistentGeorg Brandl2014-10-041-1/+1
|
* Remove the c_like subpackage.Georg Brandl2014-09-201-0/+322