#2425: param.ccl code creators creates incorrect C code if parameter description is missing
| Reporter: | Roland Haas |
| Status: | new |
| Milestone: | |
| Version: | |
| Type: | bug |
| Priority: | major |
| Component: | Cactus |
Comment (by Roland Haas):
Doesn’t that make the description optional by defaulting to a an empty string if no description is given?
The documentation, which defines what is an acceptable param.ccl file, found for example here http://einsteintoolkit.org/usersguide/UsersGuide.html#x1-186000D2.3.2 has
[EXTENDS|USES] <parameter type> <parameter name>[[<len>]] "<parameter description>"
[AS <alias>] [STEERABLE=<NEVER|ALWAYS|RECOVER>]
[ACCUMULATOR=<expression>] [ACCUMULATOR-BASE=<parameter name>]
{
<parameter values>
} <default value>
which has the <parameter description> as a requirement element. So based on that, not having a description should trigger an CST time error reporting that a description must be provided for this parameter.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2425/paramccl-code-creators-creates-incorrect-c