preprocessor update
- macro processor: allow for the definition of a variable without a value - dragonfly: add new field to `options_.parallel_info` - fix lookbehind to handle `-` sign in substitution of dates in native statements - remove support for weekly dates - dragonfly: support ProgramConfig config file option - dragonfly: support ProgramPath config file option - add undocumented `gui` option to preprocessor - occbin: support occbin tags in equation tags, add occbin_likelihood and occbin_smoother as options to estimation - make loop variables const - Combine `DynareMain.cc` and `DynareMain2.cc`time-shift
parent
bb64a77179
commit
70d7a48d44
|
@ -10995,7 +10995,8 @@ Macro directives
|
|||
|
||||
|
||||
|
||||
.. macrodir:: @#define MACRO_VARIABLE = MACRO_EXPRESSION
|
||||
.. macrodir:: @#define MACRO_VARIABLE
|
||||
@#define MACRO_VARIABLE = MACRO_EXPRESSION
|
||||
@#define MACRO_FUNCTION = MACRO_EXPRESSION
|
||||
|
||||
|br| Defines a macro-variable or macro function.
|
||||
|
@ -11004,6 +11005,7 @@ Macro directives
|
|||
|
||||
::
|
||||
|
||||
@#define var // Equals 1
|
||||
@#define x = 5 // Real
|
||||
@#define y = "US" // String
|
||||
@#define v = [ 1, 2, 4 ] // Real array
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 1dbbd87d3d4a44b2762e4779ccb4173b6ae9088f
|
||||
Subproject commit abedb47573317dd16089b72cb95d0abca3893f6a
|
Loading…
Reference in New Issue