Page 1 of 1

syntax error, unexpected $end dynare

PostPosted: Thu May 31, 2012 6:31 am
by u4185272
Can someone please help me to understand what ''syntax error, unexpected $end dynare'' means?
It always mentions the problem in the line after 'stoch_simul;' command although there is no such line in my code...

Re: syntax error, unexpected $end dynare

PostPosted: Tue Jun 05, 2012 7:06 am
by jpfeifer
Please post the mod-file. There may be an
Code: Select all
end;
missing somewhere before.

Re: syntax error, unexpected $end dynare

PostPosted: Sun Jun 08, 2014 8:50 am
by theconometrician
Thanks. Its solved.

After a long search trying the error debugging on my attached code, I am not sure why the subject error appears at all its versions of the .mod file.
The file is attached and it would be acknowledged if someone could help me trace the issue to its bottom to get the .mod file working.
Best Regards

Re: syntax error, unexpected $end dynare

PostPosted: Sun Jun 08, 2014 8:53 am
by jpfeifer
Your problem is the
Code: Select all
/*

in line 35. It must be either times or divided.