The following MOD file: ``` $ cat invalid_name.mod NEURON { SUFFIX invalid_name } INITIAL { LOCAL _kf } ``` fails as follows: ``` [NMODL] [info] :: Processing invalid_name.mod terminate called after throwing an instance of 'std::runtime_error' what(): NMODL Parser Error : syntax error, unexpected ., expecting NAME [Location : 6.11] LOCAL _kf ----------^ [1] 31242 IOT instruction (core dumped) nmodl invalid_name.mod ``` I'd like to highlight that it blames a `.` when the offending character is a `_`. Note that this is the better variation of the error, for intermediate transformations the error might be: ``` terminate called after throwing an instance of 'std::runtime_error' what(): NMODL Parser Error : syntax error, unexpected . [Location : 1.29] ----------------------------^ ```
The following MOD file:
fails as follows:
I'd like to highlight that it blames a
.when the offending character is a_.Note that this is the better variation of the error, for intermediate transformations the error might be: