Page 1 of 1

syntax error, expecting EQUAL

PostPosted: Tue Apr 19, 2016 6:35 am
by BensonCan
project 2.mod
(1.26 KiB) Downloaded 57 times

Hi,guys
i am a new comer in dynare, and i am doing my project. But i cannot run the dynare code.
Nothing in line 32seems to be wrong, but dynare reports "syntax error, expecting EQUAL.
Like the following:
Starting Dynare (version 4.4.3).
Starting preprocessing of the model file ...
ERROR: final2.mod: line 32, col 157: syntax error, unexpected EQUAL

Can u help me figure it out? Thanks a lot!

Re: syntax error, expecting EQUAL

PostPosted: Tue Apr 19, 2016 6:48 am
by jpfeifer
The first bracket in that line 32 never closes.

Re: syntax error, expecting EQUAL

PostPosted: Tue Apr 19, 2016 3:50 pm
by BensonCan
jpfeifer wrote:The first bracket in that line 32 never closes.

hi,actually, i do not understand ur reply, can u tell me what should i do?
Thank u very much.

Re: syntax error, expecting EQUAL

PostPosted: Tue Apr 19, 2016 6:19 pm
by jpfeifer
Go to line 32 in that file. There is an equation that start with a bracket
Code: Select all
(

but there is no corresponding closing bracket
Code: Select all
)

Instead, there is an equal sign that occurs before the bracket has been closed.