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

Fix PROCEDUREs using TABLEs containing the same var#1280

Merged
JCGoran merged 5 commits into
masterfrom
jelic/fix_procedure_multiple_vars
May 29, 2024
Merged

Fix PROCEDUREs using TABLEs containing the same var#1280
JCGoran merged 5 commits into
masterfrom
jelic/fix_procedure_multiple_vars

Conversation

@JCGoran

@JCGoran JCGoran commented May 29, 2024

Copy link
Copy Markdown
Contributor

Also adds a test to it.

Context

In #1247 (comment) we found out that the same variable cannot be used in multiple TABLE statements using NOCMODL, so this PR adds a run-time check that prohibits this in NMODL as well.

@JCGoran JCGoran marked this pull request as ready for review May 29, 2024 07:18
@JCGoran JCGoran mentioned this pull request May 29, 2024
bbpadministrator pushed a commit to BlueBrain/nmodl-references that referenced this pull request May 29, 2024
@JCGoran JCGoran requested a review from 1uc May 29, 2024 07:30
@codecov

codecov Bot commented May 29, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.24%. Comparing base (a61bebf) to head (c5d24ce).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1280      +/-   ##
==========================================
+ Coverage   86.22%   86.24%   +0.01%     
==========================================
  Files         178      178              
  Lines       13281    13299      +18     
==========================================
+ Hits        11452    11470      +18     
  Misses       1829     1829              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bbpbuildbot

This comment has been minimized.

Comment thread test/unit/visitor/semantic_analysis.cpp
Comment thread src/visitors/semantic_analysis_visitor.cpp Outdated
Goran Jelic-Cizmek added 2 commits May 29, 2024 10:05
bbpadministrator pushed a commit to BlueBrain/nmodl-references that referenced this pull request May 29, 2024
@bbpbuildbot

Copy link
Copy Markdown
Collaborator

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

Status and direct links:

@JCGoran JCGoran merged commit bd47049 into master May 29, 2024
@JCGoran JCGoran deleted the jelic/fix_procedure_multiple_vars branch May 29, 2024 08:55
JCGoran added a commit to neuronsimulator/nrn that referenced this pull request Mar 12, 2025
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.

3 participants