summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.stan
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-01-09 17:14:07 +0100
committerGeorg Brandl <georg@python.org>2014-01-09 17:14:07 +0100
commit2140f455b5b59d7e29d520c27b6eb9d2db30d006 (patch)
treebc48c372a71d661f361c6945e82738edcc113a76 /tests/examplefiles/example.stan
parent846195f0fb24e724a611d601494fa5056936b5bc (diff)
parent8f1d30b59f7720cf99ed508ac720eb7126161e2b (diff)
downloadpygments-2140f455b5b59d7e29d520c27b6eb9d2db30d006.tar.gz
Merged in rwtolbert/pygments-main (pull request #238)
Added lexer for new Hy language, a variant of Lisp running under Python
Diffstat (limited to 'tests/examplefiles/example.stan')
-rw-r--r--tests/examplefiles/example.stan2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/examplefiles/example.stan b/tests/examplefiles/example.stan
index e936f54a..7eb6fdfc 100644
--- a/tests/examplefiles/example.stan
+++ b/tests/examplefiles/example.stan
@@ -19,6 +19,7 @@ data {
positive_ordered[3] wibble;
corr_matrix[3] grault;
cov_matrix[3] garply;
+ cholesky_factor_cov[3] waldo;
real<lower=-1,upper=1> foo1;
real<lower=0> foo2;
@@ -94,6 +95,7 @@ model {
// lp__ should be highlighted
// normal_log as a function
lp__ <- lp__ + normal_log(plugh, 0, 1);
+ increment_log_prob(normal_log(plugh, 0, 1));
// print statement and string literal
print("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_~@#$%^&*`'-+={}[].,;: ");