diff options
| author | Sebastian Engel <dev@sebastianengel.eu> | 2021-10-06 21:23:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-06 21:23:51 +0200 |
| commit | 0ef9b78ecc196745272060b1051fdf9808301c2a (patch) | |
| tree | 0aace4faf295e99095aa7687c554b182d6664fbd /tests/examplefiles/sqlite3/sqlite3.sqlite3-console.output | |
| parent | 339ad2b31f5359dc0e554399a35a464ec839c62b (diff) | |
| download | pygments-git-0ef9b78ecc196745272060b1051fdf9808301c2a.tar.gz | |
lexer SQL to use whitespace token - regarding #1905 (#1908)
* SQL whitespaces - regarding #1905
* Sqlite prompt ungrouped from trailing space
* sqlite prompt with Explicit trailing whitespace token
* Fix insertion of sqlite trail space token
Diffstat (limited to 'tests/examplefiles/sqlite3/sqlite3.sqlite3-console.output')
| -rw-r--r-- | tests/examplefiles/sqlite3/sqlite3.sqlite3-console.output | 60 |
1 files changed, 34 insertions, 26 deletions
diff --git a/tests/examplefiles/sqlite3/sqlite3.sqlite3-console.output b/tests/examplefiles/sqlite3/sqlite3.sqlite3-console.output index 62f56e26..4771c0f8 100644 --- a/tests/examplefiles/sqlite3/sqlite3.sqlite3-console.output +++ b/tests/examplefiles/sqlite3/sqlite3.sqlite3-console.output @@ -2,10 +2,11 @@ 'Enter ".help" for instructions\n' Generic.Output -'sqlite> ' Generic.Prompt +'sqlite>' Generic.Prompt +' ' Text.Whitespace '.' Punctuation 'schema' Keyword -'\n' Text +'\n' Text.Whitespace 'CREATE TABLE paste (paste_id integer, code text, parsed_code text, pub_date\n' Generic.Output @@ -13,63 +14,69 @@ 'CREATE TABLE vars (key varchar(24), value varchar(128));\n' Generic.Output -'sqlite> ' Generic.Prompt +'sqlite>' Generic.Prompt +' ' Text.Whitespace 'a' Name -' ' Text +' ' Text.Whitespace "'\n" Literal.String.Single -' ...> ' Generic.Prompt +' ...>' Generic.Prompt +' ' Text.Whitespace "'" Literal.String.Single -'\n' Text +'\n' Text.Whitespace -' ...> ' Generic.Prompt +' ...>' Generic.Prompt +' ' Text.Whitespace ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'SQL error: near "a": syntax error\n' Generic.Traceback -'sqlite> ' Generic.Prompt +'sqlite>' Generic.Prompt +' ' Text.Whitespace '%' Operator ';' Punctuation -'\n' Text +'\n' Text.Whitespace 'SQL error: near "%": syntax error\n' Generic.Traceback -'sqlite> ' Generic.Prompt +'sqlite>' Generic.Prompt +' ' Text.Whitespace 'select' Keyword -' ' Text +' ' Text.Whitespace 'count' Keyword '(' Punctuation 'language' Keyword ')' Punctuation ',' Punctuation -' ' Text +' ' Text.Whitespace 'language' Keyword -' ' Text +' ' Text.Whitespace 'from' Keyword -' ' Text +' ' Text.Whitespace 'paste' Name -' ' Text +' ' Text.Whitespace 'group' Keyword -' ' Text +' ' Text.Whitespace 'by' Keyword -' ' Text +' ' Text.Whitespace 'language' Keyword -' ' Text +' ' Text.Whitespace 'order' Keyword -'\n' Text +'\n' Text.Whitespace -' ...> ' Generic.Prompt +' ...>' Generic.Prompt +' ' Text.Whitespace 'by' Keyword -' ' Text +' ' Text.Whitespace 'count' Keyword '(' Punctuation 'language' Keyword ')' Punctuation -' ' Text +' ' Text.Whitespace 'desc' Keyword ';' Punctuation -'\n' Text +'\n' Text.Whitespace '144|python\n' Generic.Output @@ -95,5 +102,6 @@ '1|scheme\n' Generic.Output -'sqlite> ' Generic.Prompt -'\n' Text +'sqlite>' Generic.Prompt +' ' Text.Whitespace +'\n' Text.Whitespace |
