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

If predicates have dash in names (e.g. (at-work box1 loc1)) tokenizer of the plansys2_terminal is buggy #259

Open
roveri-marco opened this issue Jan 26, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@roveri-marco
Copy link
Collaborator

If predicates have dash in names (e.g. (at-work box1 loc1)) tokenizer of the plansys2_terminal is buggy, and it breaks at
"(at-", "work", "box1", "loc1))" and when reconstructing the string for parsing it build it as (at- work box1 loc1)) adding spaces right after the -, thus creating a wrong token!
@roveri-marco to add an example and investigate the issue (this is happening while parsing the goal with set goal (and ..)).

Another issue is that the (not or (or in the goal specified in the terminal are wrongly parsed (E.g. it seems the not is lost!) To be further investigated.

@fmrico
Copy link
Contributor

fmrico commented Feb 9, 2023

Good catch!!

@fmrico fmrico added the bug Something isn't working label Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants