Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parser logic #95

Merged
merged 6 commits into from
Jun 25, 2021
Merged

Conversation

sanjayankur31
Copy link
Contributor

No description provided.

When two tags are closed successively, for example:
`</OutputFile></Simulation>`, the pointer `iwk` should be moved forward
only by `tg.length() + 1` so that it arrives on the next `<`:

```

IWK
  |
</OutputFile></Simulation>

           IWK
             |
</OutputFile></Simulation>
```

If it is moved by `tg.length() + 2`, it misses the `<` and so does not
recognise the next tag at all.

Fixes NeuroML/jNeuroML#2
Fixes NeuroML/pyNeuroML#100
Fixes LEMS#40
Copy link
Member

@pgleeson pgleeson left a comment

Choose a reason for hiding this comment

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

Looks good, will test locally...

@pgleeson pgleeson merged commit 74f5e8a into LEMS:development Jun 25, 2021
@sanjayankur31 sanjayankur31 deleted the fix/pyneuroml-100 branch July 8, 2021 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants