Syntax error, unexpected VAR

I am a new user in Dynare and generally using DSGE and i would like your help.

I am trying to simulate Gerali et al. (2010) model (ignoring the Baeysian estimation part) but it fails to run.

The message i get is ERROR: GNSS_2010_calib.mod: line 212, cols 1-3: syntax error, unexpected VAR.

Can you help?

Attached you may find the file.
GNSS_2010_calib.mod (14.1 KB)

1 Like

you have to put end; command at the end of each block you enter in your .mod file to close the block. i.e. there is not end; at the end of model or initval block in your mod file.

Thank you very much. After correcting the code it works.