{"action":"closed","issue":{"url":"https://api.github.com/repos/stan-dev/stan/issues/1244","labels_url":"https://api.github.com/repos/stan-dev/stan/issues/1244/labels{/name}","comments_url":"https://api.github.com/repos/stan-dev/stan/issues/1244/comments","events_url":"https://api.github.com/repos/stan-dev/stan/issues/1244/events","html_url":"https://github.com/stan-dev/stan/issues/1244","id":55657747,"number":1244,"title":"include expected string errors in parser","user":{"login":"bob-carpenter","id":3383807,"avatar_url":"https://avatars.githubusercontent.com/u/3383807?v=3","gravatar_id":"","url":"https://api.github.com/users/bob-carpenter","html_url":"https://github.com/bob-carpenter","followers_url":"https://api.github.com/users/bob-carpenter/followers","following_url":"https://api.github.com/users/bob-carpenter/following{/other_user}","gists_url":"https://api.github.com/users/bob-carpenter/gists{/gist_id}","starred_url":"https://api.github.com/users/bob-carpenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bob-carpenter/subscriptions","organizations_url":"https://api.github.com/users/bob-carpenter/orgs","repos_url":"https://api.github.com/users/bob-carpenter/repos","events_url":"https://api.github.com/users/bob-carpenter/events{/privacy}","received_events_url":"https://api.github.com/users/bob-carpenter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/stan-dev/stan/labels/Feature","name":"Feature","color":"84b6eb"},{"url":"https://api.github.com/repos/stan-dev/stan/labels/language","name":"language","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":{"login":"bob-carpenter","id":3383807,"avatar_url":"https://avatars.githubusercontent.com/u/3383807?v=3","gravatar_id":"","url":"https://api.github.com/users/bob-carpenter","html_url":"https://github.com/bob-carpenter","followers_url":"https://api.github.com/users/bob-carpenter/followers","following_url":"https://api.github.com/users/bob-carpenter/following{/other_user}","gists_url":"https://api.github.com/users/bob-carpenter/gists{/gist_id}","starred_url":"https://api.github.com/users/bob-carpenter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bob-carpenter/subscriptions","organizations_url":"https://api.github.com/users/bob-carpenter/orgs","repos_url":"https://api.github.com/users/bob-carpenter/repos","events_url":"https://api.github.com/users/bob-carpenter/events{/privacy}","received_events_url":"https://api.github.com/users/bob-carpenter/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/stan-dev/stan/milestones/13","html_url":"https://github.com/stan-dev/stan/milestones/v2.6.0++","labels_url":"https://api.github.com/repos/stan-dev/stan/milestones/13/labels","id":909320,"number":13,"title":"v2.6.0++","description":"Next version after v2.6.0","creator":{"login":"syclik","id":425751,"avatar_url":"https://avatars.githubusercontent.com/u/425751?v=3","gravatar_id":"","url":"https://api.github.com/users/syclik","html_url":"https://github.com/syclik","followers_url":"https://api.github.com/users/syclik/followers","following_url":"https://api.github.com/users/syclik/following{/other_user}","gists_url":"https://api.github.com/users/syclik/gists{/gist_id}","starred_url":"https://api.github.com/users/syclik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syclik/subscriptions","organizations_url":"https://api.github.com/users/syclik/orgs","repos_url":"https://api.github.com/users/syclik/repos","events_url":"https://api.github.com/users/syclik/events{/privacy}","received_events_url":"https://api.github.com/users/syclik/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":28,"state":"open","created_at":"2014-12-18T20:05:33Z","updated_at":"2015-02-28T05:53:02Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-01-27T18:45:55Z","updated_at":"2015-02-28T05:53:02Z","closed_at":"2015-02-28T05:53:02Z","body":"Make sure that there is always an error message by including the expectation errors.  These will probably have to be customized.  \r\n\r\nExample program with error message problem:\r\n\r\n```\r\ndata {\r\n  vector x[3];\r\n}\r\nparameters {\r\n  vector[3] y;\r\n}\r\nmodel {\r\n  y ~ normal(0,1);\r\n}\r\n```\r\n\r\nThe current (before 2.6) dev branch produces this from CmdStan:\r\n\r\n```\r\nSYNTAX ERROR, MESSAGE(S) FROM PARSER:\r\n\r\nERROR at line 2\r\n  1:    data {\r\n  2:      vector x[3];\r\n                 ^\r\n  3:    }\r\n```\r\n\r\nIt should indicate that a `[` was expected by the parser."}}