diff options
| author | Jeffrey B. Arnold <jeffrey.arnold@gmail.com> | 2012-08-22 03:45:15 -0400 |
|---|---|---|
| committer | Jeffrey B. Arnold <jeffrey.arnold@gmail.com> | 2012-08-22 03:45:15 -0400 |
| commit | aa10b337c917219367b3b29f7dc4157e1f45b292 (patch) | |
| tree | b323f77ac29f6efac42a304c1454c541d5f26623 /tests/examplefiles/example.stan | |
| parent | af52e156fc2567f3da307ce1cbc3bb596a4a1625 (diff) | |
| download | pygments-aa10b337c917219367b3b29f7dc4157e1f45b292.tar.gz | |
StanLexer: accounted for new bound syntax
Diffstat (limited to 'tests/examplefiles/example.stan')
| -rw-r--r-- | tests/examplefiles/example.stan | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/examplefiles/example.stan b/tests/examplefiles/example.stan index 3d88bb5e..e86ae42f 100644 --- a/tests/examplefiles/example.stan +++ b/tests/examplefiles/example.stan @@ -19,9 +19,13 @@ data { corr_matrix[3] grault; cov_matrix[3] garply; + real<lower=-1,upper=1> foo1; + real<lower=0> foo2; + real<upper=0> foo3; + // bad names // includes . - real foo.; + // real foo.; // beings with number //real 0foo; // begins with _ @@ -71,8 +75,8 @@ model { } generated quantities { - real foo1; - foo1 <- foo + 1; + real bar1; + bar1 <- foo + 1; } ## Baddness |
