diff --git a/doc/dynare.texi b/doc/dynare.texi index 57359faaac0eabd4d955cd68752f715d86880644..b1d24cccc6e726b34023e5061b3c1193f8f88df5 100644 --- a/doc/dynare.texi +++ b/doc/dynare.texi @@ -4689,8 +4689,8 @@ line. The main directives are: @item @code{@@#define}, for defining a macro-processor variable, @item -@code{@@#if}, @code{@@#then}, @code{@@#else}, @code{@@#endif} for -conditional statements, +@code{@@#if}, @code{@@#else}, @code{@@#endif} for conditional +statements, @item @code{@@#for}, @code{@@#endfor} for constructing loops. @end itemize diff --git a/doc/macroprocessor/macroprocessor.tex b/doc/macroprocessor/macroprocessor.tex index d77336b631ff1b39c612f94a181b3cd36f6e39e9..152a8adad21d3b6eb76a10dc241aea1380c4399e 100644 --- a/doc/macroprocessor/macroprocessor.tex +++ b/doc/macroprocessor/macroprocessor.tex @@ -65,7 +65,7 @@ \begin{itemize} \item file inclusion \item loops (\textit{for} structure) - \item conditional inclusion (\textit{if/then/else} structures) + \item conditional inclusion (\textit{if/else} structures) \item expression substitution \end{itemize} \item Implemented in Dynare starting from version 4.0 @@ -95,7 +95,7 @@ \begin{itemize} \item file inclusion: \verb+@#include+ \item definition a variable of the macro-processor: \verb+@#define+ - \item conditional statements (\verb+@#if/@#then/@#else/@#endif+) + \item conditional statements (\verb+@#if/@#else/@#endif+) \item loop statements (\verb+@#for/@#endfor+) \end{itemize} \item In most cases, directives occupy exactly one line of text. In case of need, two anti-slashes (\verb+\\+) at the end of the line indicates that the directive is continued on the next line.