diff options
author | Matthäus G. Chajdas <dev@anteru.net> | 2023-03-11 13:51:17 +0100 |
---|---|---|
committer | Matthäus G. Chajdas <dev@anteru.net> | 2023-03-11 13:51:32 +0100 |
commit | 11ef5aafc739202f823db79ca89e0c73e1db4e8f (patch) | |
tree | 5e4b0c68754dcaad739e55adf23538e997e2bc4d /tests | |
parent | 2350fdabb57d8c592b2041f917f74b6276cc6314 (diff) | |
download | pygments-git-11ef5aafc739202f823db79ca89e0c73e1db4e8f.tar.gz |
Improve Gnuplot lexer.
* Merge comment tokens.
* Improve whitespace matching accuracy.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/examplefiles/gnuplot/test.plot.output | 929 |
1 files changed, 28 insertions, 901 deletions
diff --git a/tests/examplefiles/gnuplot/test.plot.output b/tests/examplefiles/gnuplot/test.plot.output index c1be5696..f065b29c 100644 --- a/tests/examplefiles/gnuplot/test.plot.output +++ b/tests/examplefiles/gnuplot/test.plot.output @@ -2,310 +2,35 @@ '\n' Text.Whitespace '#' Comment -' ' Comment -'$' Comment -'I' Comment -'d' Comment -':' Comment -' ' Comment -'p' Comment -'r' Comment -'o' Comment -'b' Comment -'2' Comment -'.' Comment -'d' Comment -'e' Comment -'m' Comment -',' Comment -'v' Comment -' ' Comment -'1' Comment -'.' Comment -'9' Comment -' ' Comment -'2' Comment -'0' Comment -'0' Comment -'6' Comment -'/' Comment -'0' Comment -'6' Comment -'/' Comment -'1' Comment -'4' Comment -' ' Comment -'0' Comment -'3' Comment -':' Comment -'2' Comment -'4' Comment -':' Comment -'0' Comment -'9' Comment -' ' Comment -'s' Comment -'f' Comment -'e' Comment -'a' Comment -'m' Comment -' ' Comment -'E' Comment -'x' Comment -'p' Comment -' ' Comment -'$' Comment +' $Id: prob2.dem,v 1.9 2006/06/14 03:24:09 sfeam Exp $' Comment '\n' Text.Whitespace '#' Comment '\n' Text.Whitespace '#' Comment -' ' Comment -'D' Comment -'e' Comment -'m' Comment -'o' Comment -' ' Comment -'S' Comment -'t' Comment -'a' Comment -'t' Comment -'i' Comment -'s' Comment -'t' Comment -'i' Comment -'c' Comment -'a' Comment -'l' Comment -' ' Comment -'A' Comment -'p' Comment -'p' Comment -'r' Comment -'o' Comment -'x' Comment -'i' Comment -'m' Comment -'a' Comment -'t' Comment -'i' Comment -'o' Comment -'n' Comment -'s' Comment -' ' Comment -'v' Comment -'e' Comment -'r' Comment -'s' Comment -'i' Comment -'o' Comment -'n' Comment -' ' Comment -'1' Comment -'.' Comment -'1' Comment +' Demo Statistical Approximations version 1.1' Comment '\n' Text.Whitespace '#' Comment '\n' Text.Whitespace '#' Comment -' ' Comment -'C' Comment -'o' Comment -'p' Comment -'y' Comment -'r' Comment -'i' Comment -'g' Comment -'h' Comment -'t' Comment -' ' Comment -'(' Comment -'c' Comment -')' Comment -' ' Comment -'1' Comment -'9' Comment -'9' Comment -'1' Comment -',' Comment -' ' Comment -'J' Comment -'o' Comment -'s' Comment -' ' Comment -'v' Comment -'a' Comment -'n' Comment -' ' Comment -'d' Comment -'e' Comment -'r' Comment -' ' Comment -'W' Comment -'o' Comment -'u' Comment -'d' Comment -'e' Comment -',' Comment -' ' Comment -'j' Comment -'v' Comment -'d' Comment -'w' Comment -'o' Comment -'u' Comment -'d' Comment -'e' Comment -'@' Comment -'h' Comment -'u' Comment -'t' Comment -'.' Comment -'n' Comment -'l' Comment +' Copyright (c) 1991, Jos van der Woude, jvdwoude@hut.nl' Comment '\n' Text.Whitespace '\n' Text.Whitespace '#' Comment -' ' Comment -'H' Comment -'i' Comment -'s' Comment -'t' Comment -'o' Comment -'r' Comment -'y' Comment -':' Comment +' History:' Comment '\n' Text.Whitespace '#' Comment -' ' Comment -' ' Comment -' ' Comment -' ' Comment -'-' Comment -'-' Comment -' ' Comment -'-' Comment -'-' Comment -'-' Comment -' ' Comment -'1' Comment -'9' Comment -'9' Comment -'1' Comment -' ' Comment -'J' Comment -'o' Comment -'s' Comment -' ' Comment -'v' Comment -'a' Comment -'n' Comment -' ' Comment -'d' Comment -'e' Comment -'r' Comment -' ' Comment -'W' Comment -'o' Comment -'u' Comment -'d' Comment -'e' Comment -':' Comment -' ' Comment -' ' Comment -'1' Comment -'s' Comment -'t' Comment -' ' Comment -'v' Comment -'e' Comment -'r' Comment -'s' Comment -'i' Comment -'o' Comment -'n' Comment +' -- --- 1991 Jos van der Woude: 1st version' Comment '\n' Text.Whitespace '#' Comment -' ' Comment -' ' Comment -' ' Comment -' ' Comment -'0' Comment -'6' Comment -' ' Comment -'J' Comment -'u' Comment -'n' Comment -' ' Comment -'2' Comment -'0' Comment -'0' Comment -'6' Comment -' ' Comment -'D' Comment -'a' Comment -'n' Comment -' ' Comment -'S' Comment -'e' Comment -'b' Comment -'a' Comment -'l' Comment -'d' Comment -':' Comment -' ' Comment -' ' Comment -'A' Comment -'d' Comment -'d' Comment -'e' Comment -'d' Comment -' ' Comment -'p' Comment -'l' Comment -'o' Comment -'t' Comment -' ' Comment -'m' Comment -'e' Comment -'t' Comment -'h' Comment -'o' Comment -'d' Comment -'s' Comment -' ' Comment -'f' Comment -'o' Comment -'r' Comment -' ' Comment -'b' Comment -'e' Comment -'t' Comment -'t' Comment -'e' Comment -'r' Comment -' ' Comment -'v' Comment -'i' Comment -'s' Comment -'u' Comment -'a' Comment -'l' Comment -' ' Comment -'e' Comment -'f' Comment -'f' Comment -'e' Comment -'c' Comment -'t' Comment -'.' Comment +' 06 Jun 2006 Dan Sebald: Added plot methods for better visual effect.' Comment '\n' Text.Whitespace '\n' Text.Whitespace @@ -471,7 +196,10 @@ '\n' Text.Whitespace 'rnd' Name.Function -'(x) ' Text.Whitespace +'(' Punctuation +'x' Text +')' Punctuation +' ' Text.Whitespace '=' Operator ' ' Text.Whitespace 'floor' Name.Function @@ -499,46 +227,7 @@ '\n' Text.Whitespace '#' Comment -' ' Comment -'B' Comment -'i' Comment -'n' Comment -'o' Comment -'m' Comment -'i' Comment -'a' Comment -'l' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'i' Comment -'n' Comment -'g' Comment -' ' Comment -'n' Comment -'o' Comment -'r' Comment -'m' Comment -'a' Comment -'l' Comment -' ' Comment -'a' Comment -'p' Comment -'p' Comment -'r' Comment -'o' Comment -'x' Comment -'i' Comment -'m' Comment -'a' Comment -'t' Comment -'i' Comment -'o' Comment -'n' Comment +' Binomial PDF using normal approximation' Comment '\n' Text.Whitespace 'n' Name.Variable @@ -674,31 +363,7 @@ ')' Punctuation ' ' Text.Whitespace '#' Comment -'m' Comment -'o' Comment -'d' Comment -'e' Comment -' ' Comment -'o' Comment -'f' Comment -' ' Comment -'b' Comment -'i' Comment -'n' Comment -'o' Comment -'m' Comment -'i' Comment -'a' Comment -'l' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'e' Comment -'d' Comment +'mode of binomial PDF used' Comment '\n' Text.Whitespace 'set' Keyword @@ -1021,47 +686,7 @@ '\n' Text.Whitespace '#' Comment -' ' Comment -'B' Comment -'i' Comment -'n' Comment -'o' Comment -'m' Comment -'i' Comment -'a' Comment -'l' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'i' Comment -'n' Comment -'g' Comment -' ' Comment -'p' Comment -'o' Comment -'i' Comment -'s' Comment -'s' Comment -'o' Comment -'n' Comment -' ' Comment -'a' Comment -'p' Comment -'p' Comment -'r' Comment -'o' Comment -'x' Comment -'i' Comment -'m' Comment -'a' Comment -'t' Comment -'i' Comment -'o' Comment -'n' Comment +' Binomial PDF using poisson approximation' Comment '\n' Text.Whitespace 'n' Name.Variable @@ -1183,31 +808,7 @@ ')' Punctuation ' ' Text.Whitespace '#' Comment -'m' Comment -'o' Comment -'d' Comment -'e' Comment -' ' Comment -'o' Comment -'f' Comment -' ' Comment -'b' Comment -'i' Comment -'n' Comment -'o' Comment -'m' Comment -'i' Comment -'a' Comment -'l' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'e' Comment -'d' Comment +'mode of binomial PDF used' Comment '\n' Text.Whitespace 'set' Keyword @@ -1538,46 +1139,7 @@ '\n' Text.Whitespace '#' Comment -' ' Comment -'G' Comment -'e' Comment -'o' Comment -'m' Comment -'e' Comment -'t' Comment -'r' Comment -'i' Comment -'c' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'i' Comment -'n' Comment -'g' Comment -' ' Comment -'g' Comment -'a' Comment -'m' Comment -'m' Comment -'a' Comment -' ' Comment -'a' Comment -'p' Comment -'p' Comment -'r' Comment -'o' Comment -'x' Comment -'i' Comment -'m' Comment -'a' Comment -'t' Comment -'i' Comment -'o' Comment -'n' Comment +' Geometric PDF using gamma approximation' Comment '\n' Text.Whitespace 'p' Keyword @@ -2018,47 +1580,7 @@ '\n' Text.Whitespace '#' Comment -' ' Comment -'G' Comment -'e' Comment -'o' Comment -'m' Comment -'e' Comment -'t' Comment -'r' Comment -'i' Comment -'c' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'i' Comment -'n' Comment -'g' Comment -' ' Comment -'n' Comment -'o' Comment -'r' Comment -'m' Comment -'a' Comment -'l' Comment -' ' Comment -'a' Comment -'p' Comment -'p' Comment -'r' Comment -'o' Comment -'x' Comment -'i' Comment -'m' Comment -'a' Comment -'t' Comment -'i' Comment -'o' Comment -'n' Comment +' Geometric PDF using normal approximation' Comment '\n' Text.Whitespace 'p' Keyword @@ -2481,54 +2003,7 @@ '\n' Text.Whitespace '#' Comment -' ' Comment -'H' Comment -'y' Comment -'p' Comment -'e' Comment -'r' Comment -'g' Comment -'e' Comment -'o' Comment -'m' Comment -'e' Comment -'t' Comment -'r' Comment -'i' Comment -'c' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'i' Comment -'n' Comment -'g' Comment -' ' Comment -'b' Comment -'i' Comment -'n' Comment -'o' Comment -'m' Comment -'i' Comment -'a' Comment -'l' Comment -' ' Comment -'a' Comment -'p' Comment -'p' Comment -'r' Comment -'o' Comment -'x' Comment -'i' Comment -'m' Comment -'a' Comment -'t' Comment -'i' Comment -'o' Comment -'n' Comment +' Hypergeometric PDF using binomial approximation' Comment '\n' Text.Whitespace 'nn' Name.Variable @@ -2703,28 +2178,7 @@ ')' Punctuation ' ' Text.Whitespace '#' Comment -'m' Comment -'o' Comment -'d' Comment -'e' Comment -' ' Comment -'o' Comment -'f' Comment -' ' Comment -'b' Comment -'i' Comment -'n' Comment -'o' Comment -'m' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'e' Comment -'d' Comment +'mode of binom PDF used' Comment '\n' Text.Whitespace 'set' Keyword @@ -3073,52 +2527,7 @@ '\n' Text.Whitespace '#' Comment -' ' Comment -'H' Comment -'y' Comment -'p' Comment -'e' Comment -'r' Comment -'g' Comment -'e' Comment -'o' Comment -'m' Comment -'e' Comment -'t' Comment -'r' Comment -'i' Comment -'c' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'i' Comment -'n' Comment -'g' Comment -' ' Comment -'n' Comment -'o' Comment -'r' Comment -'m' Comment -'a' Comment -'l' Comment -' ' Comment -'a' Comment -'p' Comment -'p' Comment -'r' Comment -'o' Comment -'x' Comment -'i' Comment -'m' Comment -'a' Comment -'t' Comment -'i' Comment -'o' Comment -'n' Comment +' Hypergeometric PDF using normal approximation' Comment '\n' Text.Whitespace 'nn' Name.Variable @@ -3293,28 +2702,7 @@ ')' Punctuation ' ' Text.Whitespace '#' Comment -'m' Comment -'o' Comment -'d' Comment -'e' Comment -' ' Comment -'o' Comment -'f' Comment -' ' Comment -'b' Comment -'i' Comment -'n' Comment -'o' Comment -'m' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'e' Comment -'d' Comment +'mode of binom PDF used' Comment '\n' Text.Whitespace 'set' Keyword @@ -3640,54 +3028,7 @@ '\n' Text.Whitespace '#' Comment -' ' Comment -'N' Comment -'e' Comment -'g' Comment -'a' Comment -'t' Comment -'i' Comment -'v' Comment -'e' Comment -' ' Comment -'b' Comment -'i' Comment -'n' Comment -'o' Comment -'m' Comment -'i' Comment -'a' Comment -'l' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'i' Comment -'n' Comment -'g' Comment -' ' Comment -'g' Comment -'a' Comment -'m' Comment -'m' Comment -'a' Comment -' ' Comment -'a' Comment -'p' Comment -'p' Comment -'r' Comment -'o' Comment -'x' Comment -'i' Comment -'m' Comment -'a' Comment -'t' Comment -'i' Comment -'o' Comment -'n' Comment +' Negative binomial PDF using gamma approximation' Comment '\n' Text.Whitespace 'r' Name.Variable @@ -3848,28 +3189,7 @@ ')' Punctuation ' ' Text.Whitespace '#' Comment -'m' Comment -'o' Comment -'d' Comment -'e' Comment -' ' Comment -'o' Comment -'f' Comment -' ' Comment -'g' Comment -'a' Comment -'m' Comment -'m' Comment -'a' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'e' Comment -'d' Comment +'mode of gamma PDF used' Comment '\n' Text.Whitespace 'set' Keyword @@ -4192,55 +3512,7 @@ '\n' Text.Whitespace '#' Comment -' ' Comment -'N' Comment -'e' Comment -'g' Comment -'a' Comment -'t' Comment -'i' Comment -'v' Comment -'e' Comment -' ' Comment -'b' Comment -'i' Comment -'n' Comment -'o' Comment -'m' Comment -'i' Comment -'a' Comment -'l' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'i' Comment -'n' Comment -'g' Comment -' ' Comment -'n' Comment -'o' Comment -'r' Comment -'m' Comment -'a' Comment -'l' Comment -' ' Comment -'a' Comment -'p' Comment -'p' Comment -'r' Comment -'o' Comment -'x' Comment -'i' Comment -'m' Comment -'a' Comment -'t' Comment -'i' Comment -'o' Comment -'n' Comment +' Negative binomial PDF using normal approximation' Comment '\n' Text.Whitespace 'r' Name.Variable @@ -4381,28 +3653,7 @@ ')' Punctuation ' ' Text.Whitespace '#' Comment -'m' Comment -'o' Comment -'d' Comment -'e' Comment -' ' Comment -'o' Comment -'f' Comment -' ' Comment -'g' Comment -'a' Comment -'m' Comment -'m' Comment -'a' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'e' Comment -'d' Comment +'mode of gamma PDF used' Comment '\n' Text.Whitespace 'set' Keyword @@ -4725,46 +3976,7 @@ '\n' Text.Whitespace '#' Comment -' ' Comment -'N' Comment -'o' Comment -'r' Comment -'m' Comment -'a' Comment -'l' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'i' Comment -'n' Comment -'g' Comment -' ' Comment -'l' Comment -'o' Comment -'g' Comment -'i' Comment -'s' Comment -'t' Comment -'i' Comment -'c' Comment -' ' Comment -'a' Comment -'p' Comment -'p' Comment -'r' Comment -'o' Comment -'x' Comment -'i' Comment -'m' Comment -'a' Comment -'t' Comment -'i' Comment -'o' Comment -'n' Comment +' Normal PDF using logistic approximation' Comment '\n' Text.Whitespace 'mu' Name.Variable @@ -4858,31 +4070,7 @@ ')' Punctuation ' ' Text.Whitespace '#' Comment -'m' Comment -'o' Comment -'d' Comment -'e' Comment -' ' Comment -'o' Comment -'f' Comment -' ' Comment -'l' Comment -'o' Comment -'g' Comment -'i' Comment -'s' Comment -'t' Comment -'i' Comment -'c' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'e' Comment -'d' Comment +'mode of logistic PDF used' Comment '\n' Text.Whitespace 'set' Keyword @@ -5188,45 +4376,7 @@ '\n' Text.Whitespace '#' Comment -' ' Comment -'P' Comment -'o' Comment -'i' Comment -'s' Comment -'s' Comment -'o' Comment -'n' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'i' Comment -'n' Comment -'g' Comment -' ' Comment -'n' Comment -'o' Comment -'r' Comment -'m' Comment -'a' Comment -'l' Comment -' ' Comment -'a' Comment -'p' Comment -'p' Comment -'r' Comment -'o' Comment -'x' Comment -'i' Comment -'m' Comment -'a' Comment -'t' Comment -'i' Comment -'o' Comment -'n' Comment +' Poisson PDF using normal approximation' Comment '\n' Text.Whitespace 'mu' Name.Variable @@ -5318,30 +4468,7 @@ ')' Punctuation ' ' Text.Whitespace '#' Comment -'m' Comment -'o' Comment -'d' Comment -'e' Comment -' ' Comment -'o' Comment -'f' Comment -' ' Comment -'p' Comment -'o' Comment -'i' Comment -'s' Comment -'s' Comment -'o' Comment -'n' Comment -' ' Comment -'P' Comment -'D' Comment -'F' Comment -' ' Comment -'u' Comment -'s' Comment -'e' Comment -'d' Comment +'mode of poisson PDF used' Comment '\n' Text.Whitespace 'set' Keyword |