Greetings,
I have encountered two problems with the preprocessor.
1) I cannot comment @# for loops. Doing so breaks Dynare because the preprocessor tries to substitute the variables in the commented lines but does not define the variable as a macro variables.
2) I cannot use what looks like macro language syntax in Matlab commands inside a Dynare mod file. Dynare will complain even if the Matlab command is commented. The reason Dynare breaks is the same as in the first problem.
I attached a very simple example demonstrating both problems. I ran into these problems because it would be nice to be able to comment macro preprocessor lines during model development. It would also be nice to be able to 'disp' the values of macro variables so that they are reported in log files.
I cannot figure out how to submit bugs other than through this board. If there would be a better place to submit problems in the future please let me know.
Best,
Ben