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

Parser errors for new rest symbol #1091

Open
nkleemann opened this issue Jul 1, 2024 · 1 comment
Open

Parser errors for new rest symbol #1091

nkleemann opened this issue Jul 1, 2024 · 1 comment

Comments

@nkleemann
Copy link

As a german keyboard layout user, thank you very much for: #1087

After experimenting with this I found patterns that trips up the parser:

  • "[--"
  • "<---"
  • "- 2" (as used in $ slow "- 2", $ slow "~ 2" is working fine)

example:

d1
    $ n "[-- 0 5]"
    # s "cpu"

Failed to Stream.streamReplace: Syntax error in sequence:
"[-- 0 5]"
^
unexpected end of input
expecting sequence, ",", "|" or "]"
Return to previous pattern.

@yaxu
Copy link
Member

yaxu commented Jul 2, 2024

Ah thanks for this, the patch was surprisingly simple, I guess too simple! I'll add some breaking tests to mark this out as a release blocking bug

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

No branches or pull requests

2 participants