summaryrefslogtreecommitdiff
path: root/pygments/lexers/sql.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixup all headers and some more minor problems.2.4.2Georg Brandl2019-05-281-1/+1
|
* Fix a small bug in the SQL analysis.Matth?us G. Chajdas2019-01-041-2/+8
| | | | Updated CHANGES as well, and moved the LLVM PR to the right list.
* Merged in roskakori/pygments-analyze-sql (pull request #672)Anteru2019-01-041-2/+50
|\ | | | | | | Added analyse_text() for SQL
| * Added analyse_text() that attempts to detect MySQL and Transact-SQL.Thomas Aglassinger2016-10-011-2/+50
| |
| * Merged in roskakori/pygments-tsql (pull request #577)Tim Hatch2016-05-311-3/+3
| |\ | | | | | | | | | Add lexer for Transact-SQL
| | * Fixed single line SQL comments on end of file without a trailing newline.Thomas Aglassinger2016-03-241-3/+3
| | |
| * | Improved detection of single line SQL comments as suggested in pull request ↵Thomas Aglassinger2016-03-291-1/+1
| | | | | | | | | | | | #578. Now it even works in combination with re.DOTALL.
| * | Fixed detection of Number.Float in Transact-SQL for corner cases like "1." ↵Thomas Aglassinger2016-03-241-2/+6
| | | | | | | | | | | | and "1.e2."
| * | Fixed detection of Transact-SQL comments in the last line of a source code ↵Thomas Aglassinger2016-03-231-1/+1
| | | | | | | | | | | | without a newline at the end.
| * | Fixed that regex to detect Number.Float shadowed regex for Number.Integer ↵Thomas Aglassinger2016-03-231-1/+2
| | | | | | | | | | | | for Transact-SQL.
| * | Fixed minus operator for Transact-SQL.Thomas Aglassinger2016-03-221-3/+3
| | |
| * | Added lexer for Transact-SQL as used by Microsoft SQL Server and Sybase.Thomas Aglassinger2016-03-211-2/+55
| |/
| * merge with stableGeorg Brandl2016-02-141-10/+25
| |\
| | * String prefixes and dollar-quoted string delimiters lexing in Postgresql. ↵Miikka Salminen2016-02-081-10/+25
| | | | | | | | | | | | Also closes issue #886.
| * | Make postgres strings use their own state.Georg Brandl2016-02-081-2/+12
| |/
| * Closes #1206: add IF and ELSIF to SQL keywords.Georg Brandl2016-02-031-3/+3
| |
| * merge default into stableGeorg Brandl2016-01-171-0/+598
|
* Merge heads.Georg Brandl2018-11-281-2/+2
|\
| * Fix invalid escapes due to missing raw string prefix.Georg Brandl2018-11-281-2/+2
| |
* | Be more Pythonic, use a for instead of while 1: try: nextMiro Hron?ok2018-07-041-13/+4
| |
* | PEP 479: Raising StopIteration from a generator is now an errorMiro Hron?ok2018-07-041-1/+4
|/ | | | | | So we return instead. Fix needed for Python 3.7. Fixes https://bitbucket.org/birkenfeld/pygments-main/issues/1457
* Copyright update.Georg Brandl2017-01-221-1/+1
|
* Add support for partials and path segments for Handlebars.Christian Hammond2016-11-041-0/+681
This introduces support for some missing features to the Handlebars lexer: Partials and path segments. Partials mostly appeared to work before, but the `>` in `{{> ... }}` would appear as a syntax error, as could other components of the partial. This change introduces support for: * Standard partials: `{{> partialName}}` * Partials with parameters: `{{> partialName varname="value"}}` * Ddynamic partials: `{{> (partialFunc)}}` * Ddynamic partials with lookups: `{{> (lookup ../path "partialName")}}` * Partial blocks: `{{> @partial-block}}` * Inline partials: `{{#*inline}}..{{/inline}}` It also introduces support for path segments, which can reference content in the current context or in a parent context. For instance, `this.name`, `this/name`, `./name`, `../name`, `this/name`, etc. These are all now tracked as variables.