syntax error, unexpected $end dynare

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

syntax error, unexpected $end dynare

Postby u4185272 » Thu May 31, 2012 6:31 am

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...
u4185272
 
Posts: 1
Joined: Thu May 31, 2012 6:27 am

Re: syntax error, unexpected $end dynare

Postby jpfeifer » Tue Jun 05, 2012 7:06 am

Please post the mod-file. There may be an
Code: Select all
end;
missing somewhere before.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: syntax error, unexpected $end dynare

Postby theconometrician » Sun Jun 08, 2014 8:50 am

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
Last edited by theconometrician on Mon Jun 09, 2014 4:32 am, edited 1 time in total.
theconometrician
 
Posts: 1
Joined: Sun Jun 08, 2014 8:36 am

Re: syntax error, unexpected $end dynare

Postby jpfeifer » Sun Jun 08, 2014 8:53 am

Your problem is the
Code: Select all
/*

in line 35. It must be either times or divided.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 5 guests