How can I use named constants in ACSL specifications? These constants are either macros ( #define MY_CONST ...) or constant declarations ( const int MY_CONST ...). The former does not work, since macros are not extended by the preprocessor (ACSL specifications are C comments), the latter is not because constants are treated as variables, so some evidence fails. The specification works fine if I replace named constants with actual numbers.
Does anyone have a good idea for handling named constants? thanks in advance
source
share