Issue 90 in stan: Message "INVALID COMMAND-LINE ARGUMENT" printed for parse errors

3 views
Skip to first unread message

st...@googlecode.com

unread,
Feb 5, 2013, 7:39:47 AM2/5/13
to stan...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Stan

New issue 90 by jeffrey....@gmail.com: Message "INVALID COMMAND-LINE
ARGUMENT" printed for parse errors
http://code.google.com/p/stan/issues/detail?id=90

Using commit e1a9380a9524fb6a8a12a85250615acc132624b3.

The command line stanc returns the error for invalid-command line argument,
even when it is a parser failure. The attached model produces the following
output.

$ bin/stanc foo.stan
Model name=foo_model
Input file=foo.stan
Output file=foo_model.cpp

INVALID COMMAND-LINE ARGUMENT
EXPECTATION FAILURE LOCATION: file=foo.stan; line=2, column=10

vector y;
^-- here


DIAGNOSTIC(S) FROM PARSER:
Parser expecting: "["

echo $?
253



st...@googlecode.com

unread,
Feb 8, 2013, 1:12:21 PM2/8/13
to stan...@googlegroups.com
Updates:
Status: Done

Comment #1 on issue 90 by bea...@alum.mit.edu: Message "INVALID
COMMAND-LINE ARGUMENT" printed for parse errors
http://code.google.com/p/stan/issues/detail?id=90

migrated to github issues: https://github.com/stan-dev/stan/issues/7

Reply all
Reply to author
Forward
0 new messages