Skip to content

Commit

Permalink
Python with USE_NRNFILEWRAP (set by --with-multisend) executing
Browse files Browse the repository at this point in the history
h('statement defineing a template')
can cause memory error.
  • Loading branch information
nrnhines committed Nov 8, 2017
1 parent 65f9c33 commit f6c657c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oc/parse.y
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ stmtlist: /* nothing */
{
prog_parse_recover = progp;
prog_error = $$;
if (nrn_fw_eq(fin, stdin) && !pipeflag)
if (fin && nrn_fw_eq(fin, stdin) && !pipeflag)
{ int i;
Printf(">");
for (i = 0; i < ntab; i++)
Expand Down

0 comments on commit f6c657c

Please sign in to comment.