summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.stan
diff options
context:
space:
mode:
authorJeffrey B. Arnold <jeffrey.arnold@gmail.com>2012-09-23 17:11:18 -0400
committerJeffrey B. Arnold <jeffrey.arnold@gmail.com>2012-09-23 17:11:18 -0400
commitb97fa6a3ecee3ff9dcf7b768cd7985d79eed4dce (patch)
tree8a182ee3bc681fec014ec4f3c3a7ded1bbfc995e /tests/examplefiles/example.stan
parent520215091a7b8e4dad1da581b76d10e1d8faf67c (diff)
downloadpygments-b97fa6a3ecee3ff9dcf7b768cd7985d79eed4dce.tar.gz
update StanLexer for changes in Stan 1.0.2
Diffstat (limited to 'tests/examplefiles/example.stan')
-rw-r--r--tests/examplefiles/example.stan6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/examplefiles/example.stan b/tests/examplefiles/example.stan
index e86ae42f..5723403c 100644
--- a/tests/examplefiles/example.stan
+++ b/tests/examplefiles/example.stan
@@ -16,6 +16,7 @@ data {
matrix[3,3] qux;
simplex[3] quux;
ordered[3] corge;
+ positive_ordered[3] wibble;
corr_matrix[3] grault;
cov_matrix[3] garply;
@@ -73,6 +74,11 @@ model {
// normal_log as a function
lp__ <- lp__ + normal_log(plugh, 0, 1);
+ // print statement and string literal
+ print("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_~@#$%^&*`'-+={}[].,;: ");
+ print("Hello, world!");
+ print("");
+
}
generated quantities {
real bar1;