Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Semantic analysis check for USEION variables in CONSTANT block#908

Merged
pramodk merged 3 commits into
masterfrom
pramodk/ion-var-as-constant
Sep 9, 2022
Merged

Semantic analysis check for USEION variables in CONSTANT block#908
pramodk merged 3 commits into
masterfrom
pramodk/ion-var-as-constant

Conversation

@pramodk

@pramodk pramodk commented Aug 17, 2022

Copy link
Copy Markdown
Contributor

@pramodk pramodk requested a review from alkino August 17, 2022 22:37
@bbpbuildbot

Copy link
Copy Markdown
Collaborator

Logfiles from GitLab pipeline #69939 (:white_check_mark:) have been uploaded here!

Status and direct links:

@ohm314 ohm314 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really minor nitpicking otherwise looks good

Comment thread src/visitors/semantic_analysis_visitor.cpp Outdated
@bbpbuildbot

Copy link
Copy Markdown
Collaborator

Logfiles from GitLab pipeline #69996 (:white_check_mark:) have been uploaded here!

Status and direct links:

@iomaganaris iomaganaris left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Just a minor nitpick

Comment thread test/unit/visitor/semantic_analysis.cpp Outdated
* Similar to neuronsimulator/nrn#1955
* Add semantic analysis check to avoid declaring ion variables
  in CONSTANT {} block
* Addresses first point in #888
  MOD file is glia__dbbs_mod_collection__cdp5__CAM_GoC.mod.
* Updated test
@pramodk pramodk force-pushed the pramodk/ion-var-as-constant branch 2 times, most recently from 2d6ba1a to 5a546de Compare September 9, 2022 07:53
Co-authored-by: Omar Awile <omar.awile@epfl.ch>
@pramodk pramodk force-pushed the pramodk/ion-var-as-constant branch from 5a546de to fee9a3b Compare September 9, 2022 08:04
@bbpbuildbot

Copy link
Copy Markdown
Collaborator

Logfiles from GitLab pipeline #73670 (:white_check_mark:) have been uploaded here!

Status and direct links:

@bbpbuildbot

Copy link
Copy Markdown
Collaborator

Logfiles from GitLab pipeline #73669 (:white_check_mark:) have been uploaded here!

Status and direct links:

Comment thread src/visitors/semantic_analysis_visitor.cpp Outdated
@bbpbuildbot

Copy link
Copy Markdown
Collaborator

Logfiles from GitLab pipeline #73702 (:white_check_mark:) have been uploaded here!

Status and direct links:

@pramodk pramodk merged commit af7c772 into master Sep 9, 2022
@pramodk pramodk deleted the pramodk/ion-var-as-constant branch September 9, 2022 11:32
JCGoran pushed a commit to neuronsimulator/nrn that referenced this pull request Mar 12, 2025
…rain/nmodl#908)

* Similar to #1955,
  add semantic analysis check to avoid declaring ion variables
  in CONSTANT {} block
* Addresses first point in BlueBrain/nmodl#888
  MOD file is glia__dbbs_mod_collection__cdp5__CAM_GoC.mod.
* Updated test

NMODL Repo SHA: BlueBrain/nmodl@af7c772
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants