Skip to content
Snippets Groups Projects
Commit 74616108 authored by Nora Abi Akar's avatar Nora Abi Akar Committed by Sam Yates
Browse files

Add CONSTANT block support for modcc (#825)

Addresses #824.

* Add modcc support for `CONSTANT` blocks in NMODL, subject to the following constraints:
    - Any identifier declared in the `CONSTANT` block may only be used after that declaration (including within the `CONSTANT` block itself).
    - Units in the `CONSTANT` block are parsed but not processed.
    - Values assigned to identifiers inside the `CONSTANT` block may only be signed numeric literals, or an already declared constant, possibly preceded by unary minus.
parent fd4f4def
No related branches found
No related tags found
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment