Error in dynare++

hollo,everyone
I have some problems in my code.
when I am doing variance when the decomposition of the operation code appears the following error:
Caught Dynare exception:Parse error at rcr2.mod,line44,column1:sayntax error,unexpected CHARACTER,expecting END or NAME.

best,
max

Are you sure you are using Dynare++ and not Dynare code/syntax?

thank you for your replying.
I am sure.If the % can’t appear in the program,after i delete it,the result shows correct.Also,when i set log(1) as my initval,the program shows unknow name.but when i change it into zero,the program can execute.

Comments in Dynare++ are done with // not a %. The latter is Matlab/Dynare syntax. So does your program run now?